Skip to content

Commit 90c4f72

Browse files
committed
docs: clarify that npx @tanstack/intent install is agent-facing
The install command outputs a prompt for the agent to follow, not a user-facing installer. Update all copy to say "tell your agent to run" instead of presenting it as a manual step.
1 parent 61bdf00 commit 90c4f72

File tree

6 files changed

+20
-45
lines changed

6 files changed

+20
-45
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,15 @@ Service C ──┘ (fire & forget) └── ~/.agentcrumbs/crum
1414

1515
```bash
1616
npm install agentcrumbs
17-
npx @tanstack/intent install
1817
```
1918

20-
Then tell your agent: **"Run the agentcrumbs/init skill."**
19+
Then tell your agent: **"Run `npx @tanstack/intent@latest install` to set up agentcrumbs skills, then run the agentcrumbs/init skill."**
2120

22-
The init skill scans your repo, discovers services and modules, and builds a **namespace catalog** that gets written to your agent config (CLAUDE.md, .cursorrules, etc.). Without the catalog, every agent invents its own namespace names: `auth`, `auth-service`, `authService`, `authentication`, all pointing at the same thing. The catalog locks it down. Every agent, every session, same names.
23-
24-
After init, the agent knows which namespaces to use and how to drop crumbs correctly.
21+
The agent will wire the skills into your agent config (CLAUDE.md, .cursorrules, etc.), then scan your repo to build a namespace catalog so all agents use consistent names.
2522

2623
## Agent skills
2724

28-
agentcrumbs ships with [@tanstack/intent](https://tanstack.com/blog/from-docs-to-agents) skills inside the npm package. Running `npx @tanstack/intent install` wires them into your agent config so the agent learns correct usage patterns, common mistakes to avoid, and the namespace catalog for your project.
25+
agentcrumbs ships with [@tanstack/intent](https://tanstack.com/blog/from-docs-to-agents) skills inside the npm package. When your agent runs `npx @tanstack/intent install`, it sets up skill-to-task mappings in your agent config so it knows when to load agentcrumbs patterns.
2926

3027
| Skill | What it teaches |
3128
| --- | --- |

docs/content/docs/index.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,17 @@ Service C ──┘ (fire & forget) └── ~/.agentcrumbs/crum
3131
- **Strip before merge.** `agentcrumbs strip` removes all `// @crumbs` lines and `#region @crumbs` blocks. Clean diffs, no debug code on main.
3232
- **HTTP collector.** `agentcrumbs collect` receives crumbs from all services via fire-and-forget HTTP. Tail, query, and replay from the CLI.
3333
- **Works with any agent.** Claude Code, Cursor, Copilot, Aider, custom agents. If the agent can write code, it can write crumbs.
34-
- **Ships with agent skills.** Built on [@tanstack/intent](https://tanstack.com/blog/from-docs-to-agents). Install the package, run `npx @tanstack/intent install`, and the agent learns how to use crumbs from the package itself. No stale training data.
34+
- **Ships with agent skills.** Built on [@tanstack/intent](https://tanstack.com/blog/from-docs-to-agents). Install the package, tell your agent to run `npx @tanstack/intent install`, and it learns how to use crumbs from the package itself. No stale training data.
3535

3636
## Install
3737

3838
```bash
3939
npm install agentcrumbs
40-
npx @tanstack/intent install
4140
```
4241

43-
Then tell your agent: **"Run the agentcrumbs/init skill."**
42+
Then tell your agent: **"Run `npx @tanstack/intent@latest install` to set up agentcrumbs skills, then run the agentcrumbs/init skill."**
4443

45-
This is the critical step. The [init skill](/skills#the-init-skill) scans your repo, discovers services and modules, and builds a namespace catalog that gets written to your agent config (CLAUDE.md, .cursorrules, etc.). Without the catalog, every agent invents its own namespace names. With it, every agent, every session, same names.
46-
47-
See the [quickstart](/quickstart) for the full setup.
44+
The agent wires skills into your agent config (CLAUDE.md, .cursorrules, etc.) and scans your repo to build a namespace catalog. See the [quickstart](/quickstart) for the full setup.
4845

4946
## How it works
5047

docs/content/docs/quickstart.mdx

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,18 @@ description: "Install agentcrumbs and set up your agent in 2 minutes"
99
npm install agentcrumbs
1010
```
1111

12-
## Wire the skills
12+
## Set up skills
1313

14-
```bash
15-
npx @tanstack/intent install
16-
```
17-
18-
This pulls agentcrumbs' [@tanstack/intent](https://tanstack.com/blog/from-docs-to-agents) skills into your agent config (CLAUDE.md, .cursorrules, etc.).
19-
20-
## Run the init skill
21-
22-
This is the most important step. Tell your agent:
14+
Tell your agent:
2315

24-
> "Run the agentcrumbs/init skill to set up debug tracing in this project."
16+
> "Run `npx @tanstack/intent@latest install` to set up agentcrumbs skills, then run the agentcrumbs/init skill."
2517
26-
The agent scans your repo, discovers services and modules, and proposes a **namespace catalog**: a table of every service name and what it maps to. You confirm or adjust, and the agent writes it to your config file.
18+
The agent will:
2719

28-
Why this matters: without the catalog, every agent invents its own names. One session uses `auth`, another uses `auth-service`, another uses `authentication`. Crumbs become impossible to query across sessions. The catalog locks down the names so every agent, every time, uses the same ones.
20+
1. Run `npx @tanstack/intent install` which gives it a prompt to wire skill-to-task mappings into your agent config (CLAUDE.md, .cursorrules, etc.)
21+
2. Run the [init skill](/skills#the-init-skill) to scan your repo, discover services and modules, and write a namespace catalog to your config
2922

30-
After init, the agent knows which namespaces to use and how to drop crumbs correctly. See [Skills](/skills#the-init-skill) for the full details.
23+
The namespace catalog is a table of service names your agents should use. It keeps naming consistent across sessions. See [Skills](/skills#the-init-skill) for details.
3124

3225
## Manual setup
3326

docs/content/docs/skills.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Agent skills"
33
description: "How agents learn to use agentcrumbs via @tanstack/intent"
44
---
55

6-
agentcrumbs ships with agent skills inside the npm package, built on the [@tanstack/intent](https://tanstack.com/blog/from-docs-to-agents) standard. When you install the package and run `npx @tanstack/intent install`, your agent automatically learns how to use crumbs correctly.
6+
agentcrumbs ships with agent skills inside the npm package, built on the [@tanstack/intent](https://tanstack.com/blog/from-docs-to-agents) standard. Tell your agent to run `npx @tanstack/intent install` and it will set up skill-to-task mappings in your agent config so it knows when to load agentcrumbs patterns.
77

88
Skills travel with the package version. The agent always has docs matching the installed code, not stale training data from 6 months ago.
99

@@ -13,10 +13,9 @@ The fastest way to set up agentcrumbs in a project is to let the agent do it:
1313

1414
```bash
1515
npm install agentcrumbs
16-
npx @tanstack/intent install
1716
```
1817

19-
This scans `node_modules` for intent-enabled packages and wires the skills into your agent config file (CLAUDE.md, .cursorrules, etc.). Then tell your agent:
18+
Then tell your agent:
2019

2120
> "Run the agentcrumbs/init skill to set up debug tracing in this project."
2221
@@ -76,4 +75,4 @@ node_modules/agentcrumbs/skills/agentcrumbs/SKILL.md
7675
node_modules/agentcrumbs/skills/agentcrumbs/init/SKILL.md
7776
```
7877

79-
Or add a reference in your agent config file manually. But `npx @tanstack/intent install` handles all of this automatically.
78+
Or add a reference in your agent config file manually. But telling your agent to run `npx @tanstack/intent install` handles all of this automatically.

docs/src/app/page.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -155,15 +155,7 @@ export default function HomePage() {
155155
</div>
156156
<div className="hp-install-step">
157157
<div className="hp-install-step-num">2</div>
158-
<div className="hp-install-bar">
159-
<span className="hp-prompt-sign">$</span>
160-
<code id="intent-cmd">npx @tanstack/intent install</code>
161-
<button className="hp-copy-btn" onClick={(e) => copyCmd('intent-cmd', e.currentTarget)}>copy</button>
162-
</div>
163-
</div>
164-
<div className="hp-install-step">
165-
<div className="hp-install-step-num">3</div>
166-
<div className="hp-install-step-text">Tell your agent: <span style={{ color: 'var(--hp-text)' }}>&quot;Run the agentcrumbs/init skill&quot;</span></div>
158+
<div className="hp-install-step-text">Tell your agent: <span style={{ color: 'var(--hp-text)' }}>&quot;Run npx @tanstack/intent install, then run the agentcrumbs/init skill&quot;</span></div>
167159
</div>
168160
</div>
169161
</div>

packages/agentcrumbs/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,15 @@ Service C ──┘ (fire & forget) └── ~/.agentcrumbs/crum
1414

1515
```bash
1616
npm install agentcrumbs
17-
npx @tanstack/intent install
1817
```
1918

20-
Then tell your agent: **"Run the agentcrumbs/init skill."**
19+
Then tell your agent: **"Run `npx @tanstack/intent@latest install` to set up agentcrumbs skills, then run the agentcrumbs/init skill."**
2120

22-
The init skill scans your repo, discovers services and modules, and builds a **namespace catalog** that gets written to your agent config (CLAUDE.md, .cursorrules, etc.). Without the catalog, every agent invents its own namespace names: `auth`, `auth-service`, `authService`, `authentication`, all pointing at the same thing. The catalog locks it down. Every agent, every session, same names.
23-
24-
After init, the agent knows which namespaces to use and how to drop crumbs correctly.
21+
The agent will wire the skills into your agent config (CLAUDE.md, .cursorrules, etc.), then scan your repo to build a namespace catalog so all agents use consistent names.
2522

2623
## Agent skills
2724

28-
agentcrumbs ships with [@tanstack/intent](https://tanstack.com/blog/from-docs-to-agents) skills inside the npm package. Running `npx @tanstack/intent install` wires them into your agent config so the agent learns correct usage patterns, common mistakes to avoid, and the namespace catalog for your project.
25+
agentcrumbs ships with [@tanstack/intent](https://tanstack.com/blog/from-docs-to-agents) skills inside the npm package. When your agent runs `npx @tanstack/intent install`, it sets up skill-to-task mappings in your agent config so it knows when to load agentcrumbs patterns.
2926

3027
| Skill | What it teaches |
3128
| --- | --- |

0 commit comments

Comments
 (0)