Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cli-cursor

БесплатноБез исполняемых скриптовНе проверен

Cursor CLI executor for cursor-agent coding, plan/ask read-only modes and worktree-isolated cloud worker dispatch.

MichelKerkmeesterот MichelKerkmeester★ 40 звёзд на GitHub

Об этом скилле

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 ROUTER.md), 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).

When NOT to Use

  • You ARE Cursor already. If your runtime is cursor-agent (detection signal: CURSOR_AGENT=1 set, CURSOR_CONVERSATION_ID set, cursor-agent in process ancestry, or an active-session probe under ~/.cursor/), this skill refuses to load. Self-invocation creates a circular dispatch loop and burns tokens for no value.
  • Simple, quick tasks where CLI overhead is not worth it, or tasks needing an immediate response (auth/network round-trips may delay).
  • Context already loaded and understood by the current agent.
  • Interactive refinement requiring the full-screen TUI (use cursor-agent directly instead).
  • Tasks where Cursor CLI is not installed, or the account is not authenticated (cursor-agent about reports "Not logged in").

2. SMART ROUTING

The hub's cli-cursor mode signal routes a Cursor CLI dispatch here when a request names cursor-agent, Composer, a Cursor plan or ask exploration, or Cursor's worktree and cloud-worker surfaces.

references/cli-reference.md and assets/prompt-quality-card.md load on every invocation; the hub ROUTER.md names the mode's first leaves.

Read ROUTER.md before selecting skill-local resources; open only the matched files.


3. HOW IT WORKS

Prerequisites

  • Install with curl https://cursor.com/install -fsS | bash (Windows: irm 'https://cursor.com/install?win32=true' | iex).
  • Authenticate cli-cursor through Cursor account OAuth. Run cursor-agent login and complete the browser flow.
  • NO_OPEN_BROWSER disables browser opening for headless hosts.
  • Use CURSOR_API_KEY or --api-key for headless/CI auth.
  • Full install, auth, flag, hook, and unique-surface tables are in the ALWAYS-loaded cli-reference.md. This section keeps only the routing decisions and dispatch-critical gotchas.

Execution Ownership

This packet owns:

  • user-facing routing,
  • the command -v cursor-agent availability probe,
  • prompt construction, and
  • the self-invocation guard.

Research and review lineages delegate process construction and execution to the already-shipped deep-loop runtime at ../../system-deep-loop/runtime/scripts/fanout-run.cjs, using executor kind cli-cursor. That runner accepts only the research and review loop types. For a single build or doc dispatch, use the child dispatch envelope in providers-and-models.md §5.

The runtime is the single Cursor execution adapter. Do not add a packet-local wrapper, command builder, or spawn path. Direct cursor-agent -p snippets below are operator reference and manual-testing examples; research and review lineages use the shared runtime, and a one-shot dispatch uses the child envelope.

Provider Auth Pre-Flight

MANDATORY before any first dispatch in a session. cursor-agent -p without a valid session exits 0 even on an auth failure — the exit code is never a reliable availability signal. Run this check once per session, cache the result, and re-run it only if a dispatch's output text (not its exit code) show

Полный SKILL.md на GitHub

Установить cli-cursor в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Glob
Grep

Вложенные файлы

README.mdROUTER.mdassets/prompt-quality-card.mdassets/prompt-templates.mdbenchmark/README.mdbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/README.mdbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/failed-runs.mdbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/findings-and-recommendations.mdbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/results.csvbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/skill-benchmark-report.jsonbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/skill-benchmark-report.mdbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/source.mdbenchmark/reports/2026-08-08--manual-testing-playbook--agents-skills-rules/README.mdbenchmark/reports/2026-08-08--manual-testing-playbook--agents-skills-rules/failed-runs.mdbenchmark/reports/2026-08-08--manual-testing-playbook--agents-skills-rules/findings-and-recommendations.mdbenchmark/reports/2026-08-08--manual-testing-playbook--agents-skills-rules/results.csvbenchmark/reports/2026-08-08--manual-testing-playbook--agents-skills-rules/skill-benchmark-report.jsonbenchmark/reports/2026-08-08--manual-testing-playbook--agents-skills-rules/skill-benchmark-report.mdbenchmark/reports/2026-08-08--manual-testing-playbook--agents-skills-rules/source.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-10/README.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-10/failed-runs.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-10/findings-and-recommendations.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-10/results.csvbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-10/skill-benchmark-report.jsonbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-10/skill-benchmark-report.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-10/source.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-11/README.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-11/failed-runs.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-11/findings-and-recommendations.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-11/results.csvbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-11/skill-benchmark-report.jsonbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-11/skill-benchmark-report.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-11/source.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-12/README.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-12/failed-runs.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-12/findings-and-recommendations.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-12/results.csvbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-12/skill-benchmark-report.jsonbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-12/skill-benchmark-report.mdbenchmark/reports/2026-08-08--manual-testing-playbook--cursor-12/source.md

FAQ

Что делает скилл cli-cursor?

Cursor CLI executor for cursor-agent coding, plan/ask read-only modes and worktree-isolated cloud worker dispatch.

Как установить скилл cli-cursor?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cli-cursor запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cli-cursor с