{
  "markdown": "# Cline SDK Skill\n\nCline SDK reference docs for AI coding assistants. Covers the direct Agent runtime, ClineCore sessions, custom tools, plugins, events, LLM providers, scheduling, multi-agent teams, and production deployment.\n\nFor full documentation, visit [docs.cline.bot/sdk](https://docs.cline.bot/sdk).\n\n## Install\n\nAdd the skill to your AI coding assistant for richer context:\n\n```bash\nnpx skills add cline/sdk-skill\n```\n\nThis works with Cline CLI, Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Goose, OpenCode, and Windsurf.\n\n<details>\n<summary>Manual install with git</summary>\n\nIf you prefer not to use `npx skills`, you can clone the repo and symlink the skill directory into your agent's skill folder.\n\nFor Claude Code:\n\n```bash\ngit clone https://github.com/cline/sdk-skill ~/sdk-skill\nmkdir -p ~/.claude/skills\nln -s ~/sdk-skill/skill/cline-sdk ~/.claude/skills/cline-sdk\n```\n\nFor Codex CLI:\n\n```bash\ngit clone https://github.com/cline/sdk-skill ~/sdk-skill\nmkdir -p ~/.codex/skills\nln -s ~/sdk-skill/skill/cline-sdk ~/.codex/skills/cline-sdk\n```\n\nFor Amp:\n\n```bash\ngit clone https://github.com/cline/sdk-skill ~/sdk-skill\nmkdir -p ~/.config/amp/tools\nln -s ~/sdk-skill/skill/cline-sdk ~/.config/amp/tools/cline-sdk\n```\n\nFor Droid (Factory):\n\n```bash\ngit clone https://github.com/cline/sdk-skill ~/sdk-skill\nmkdir -p ~/.factory/skills\nln -s ~/sdk-skill/skill/cline-sdk ~/.factory/skills/cline-sdk\n```\n\nFor pi-coding-agent:\n\n```bash\ngit clone https://github.com/cline/sdk-skill ~/sdk-skill\nmkdir -p ~/.pi/agent/skills\nln -s ~/sdk-skill/skill/cline-sdk ~/.pi/agent/skills/cline-sdk\n```\n\nYou can also use project-level paths instead of user-level paths for per-project installation.\n\n</details>\n\n## Structure\n\n```\nskill/cline-sdk/\n+-- SKILL.md                  # Main manifest + decision trees\n+-- references/               # API and concept subdirectories\n    +-- agent/                # Agent runtime (4-file pattern)\n    +-- clinecore/            # ClineCore full runtime (4-file pattern)\n    +-- tools/                # Built-in and custom tools\n    +-- plugins/              # Extension system\n    +-- events/               # Streaming events\n    +-- providers/            # LLM provider configuration\n    +-- production/           # Deployment and security\n    +-- scheduling/           # Cron and automation\n    +-- multi-agent/          # Teams and sub-agents\n```\n\n### Decision Trees\n\nThe main `SKILL.md` contains decision trees for:\n- Choosing an API surface (Agent vs ClineCore)\n- Creating and configuring tools\n- Setting up plugins and hooks\n- Configuring LLM providers\n- Streaming events\n- Multi-agent coordination\n- Scheduling and automation\n- Production deployment\n- Troubleshooting\n\n## Topics Covered\n\nAPI Surfaces: Agent (lightweight in-memory loop), ClineCore (full runtime with persistence)\n\nTools: Custom tool creation with Zod/JSON Schema, built-in tools (`read_files`, `search_codebase`, `run_commands`, `fetch_web_content`, `apply_patch`, `editor`, `skills`, `ask_question`, `submit_and_exit`), tool policies\n\nPlugins: Extension system, hooks, MCP servers, bundled skills, lifecycle stages, distribution\n\nCross-cutting: Events, LLM providers, scheduling, multi-agent teams and configured agent profiles, production deployment\n\n## License\n\n[Apache 2.0 © 2026 Cline Bot Inc.](./LICENSE)\n",
  "bytes": 3326,
  "sha": "4fd6127d276181ab4ca9e4d4f14ae116774f7b2670e51825b73a7feb1d1513aa",
  "repo_slug": "cline/sdk-skill",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/skl_cline_sdk_skill_cline_sdk_76e5ef81/readme"
}