cli-cursor

cli-cursor is a skill for Claude Code from MichelKerkmeester/skilled-agent-harness_spec-driven-loops. It costs 27 tokens per session (9,419 once invoked), scanned C, original, MIT.

A command-line controller for Cursor's coding agent, with options for coding work, read-only planning, Git worktrees, and cloud workers.

In plain words
What is it for?
It is for delegating implementations, getting a second code-review perspective, exploring a repository safely, and running Cursor-based coding tasks.
Why use it?
It lets another AI agent handle or independently review coding tasks while keeping the current agent in control. Git worktrees help isolate changes from the main working folder.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is printf '%s' "$JSON_PAYLOAD" | node .skilled/skills/system-spec-kit/runtime/cli/dist/continuity/generate-context.js --stdin [spec-folder].

Good fit It is for delegating implementations, getting a second code-review perspective, exploring a repository safely, and running Cursor-based coding tasks.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/MichelKerkmeester/skilled-agent-harness_spec-driven-loops
agentmods
npx agentmods add skills/michelkerkmeester/skilled-agent-harness_spec-driven-loops/cli-cursor

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli-cursor

README.md
[![agentmods](https://agentmods.dev/badge/skills/michelkerkmeester/skilled-agent-harness_spec-driven-loops/cli-cursor/github.svg)](https://agentmods.dev/skills/michelkerkmeester/skilled-agent-harness_spec-driven-loops/cli-cursor)
Your own site
<a href="https://agentmods.dev/skills/michelkerkmeester/skilled-agent-harness_spec-driven-loops/cli-cursor"><img src="https://agentmods.dev/badge/skills/michelkerkmeester/skilled-agent-harness_spec-driven-loops/cli-cursor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cli-cursor

Your own site · 80×15
<a href="https://agentmods.dev/skills/michelkerkmeester/skilled-agent-harness_spec-driven-loops/cli-cursor"><img src="https://agentmods.dev/badge/skills/michelkerkmeester/skilled-agent-harness_spec-driven-loops/cli-cursor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,419 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.09419
Opus 5.5 $0.00011 $0.03768
Sonnet 5.5 $0.00005 $0.01884
Haiku 4.5 $0.00003 $0.00942

Measured 8d ago against content hash c646fe7b9ec5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

cli-cursor scanned grade C with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

command -v cursor-agent || echo "Not installed. Run: curl https://cursor.com/install -fsS | bash"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

command -v cursor-agent || echo "Not installed. Run: curl https://cursor.com/install -fsS | bash"

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

ancestry = subprocess.check_output(['ps', '-o', 'command=', '-p', str(os.getppid())]).decode()
.hermes/skills/cli-cursor/SKILL.md · 416 lines

How it starts

The opening of the file, as written. The whole thing — 416 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Canonical source: .skilled/skills/cli-external-orchestration/cli-cursor/. This is a generated markdown-only copy so Hermes can load the skill without scanning the canonical directory. Read references/, assets/ and scripts/ from the canonical path above.

Cursor CLI Orchestrator - Cross-AI Task Delegation

CRITICAL — SELF-INVOCATION PROHIBITED

This skill dispatches to the Cursor CLI binary (cursor-agent). If the agent currently reading this skill is itself running inside cursor-agent (detection signals listed in §2), the skill MUST refuse to load and return the documented error message instead of generating any cursor-agent invocation.

A running CLI skill never dispatches itself. The cli-X skills are for cross-AI delegation only — never self-invocation.

Orchestrate Cursor's terminal coding agent (cursor-agent) for tasks that benefit from a second AI perspective, Cursor's native model (Composer), read-only plan/ask exploration, or its unique worktree/cloud-worker/plugin surfaces.

Core Principle: Use Cursor for what it does best. Delegate, validate, integrate. The calling AI stays the conductor.


1. WHEN TO USE

Activation Triggers

  • Cross-AI Validation — code review second perspective, bug detection, an independent implementation attempt.
  • Composer Dispatch — tasks that specifically want Cursor's own native model (composer-2.5/composer-2.5-fast), or the Grok (4.5/4.6/4.7) / GLM 5.2 tiers already on the enforced allowlist (see §3 Model Selection).
  • Read-Only Exploration — --mode plan (read-only planning) or --mode ask (read-only Q&A) when a task wants Cursor's analysis without any file writes.
  • Isolated Experimentation — Cursor's native git worktree isolation (-w/--worktree) for a change the operator wants tried in a disposable checkout, documented in references/cursor-tools.md as an opt-in escape hatch, not this packet's default dispatch shape.
  • Specialized Generation — explicit Cursor requests naming Grok (4.5, 4.6 or 4.7) or GLM 5.2 specifically (the only non-Composer models on the enforced allowlist).

Read the full file on GitHub · 416 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago Changed c646fe7b9ec5
  2. 12d ago Changed · -11 tokens per session b749a4983026
  3. 23d ago Changed · -9 lines fb3632c328c9
  4. 26d ago Changed · +1 lines 4c53194cc9d8
  5. 29d ago Changed 17e7658fd4da
  6. 1mo ago Changed 6510c6012ff9
  7. 1mo ago Changed · +7 lines 8172928e0b25
  8. 1mo ago Changed 93f106dbeb3f
  9. 1mo ago Changed · -8 lines 9c4090dfbc02
  10. 1mo ago First seen · 425 lines · 38 tokens per session scan C d3c325601170

Subscribe to this mod's changes

cli-cursor is a skill published in the GitHub repository MichelKerkmeester/skilled-agent-harness_spec-driven-loops (38 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 9,419 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 3 findings (downloads and executes remote code, makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.