cursor-cli

Installation
SKILL.md

Cursor CLI (Headless)

Delegate work to a Cursor agent from the shell without the IDE chat. Use when the user wants another agent to call, ask, invoke, or run Cursor on a task.

Global script: ~/.agents/skills/cursor-cli/scripts/cursor-agent.mjs
Optional launcher: cursor-agent

Requires agent on PATH. Local dev: agent login once. CI/servers: CURSOR_API_KEY.

When to use

Situation Use this
User says "call cursor", "ask cursor", "invoke cursor", etc. cursor-agent "…"
Already inside Cursor IDE chat Task tool — not CLI
Long-lived typed service @cursor/sdk

Quick start

Installs
3
GitHub Stars
2
First Seen
Jun 21, 2026
cursor-cli — ferueda/agent-skills