Cline
| Target id | Package | Ship with |
|---|---|---|
cline |
@oiap/exporter-cline |
install-agent-plugin |
npx oiap build oiap.plugin.ts --target cline --out dist/clinenpx install-agent-plugin <owner>/<repo> --plugin <plugin-id> --agent clineCline target exporter for Open Interoperable Agent Plugins.
This package renders OIAP plugin definitions into project-local Cline assets:
- Rules in
.clinerules/with Cline conditionalpathsfrontmatter. - Skills in
.cline/skills/<name>/SKILL.md. - Commands as user-invocable Cline skills.
- Agents in
.cline/agents/<name>.yamlfrontmatter files. - Hook files in
.cline/hooks/*.cjsbacked by the generated OIAP runtime. - MCP servers in
.cline/mcp.json. - OIAP capability reports, source maps, and policy evidence under
.oiap/.
Use it directly from TypeScript:
import { exportCline } from "@oiap/exporter-cline";
const bundle = exportCline(pluginDefinition);Or through the CLI:
bun run oiap build ./oiap.plugin.ts --target cline --out ./build/clineCline command and policy surfaces do not map one-to-one with OIAP. Commands are lowered as skills so users can invoke them with slash skill commands, and policy rules are emitted as reviewable evidence instead of enforced host settings. Generated hook files also preserve unsupported hook result decisions as advisory context where Cline file hooks do not expose an equivalent control.
Install paths
Section titled “Install paths”Where install-agent-plugin and installPlugin() write the bundle, from the target profile. --out <dir> overrides them.
| Scope | Path |
|---|---|
| Local (default) | ./.cline/plugins/<plugin-id> |
Global (--global) |
~/.cline/plugins/<plugin-id> |
Support matrix
Section titled “Support matrix”From the platform support matrix (see its legend).
| Profile | Package | Rules | Skills | Commands | Hooks | Agents | MCP | Runtime | Policy |
|---|---|---|---|---|---|---|---|---|---|
| core | P | Y | P | F | Y | P | Y | R | P |
Platform notes
Section titled “Platform notes”Project config target. Cline documents .clinerules/ project rules,
.cline/skills Agent Skills, .cline/hooks file hooks, .cline/mcp.json,
project agent config files, and SDK plugin packages for Cline SDK, CLI, and
Kanban workflows. OIAP exports project-local assets for those documented
surfaces and records degradations for command-as-skill lowering, policy evidence,
agent tool validation, and OIAP hook result controls that Cline file hooks cannot
apply directly.