Skip to content

CLI help: 'agentops skills install --platform' should list cursor (currently shows only copilot, claude) #157

@Dongbumlee

Description

@Dongbumlee

Surfaced while validating docs/tutorial-copilot-skills.md for #133.

Problem

agentops skills install --help lists only two platforms:

--platform  -p      TEXT  Target platform(s): copilot, claude.

But the code (src/agentops/services/skills.py) fully supports cursor as well:

$ grep -n cursor src/agentops/services/skills.py | head -3
36:    "cursor": { ... layout entry ... }
130:        platforms.append("cursor")   # auto-detection
598:def _register_cursor(resolved: Path) -> Path | None:

agentops skills install --platform cursor works end-to-end (it writes .github/skills/... plus .cursor/rules/agentops.mdc). The tutorial docs/tutorial-copilot-skills.md line 66-68 also correctly mentions cursor — the CLI help text is the only place out of step.

Repro

agentops skills install --help | grep platform
# → 'Target platform(s): copilot, claude.'

mkdir /tmp/c && cd /tmp/c
agentops skills install --platform cursor
# → succeeds; writes .github/skills/agentops-* and .cursor/rules/agentops.mdc

Fix

One-line change in src/agentops/cli/app.py (the help= string on the --platform option): list cursor alongside the other two.

- help="Target platform(s): copilot, claude.",
+ help="Target platform(s): copilot, claude, cursor.",

This was previously attempted in closed PR #148 alongside two doc fixes; closed during the dev-drift reset. The doc fixes are being re-shipped as part of #133's doc-only PR — this issue tracks the help-text update on its own merits.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions