Repository navigation
Add the cursor-agents skill for driving Cursor agents - #12
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 (ownagent_id+on_conflict="reuse"), supervision from cheap to costly signals, nudges withreplace_active, stopping, and prompt templates. Private notes go in a git-ignoredreferences/field-notes.md, underskills/or.claude/skills/.scripts/ccm.pycalls 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-writesis given; deletion is never enabled.>>):>would empty a running job's log before its lock refuses a double start.tests/test_skill.pyruns the script on the fictional transport: write guard, reuse within one session, results streamed before a slow call ends. It also checks that everycursor_*name the skill cites is a tool the server lists.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🤖 Generated with Claude Code
https://claude.ai/code/session_016LJPLDCJPyUhuwCvbZffsN