
Description
cline-sdk is an agent skill for building AI agents with the Cline SDK. It is a consolidated guide with decision trees that help the agent choose the right entry point and API surface, and it links to detailed references. js 22 or later, and the packages to import from. The skill explains that the @cline/sdk package re-exports the public surface, including ClineCore, Agent and createTool, and it says when to import from @cline/agents, @cline/llms or @cline/shared instead. It sets out how to define tools with createTool, using snake_case names, and how tools should return structured errors so an agent can recover. It also explains lifecycle options such as completesRun, which ends the agent loop, and the need to call dispose on a ClineCore session. subscribe and an agent_event payload. Plugins differ between the two as well. The skill is useful for developers who want an agent with custom tools, events and provider choice, and who want to avoid mixing the two APIs. The skill is published in the cline sdk-skill repository on GitHub, installs with the skills command, and its listing shows all three security audits passing.…
Highlights
- Guides building agents with the Cline SDK
- Direct Agent and ClineCore APIs explained
- Custom tools with createTool
- Plugin and event system guidance
- Decision trees and reference files
Ratings & Reviews
No ratings yet
Be the first to rate cline-sdk.
People also visit

cli-for-agents
Designs or reviews CLIs so coding agents can run them reliably: non-interactive
cline-sdk FAQ
What does the cline-sdk skill do?
It helps an agent write code that uses the Cline SDK to build AI agents, with tools, events, plugins and providers.
How do I install it?
Run npx skills add https://github.com/cline/sdk-skill --skill cline-sdk.
What does the SDK need?
Install @cline/sdk with npm, using Node.js 22 or later.
Can I mix the two APIs?
The skill warns against it. The direct Agent and ClineCore have different event systems and plugin shapes.
How are tools defined?
With createTool, using snake_case names, and returning structured errors where the agent can recover.
Is it safe to install?
Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Pass.
What are the best cline-sdk alternatives?
Popular alternatives to cline-sdk include cli-for-agents, agent-native-design and agent-sdk-dev. See all cline-sdk alternatives



















