Skip to content
Skills Library
AI & agents · Tool integration

cursor-agent

/cursor-agent

When the user wants the local cursor-agent CLI run, its installation or login changed, its connected tools changed, or a Cursor worker started.

Repository
skills ↗
Licence
MIT
Last repository change
10.11.2026

Assessment and security

85/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content20 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
7
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

When the user wants the local cursor-agent CLI run, its installation or login changed, its connected tools changed, or a Cursor worker started.

Original author description

When the user wants the local cursor-agent CLI run, its installation or login changed, its connected tools changed, or a Cursor worker started.

How it works

  1. Options and boundaries
  2. 1. Resolve
  3. 2. Run
  4. 3. Verify and report
Original SKILL.md headings · 60 lines, 442 words
SKILL.md preview
---
name: cursor-agent
description: >
  When the user wants the local cursor-agent CLI run, its installation or login changed, its connected tools changed, or a Cursor worker started.
---

# Cursor Agent

## Options and boundaries

Default: `cursor-agent --print --trust --yolo --workspace <abs-dir> "<prompt>"`,
mode/model omitted, text output, parent wait 15m. Calling this skill authorizes
that run: pass `--trust` and `--yolo` without asking. Print alone can write.
"Plan" / "read-only plan" adds `--plan` and omits `--yolo`. "Ask" / "Q&A" adds
`--mode ask` and omits `--yolo`. Both stay read-only, still pass `--trust`, and
wait until exit. "Use <model>" adds `--model`. "Interactive" / "TUI" omits
print, `--trust`, and `--yolo`; the user owns that dialog.
"Resume <id>" adds `--resume`; "continue" adds `--continue`; both wait until
exit and keep the same trust/yolo choice as the selected mode.
"Worktree [name]" adds `--worktree [name]`; record the printed path.
"JSON" / "stream-json" selects that print format. Ambiguity is `BLOCKED`.

Add sandbox disabled, approve-mcps, or a worker desktop/credential flag only
when the user names that control. Auto-review is explicit opt-in. Do not stop
to confirm trust or yolo, and do not add those extra flags after a failure.

## 1. Resolve

Fix workspace, prompt, mode, session/worktree, output, and wait.
Check binary and `cursor-agent status --format json` without exposing secrets.
Missing binary → follow `references/install.md`; missing auth → `BLOCKED`
unless login was requested.
Record `cmd | workspace | mode | session | worktree | wait | evidence | terminal`.
Done when target, binary, auth, and the trust/yolo choice are fixed.

## 2. Run

Build argv and quote the prompt literally. Text/json may be quiet until
exit; silence is not a hang. Wait until exit or the recorded deadline;
kill only this run's PID at that deadline. Nonzero exit: capture stderr,
inspect the tree, report `BLOCKED`. On `Workspace Trust Required` for a
print run, rerun that argv with `--trust` if it was missing. Leave a TUI
on its user-owned dialog. Do not ask the user and do not add sandbox, MCP,
or worker flags.

For JSON/stream output, follow `references/streaming.md`.
For resume, continue, or persist, follow `references/sessions.md`.
For worktrees/parallel runs, follow `references/worktrees.md`.
For a TUI or other command syntax, follow `references/management.md`.
For login, MCP, plugins, workers, or Bedrock, apply the matching branch in
`references/integrations.md`. On rejected syntax, use scoped `--help`.
Done when the process exits, an intended live session is recorded, or a
failure is reported.

## 3. Verify and report

Inspect status and diff; CLI text is unverified. Run the narrowest covering
tests for edited executable code. Plan/ask must leave the tree unchanged.
Check each worktree and any integrated tree. Clean up only sessions and clean
worktrees this run created unless kept; preserve shell integration, MCP,
plugins, and workers. Report command, mode, session/worktree, wait, and
outcome evidence. Done when each outcome is observed or blocked with evidence.

Terminals: `SUCCESS`, `NO_CHANGES`, `BLOCKED`.
Files in this package (7)
  • SKILL.md 3 KB
  • references/install.md 1 KB
  • references/integrations.md 2 KB
  • references/management.md 1 KB
  • references/sessions.md 1 KB
  • references/streaming.md 1 KB
  • references/worktrees.md 1 KB

Versions

The database has no other skills named cursor-agent.

Database snapshot: 13.11.2026 · package version 0470cda40dd6 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 85codex
    When the user wants the local Codex CLI run or its installation, login, or connected tools changed.
  • 85claude-code
    When the user wants the local Claude Code CLI run or its installation, login, or connected tools changed.
  • 100cursor-setup
    Configure and verify the Cursor backend for Claude Code Harness. Use when user invokes cursor:setup, wants Cursor as the local default implementation backend, or asks to check Cursor plugin/agent readiness. Distribution default remains opt-in; only local env/user settings are…
  • 100cursor-delegate
    Delegate a coding task to the Cursor Agent CLI (`cursor-agent`) as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to Cursor — phrasings like "have Cursor implement X", "delegate this to Cursor",…
  • 100cursor-delegate
    Delegate coding tasks to the Cursor Agent CLI (`cursor-agent`) only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.
  • 100cursor-delegate
    Delegate coding tasks to the Cursor Agent CLI (`cursor-agent`) only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.