Cursor Sdk

Guide users building apps, scripts, CI pipelines, or automations on top of the Cursor TypeScript SDK (`@cursor/sdk`). Use this skill whenever the user mentions integrating, installing, or writing code against the Cursor SDK; whenever they say `Agent.create`, `Agent.prompt`, `Agent.resume`, `agent.send`, `run.stream`, `CursorAgentError`, or `@cursor/sdk`; whenever they ask to run Cursor agents programmatically from a script, CI/CD pipeline, GitHub Action, backend service, or any other code that isn't the Cursor IDE itself; and whenever they want to pick between local and cloud runtime, configure MCP servers for an SDK agent, or handle streaming, cancellation, or errors from an SDK agent. Also trigger when a user is wiring Cursor into an automation, writing a bot that runs Cursor, or porting REST `/v1/agents` calls to the SDK. Scope boundary — this skill is ONLY for driving Cursor's own coding agent from code (`@cursor/sdk`). For building a user-facing AI agent application, use `build-agents` / `eve` instead; d

CatCorner22 Updated

File contents

CatCorner22/Cursor_Skills/tree/main/skills/cursor-sdk/cursor-sdk commit 713ad54291

Frequently asked questions

npx skillmds@latest add catcorner22/cursor-sdk