Skip to content

Add the cursor-agents skill for driving Cursor agents - #12

Merged
yoch merged 1 commit into
mainfrom
feat/cursor-agents-skill
Oct 14, 2026
Merged

yoch merged 1 commit into
mainfrom
feat/cursor-agents-skill

Conversation

@yoch

@yoch yoch commented Oct 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • skills/cursor-agents/: a generic Claude Code skill for running fleets of compute workers and coding agents through this server. It covers the API facts behind each decision, idempotent creation (own agent_id + on_conflict="reuse"), supervision from cheap to costly signals, nudges with replace_active, stopping, and prompt templates. Private notes go in a git-ignored references/field-notes.md, under skills/ or .claude/skills/.
  • scripts/ccm.py calls the tools from scripts that must outlive a session. A batch uses one server session and writes each result as soon as its call ends, so a killed batch keeps the ids of paid calls. Writes stay off unless --allow-writes is given; deletion is never enabled.
  • Worker start commands append to their log (>>): > would empty a running job's log before its lock refuses a double start.
  • tests/test_skill.py runs the script on the fictional transport: write guard, reuse within one session, results streamed before a slow call ends. It also checks that every cursor_* name the skill cites is a tool the server lists.
  • CI and release lint skills/, the sdist ships it, and README and AGENTS.md mention it. No version bump: the wheel is unchanged.

Test plan

  • uv run --locked pytest: 139 passed (Python 3.12, locally)
  • uvx ruff@0.16.10 check src tests scripts skills
  • The streaming test fails on the old buffered script and passes on this one
  • CI: Python 3.12 / 3.13 and the wheel smoke test

🤖 Generated with Claude Code

https://claude.ai/code/session_016LJPLDCJPyUhuwCvbZffsN

A Claude Code skill that teaches how to run fleets of compute workers
and coding agents through this server: the API facts behind each
decision, idempotent creation (own agent_id + on_conflict="reuse"),
supervision from cheap to costly signals, nudges with replace_active,
stop, and prompt templates. It stays generic: private notes go in a
git-ignored references/field-notes.md, under skills/ or .claude/skills/.

scripts/ccm.py calls the tools from scripts that must outlive a session:
one server session per batch, each result written as soon as its call
ends (a killed batch keeps the ids of paid calls), writes off unless
--allow-writes is given, deletion never enabled. Worker start commands
append to their log, since `>` would empty a running job's log before
its lock refuses a double start.

tests/test_skill.py runs the script on the fictional transport (write
guard, reuse, results streamed before a slow call ends) and checks that
every cursor_* name the skill cites is a tool the server lists. CI lints
skills/, and the sdist ships it so its tests pass there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016LJPLDCJPyUhuwCvbZffsN
@yoch
yoch merged commit 476ed86 into main Oct 14, 2026
2 checks passed
@yoch
yoch deleted the feat/cursor-agents-skill branch October 14, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant