AGENTS.md: one-line plugin install first (npx supermemory plugin --all / --only)

Per Mahesh's review (huddle, Oct 26): before the per-agent table, show the CLI's one-line installer.
- `npx supermemory plugin --all` installs the plugin for every detected coding agent (Claude Code, Cursor, OpenCode,
  Codex) and signs in through the browser.
- `--only claude` (or cursor, opencode, codex) picks one or a few; plain `npx supermemory plugin` asks.
- `--dry-run` and `--no-auth` / `plugin login` noted.
- The per-agent table stays for a single manual install and for agents the CLI doesn't cover (Hermes, OpenClaw, MCP).

Checked against supermemory@5.0.3 `help --json` and a `plugin --all --force --dry-run` run (claude, cursor, opencode,
codex planned; `--only claude` plans claude only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Muskan 2026-10-27 07:35:12 +05:30
parent 2711aeecd1
commit c99d2125ab

View file

@ -112,6 +112,25 @@ This is not the memory MCP. The docs MCP only searches documentation.
### Memory for the coding agent itself
One command installs the supermemory plugin for every coding agent it finds on this machine (Claude Code, Cursor,
OpenCode and Codex), then signs in through the browser:
```bash
npx supermemory plugin --all
```
For one agent or a few, name them with `--only` (`claude`, `cursor`, `opencode`, `codex`):
```bash
npx supermemory plugin --only claude
```
- Plain `npx supermemory plugin` asks which agents to install for.
- `--dry-run` shows what would run without installing anything.
- `--no-auth` skips the browser sign-in; run `npx supermemory plugin login` later.
To install a single plugin by hand, or for an agent the CLI doesn't cover (Hermes, OpenClaw, any MCP client):
| Agent | Install | Guide |
| --- | --- | --- |
| Claude Code | `/plugin marketplace add supermemoryai/claude-supermemory`, then `/plugin install supermemory` | [docs](https://supermemory.ai/docs/integrations/claude-code) |