Repository navigation
Releases
Releases · ysskrishna/claude-code-subagents-for-cursor
Release Version v1.3.4
Fixed
- ClawHub skill categories. Skill publish uses browse slugs
developmentandagents, not bundle categorydeveloper-tools, which ClawHub rejects onskill publish.
Release Version v1.3.3
ClawHub skill listings pick up category and topics; the publish script syncs the skill and bundle separately.
Changed
- ClawHub skill publish.
scripts/publish_clawhub.pyaddsplan/publishforuse-claude-code-subagents, passes categorydeveloper-toolsand topics on skill upload, and keeps the staged bundle path for the OpenClaw package.validate.shchecksclawhub_slug_mapandSKILL_CATEGORIES.
Release Version v1.3.2
The product name on Cursor and ClawHub is Claude Code Subagents for Cursor. A version tag also publishes the npm package.
Changed
- Display name.
.cursor-plugin/plugin.jsondisplayNameandopenclaw.plugin.jsonnameare Claude Code Subagents for Cursor. The npm package stays@ysskrishna/claude-code-subagents-for-cursor. The OpenClaw id staysclaude-code-subagents-for-cursor. - Claude Code plugin id stays
cursor-subagent-models.claude plugin validaterejectsclaude-code-subagents-for-cursorbecause a third-party plugin name cannot start withclaude-. That id is only the Claude Code install name. It is not the package name.
Added
- npm trusted publishing. Pushing a
v*tag runs.github/workflows/publish-npm.yml, separate from the GitHub Release workflow. It publishes@ysskrishna/claude-code-subagents-for-cursorwith GitHub's OIDC token. No npm token is stored in the repo. The package's trusted publisher on npmjs.com has to namepublish-npm.ymland theprodenvironment before the first successful publish. - Plugin image.
assets/icon.pngis the 1024 square logo. ClawHub uses that filename and ignores an icon URL..claude-plugin/plugin.jsonpoints at the same file. - ClawHub topics.
scripts/publish_clawhub.pysendscursor,subagents,claude-code,model-routing, andbyok. The manifest category isdeveloper-tools.
Release Version v1.3.1
The same skill can now be loaded as a Claude Code plugin, an npm package, and an OpenClaw bundle. Cursor install routes are unchanged.
Added
- Claude Code plugin.
.claude-plugin/plugin.jsonand.claude-plugin/marketplace.jsonname itcursor-subagent-models(one entry,source./). Claude Code rejects a third-party name that starts withclaude-or reads as Anthropic's own, so this is not the Cursor plugin name. Cursor still reads.cursor-plugin/. The skill id staysuse-claude-code-subagents. buildwithclaude closed the earlier listing because only the Cursor manifest existed. - npm package
@ysskrishna/claude-code-subagents-for-cursor. Claude Code can fetch a marketplace plugin from npm. The package is not a Cursor install, and npm downloads are not Cursor Directory views. - OpenClaw bundle.
openclaw.plugin.json, plusopenclaw.compatinpackage.json(same pins as@ysskrishna/ai-agent-skills).scripts/publish_clawhub.pystages one host manifest for ClawHub. Nothing is published from CI.
Release Version v1.3.0
Briefs stay out of your repo, two supported run modes, a tidier docs/ folder, and an example project.
Changed
- Briefs go to a temp folder, not the workspace. The skill makes a folder with
mktemp -dand writes the brief and agent files there, so nothing lands in your repo or your commits. Thesubagent-briefs/folder and its.gitignoreentry from 1.2.0 are gone. The files stay in place and the operating system clears them. - Only two run modes are supported: Run Everything (Unsandboxed) and Auto-Review (with Sandbox). The allowlist route is removed from the docs and the skill, because it needs an entry for every command.
docs/guides/permissions.mdnow only says how to set the mode, plus the other prompts and Claude Code denials. docs/is grouped intoinstall/,guides/,reference/andcontributing/. Links to the old paths (for exampledocs/permissions.md) no longer work; use the new ones. The README,AGENTS.md, issue templates andscripts/validate.shfollow the new layout, andvalidate.shnow also checks links inexamples/.
Added
examples/subagents: a small project with a read-onlyscoutagent (haiku) and an editingproofreaderagent (sonnet), with a README on how an agent file is built and how to try them.
Release Version v1.2.0
Runs without approval prompts. Cursor asked for approval on most subagent runs because of how the commands were built, not because of a missing setting.
Fixed
claudecommands start withclaude. Agents putcd <dir> &&orexport VAR=...;in front of the command. Cursor's allowlist matches the start of a command, so those runs never matched an allowlistedclaude -p. The skill now sets the Shell tool'sworking_directoryinstead of usingcd, and keeps the command a single plain command.- Briefs are written to
<workspace>/subagent-briefs/<id>/, not$TMPDIR. Writing outside the workspace triggers Cursor's External-File Protection, and that includes~/.cursor/projects/, which counts as inside the boundary for reads only. Addsubagent-briefs/to your.gitignore. Themktempfolder is the fallback when there is no workspace. - No
mktemp -d,rm -rfor delete steps in the normal path. The skill leaves its brief files in place, so there are fewer commands to approve. - Denied tools no longer stop the run. When
permission_denialsis not empty, the skill lists what was blocked, finishes the work that does not depend on it, and asks once at the end.
Security
- No credentials in briefs or agent definitions. The skill names the environment variable or file to read instead of copying the secret into a file.
- The skill's own commands are limited to
claude --versionandclaude -p, with no heredoc,cd,export, pipe or;.
Added
docs/permissions.md: what causes approval prompts, the recommended Auto-review setup, an Allowlist-mode setup, and a Claude Code settings file for denied tools.- A "Run without approval prompts" section in the README.
scripts/dev_install.sh: copy this checkout into~/.cursor/plugins/local/to try changes in Cursor before they are published, with--removeto undo. It warns when another copy of the skill is installed.
Release Version v1.1.0
Safer commands, a shorter README, and the detail moved into docs/.
Security
- Briefs no longer pass through the shell. The brief and the agent definition are written to files with the Write tool, and Claude Code reads them from stdin or
--agents <file>. Before, a line in a brief that matched the heredoc delimiter could end it early and run the rest as shell. - Names, models and session ids are checked before use, then quoted. A name such as
scout; lsnow falls back to Cursor's Task tool instead of reaching the shell. - Agent files and subagent results are treated as data. The skill tells the agent never to follow instructions found in them to change flags, add permissions or run other commands.
- Follow-ups keep the agent's tool limits. A resumed run now repeats
--agent/--agents; without them Claude Code drops the agent's limits (tested). - Added
SECURITY.mdanddocs/security.md, which explain what the skill can do and how it is limited.
Changed
- Model routing is now a positive rule. Only
haiku,sonnet,opusandclaude-*IDs go through Claude Code. Anything else uses Cursor's Task tool, so new non-Anthropic models need no update. The suffix list lives in one place,references/model-mapping.md. - Install commands:
npx skills addno longer needs--skill, andgh skill installuses--all. The repo has one skill. - README is shorter. Install routes are collapsible, and usage, how it works, troubleshooting, security and development moved to
docs/, with one install guide per route. - Skill wording: removed the cost-reporting rule, the cap on parallel runs and the Checklist section. The brief format is now advice. The skill stays in Cursor's native mode on native Windows, because it needs a POSIX shell.
metadata.versioninSKILL.mdnow matches the plugin version.- Plugin
tagsandkeywordsexpanded for search. scripts/validate.shnow checks the Agent Skills limits (name up to 64 characters, description up to 1024,SKILL.mdup to 500 lines) instead of stricter house rules. It also checks version agreement, quoted placeholders in the skill's commands, links and install commands in the README anddocs/.
Added
- Social preview image (
assets/og.png, 1200x630). - skills.sh badge in the README.
- Issue templates for bug reports and feature requests.
Release Version v1.0.0
First stable release.
Added
use-claude-code-subagentsskill. Runs your custom Cursor subagents through headless Claude Code so each one runs on themodel:in its own agent file instead of the parent chat's model. Invoke it with/use-claude-code-subagents, or let it load when you describe the symptom. When it loads on its own, it asks for confirmation before the first run.- Agent resolution across
.cursor/agents,.claude/agentsand.codex/agentsat project and user level, using Cursor's documented precedence (project beats user;.cursor/beats.claude/beats.codex/). - Model mapping. Full Anthropic IDs pass through; Cursor effort suffixes (
-low,-medium,-high,-xhigh,-max,-fast,-thinking*,[effort=...]) are stripped; the aliaseshaiku,sonnetandopuspass through;inherit, missing and non-Anthropic models fall back to Cursor's Task tool. Evidence and untested edge cases are inreferences/model-mapping.md. - Safe defaults.
--permission-prompts noneon every run,--permission-mode acceptEditsonly for editing agents, and a Claude Code version check (2.1.281 or later) before the first run. - Shell-safe briefs. Briefs go through a single-quoted heredoc, so
$VAR, backticks and$(...)in a brief reach the agent unchanged. Cursor-format agents are passed through a randomized temp file that works on macOS and Linux and is removed after each run. - Worked example and trigger evals (
references/example.md,evals/use-claude-code-subagents.json). - Install routes: the Cursor plugin marketplace,
npx skills add,gh skill install, and a manual copy. - Logo and listing metadata: mark and lockup (SVG and PNG), display name, category and tags in
.cursor-plugin/plugin.json. - CI: manifest and skill validation, install tests for the
skillsandghroutes, and a GitHub Release created from eachv*tag. LICENSE,CODEOWNERSandFUNDING.yml.