Skip to content

Commit 604dc4d

Browse files
committed
docs(create-objectstack): the scaffolded project's own docs name the per-agent install form
`templates/AGENTS.md` and the blank template README both told a project's future readers to run the bare `npx skills add objectstack-ai/objectstack/skills`, which prompts for agents interactively — picking "all" there re-creates the triplicate this card removes, inside the user's own repository. Both now name the single-agent form, say where the committed copy lives, and refuse `--all` with the reason. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PbJ5Cy9KDAzeQHo8bsMadG
1 parent 44c8997 commit 604dc4d

2 files changed

Lines changed: 16 additions & 5 deletions

File tree

packages/create-objectstack/src/templates/AGENTS.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,19 @@ Run `npm run build` when you need the compiled `dist/objectstack.json` artifact.
7373

7474
## AI Skills
7575

76-
This project uses ObjectStack skills from `objectstack-ai/objectstack`.
77-
Install or update skills with the standard [skills CLI](https://skills.sh/):
76+
This project uses ObjectStack skills from `objectstack-ai/objectstack`. They
77+
were installed for one agent runtime, live in `.claude/skills/`, and are
78+
committed with the project. Install or update them with the standard
79+
[skills CLI](https://skills.sh/), naming your runtime:
7880

7981
```bash
80-
npx skills add objectstack-ai/objectstack/skills
82+
npx skills add objectstack-ai/objectstack/skills --skill '*' --agent claude-code -y
8183
```
8284

85+
Adding a second runtime? Re-run it with that runtime's `--agent` name.
86+
⛔ Do not use `--all`: it writes the same bundle to `.agents/`, `agent/` and
87+
`.claude/` at once, and all three then land in your next commit.
88+
8389
Skills are triggered automatically based on task context:
8490

8591
| Skill | Trigger Context |

packages/create-objectstack/src/templates/blank/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,10 @@ covered in [Self-Hosted Deployment](https://objectstack.ai/docs/deployment/self-
140140
- Add a flow or automation: see `objectstack-automation`.
141141
- Add an AI agent: see `objectstack-ai`.
142142

143-
Skills are installed with `npx skills add objectstack-ai/objectstack/skills`
144-
(see `AGENTS.md`) and also show up in the in-IDE assistant catalog.
143+
Skills live in `.claude/skills/` and are committed with this project, once.
144+
They are installed one agent runtime at a time (see `AGENTS.md`), and also show
145+
up in the in-IDE assistant catalog:
146+
147+
```bash
148+
npx skills add objectstack-ai/objectstack/skills --skill '*' --agent claude-code -y
149+
```

0 commit comments

Comments
 (0)