You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rewrite README: outcome-led headline, how it works, multi-agent support (#57)
- Lead with outcome: "Your AI agent knows your entire codebase — not just
the files it's looking at" instead of feature description
- Add "How it works" section: 3-step flow from watch → graph files → ask
- Add "Works with any AI agent" table: Claude Code, Cursor, Copilot,
Windsurf, Aider, and any file-reading agent
- Add README badge users can add to their own repos
- Move Claude Code integration into the agent table instead of its own
major section
- Elevate `supermodel setup` in Quick start (was buried)
- Keep all command reference and configuration content
Closes#53#54
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Your AI agent knows your entire codebase — not just the files it's looking at.
6
4
7
-
Give your AI coding agent a map of your codebase.
5
+
Supermodel maps every file, function, and call relationship in your repo and writes a `.graph` file next to each source file. Your agent reads them automatically via grep and cat. No prompt changes. No extra context windows. No new tools to learn.
8
6
9
-
Supermodel CLI connects AI coding agents to the [Supermodel API](https://api.supermodeltools.com), providing call graphs, dependency graphs, dead code detection, and blast radius analysis as context during your sessions. It operates in two modes: **file mode**, which writes `.graph.*` sidecar files next to your source so agents can read them at any time, and **on-demand analysis**, which runs targeted queries against the graph without touching the filesystem.
7
+
```bash
8
+
curl -fsSL https://supermodeltools.com/install.sh | sh
9
+
```
10
10
11
11
---
12
12
13
-
## Links
13
+
## How it works
14
14
15
-
|||
15
+
**1. Map your codebase**
16
+
```bash
17
+
supermodel watch
18
+
```
19
+
Uploads your repo to the Supermodel API, builds a full call graph, and writes `.graph` files next to every source file. Stays running to keep files updated as you code.
20
+
21
+
**2. Your agent reads the graph automatically**
22
+
23
+
`.graph` files are plain text. Any agent that can read files — Claude Code, Cursor, Copilot, Windsurf — picks them up automatically through its normal file-reading tools. No configuration needed on the agent side.
24
+
25
+
**3. Ask anything**
26
+
27
+
Your agent now has full visibility into your call graph, imports, domains, and blast radius — for every file in the repo, not just the ones open in the editor.
28
+
29
+
---
30
+
31
+
## Works with any AI agent
32
+
33
+
`.graph` files are plain text read via grep and cat. There is no agent-specific integration required.
The `hook` command forwards file-change events from Claude Code to the `supermodel watch` daemon so graph files stay current as your agent edits code. Add the following to `.claude/settings.json`:
0 commit comments