Cursor is a VS Code-derived editor; the Claude Code extension installs and behaves the same way.
In Cursor:
- Open the Extensions sidebar (Cmd+Shift+X / Ctrl+Shift+X).
- Search for Claude Code (publisher: Anthropic).
- Click Install.
- Reload the window when prompted.
Or from a terminal:
cursor --install-extension anthropic.claude-codeOpen the Claude pane (Cmd+Shift+P → "Claude Code: Open"). Sign in via the browser flow when prompted.
Note: in the extension you install through the Manage Plugins dialog, not the command line. The CLI's
/plugin marketplace add …//plugin install …commands don't run from the chat input here — use the dialog below.
In the Claude pane's chat input, type /plugin. This surfaces a Manage Plugins option — click it.
The plugins dialog opens. From here:
- Add the marketplace. In the marketplace input, paste
AgamiAI/agami-coreand click Add. - Install the plugin. Switch to the Plugins tab in the dialog. Find
agami-corein the list and click Install.
Try a skill in the Claude pane chat input:
/agami-connect
If you haven't set up credentials yet, the skill walks you through the DB-type picker and writes <artifacts_dir>/local/credentials.example for you to fill in. (There's no separate /agami-init — setup lives inside /agami-connect.)
Same as the CLI / VS Code: agami writes <artifacts_dir>/local/credentials.example, you fill it in and save it, then say "introspect my database" — agami moves it into place and locks it down (chmod 600) for you. Format and per-database fields: docs/credentials.md.
- Cursor's own AI features (Composer, Tab autocomplete) are independent of agami. agami runs only inside the Claude Code pane.
- Working directory: Cursor uses the open workspace root, same as VS Code.
- Workspace settings: if you've configured Cursor to disable certain extensions per-workspace, make sure Claude Code is enabled.
/plugin update agami-core@agami
/plugin uninstall agami-core
/plugin marketplace remove agami
| Symptom | Fix |
|---|---|
| Claude Code extension missing from Cursor marketplace | Try cursor --install-extension anthropic.claude-code directly, or download the .vsix from the Anthropic releases page |
| Cursor's privacy mode blocks the marketplace | Cursor settings → Privacy → ensure "Allow extensions to fetch from external sources" is on |
| Skill autocomplete missing after install | Reload window (Cmd+Shift+P → "Developer: Reload Window") |