Add Cursor plugin manifest and hook response compatibility

Enable native Cursor plugin discovery with a .cursor-plugin manifest, and make the SessionStart hook emit both Cursor and Claude response shapes so context injection works across both platforms. Document Cursor install usage in the README while keeping Claude-first wording.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ericzakariasson
2026-02-13 12:00:52 -05:00
committed by Drew Ritter
parent e16d611eee
commit 772ec9f834
3 changed files with 36 additions and 4 deletions

View File

@@ -26,7 +26,8 @@ Thanks!
## Installation
**Note:** Installation differs by platform. Claude Code has a built-in plugin system. Codex and OpenCode require manual setup.
**Note:** Installation differs by platform. Claude Code or Cursor have built-in plugin marketplaces. Codex and OpenCode require manual setup.
### Claude Code (via Plugin Marketplace)
@@ -42,9 +43,17 @@ Then install the plugin from this marketplace:
/plugin install superpowers@superpowers-marketplace
```
### Cursor (via Plugin Marketplace)
In Cursor Agent chat, install from marketplace:
```text
/plugin-add superpowers
```
### Verify Installation
Start a new session and ask Claude to help with something that would trigger a skill (e.g., "help me plan this feature" or "let's debug this issue"). Claude should automatically invoke the relevant superpowers skill.
Start a new session in Claude or Cursor and ask for something that should trigger a skill (for example, "help me plan this feature" or "let's debug this issue"). The agent should automatically invoke the relevant superpowers skill.
### Codex