Cursor old-CLI eval surfaced that '## If parallel-cli is not found'
could be misread as 'findall subcommand not found' on a skim. Rename
to '## If the parallel-cli binary is not installed' and add an
explicit cross-reference to the in-body 'no such command' guidance
so a skimming agent doesn't mis-route a stale-CLI error to
/parallel-setup (which is for binary-missing) when it should trigger
'parallel-cli update'.
agent-skills is the source of truth for skill content; the cursor
plugin needs a shape-converted copy of each skill. The script:
- Strips Claude Code-specific frontmatter fields (user-invocable,
argument-hint, context, agent) that cursor doesn't use
- Replaces the trailing '## Setup' section (full install commands
inline) with cursor's '## If parallel-cli is not found' stanza,
which delegates to the cursor /parallel-setup command
- Generates command wrappers in cursor-plugin/commands/ for any
synced skill that doesn't already have one
- Updates .cursor-plugin/plugin.json to register new commands
setup/result/status are skills in agent-skills but commands in
cursor — those are skipped by the skill sync.
Usage:
python3 scripts/sync-to-cursor.py [--dry-run] [--cursor-repo PATH]
Used to produce parallel-web/parallel-cursor-plugin#6.