@@ -106,50 +106,44 @@ A bundled Skill teaches AI coding agents how to use this SDK correctly —
106106operation modules, default templates, the simulation polling loop,
107107common pitfalls. The Skill folder lives at
108108[ ` comcheck_api/ai/skill/ ` ] ( comcheck_api/ai/skill/ ) and ships in the
109- wheel. It works with both ** Claude Code** and ** OpenAI Codex CLI** .
109+ wheel. It follows the open agent-skills standard (` SKILL.md ` plus
110+ ` reference/ ` and ` scripts/ ` ), so the same folder works for both
111+ ** Claude Code** and ** OpenAI Codex** — only the install location
112+ differs.
110113
111114### Setup in your own repo
112115
113- Install the bundled Skill into a project-level
114- ` .claude/skills/comcheck-api/ ` . Claude Code scans
115- ` <project>/.claude/skills/ ` when a session opens against the repo,
116- so the guidance kicks in only for projects that actually use this
117- SDK — not on every Claude session everywhere.
116+ Run the installer once in the root of the project that consumes
117+ ` comcheck_api ` . By default it installs the Skill for ** both** agents:
118118
119119``` bash
120- # Run this once in the root of the project that consumes comcheck_api:
121120comcheck-api install-skill
122121```
123122
124- Commit ` .claude/skills/comcheck-api/ ` . Teammates get the same
125- guidance the moment they open the repo in Claude Code, and Claude
126- can pull in the reference docs, examples, and ` validate_code.py `
127- script on demand — not just the SKILL.md body. Re-run the command
128- with ` --force ` after upgrading the package to refresh the skill.
123+ This writes:
129124
130- To install globally for every Claude session instead of per-project,
131- pass ` --global ` (writes to ` ~/.claude/skills/comcheck-api/ ` ).
125+ - ` .claude/skills/comcheck-api/ ` — Claude Code scans
126+ ` <project>/.claude/skills/ ` when a session opens against the repo.
127+ - ` .agents/skills/comcheck-api/ ` — Codex scans ` .agents/skills ` from
128+ the working directory up to the repository root.
132129
133- ### Setup for OpenAI Codex
130+ So the guidance kicks in only for projects that actually use this SDK,
131+ not on every session everywhere. Commit both folders; teammates get the
132+ same guidance the moment they open the repo, and the agent can pull in
133+ the reference docs and ` validate_code.py ` script on demand — not just
134+ the ` SKILL.md ` body.
134135
135- Codex implements the same open agent-skills standard, so the same
136- Skill folder works — only the install location differs. Codex scans
137- ` .agents/skills ` from the working directory up to the repository root.
138- Pass ` --codex ` to install there:
136+ To install for only one agent, pass ` --claude ` or ` --codex ` :
139137
140138``` bash
141- # Run this once in the root of the project that consumes comcheck_api:
142- comcheck-api install-skill --codex
139+ comcheck-api install-skill --claude # Claude Code only
140+ comcheck-api install-skill --codex # Codex only
143141```
144142
145- This writes the Skill into ` .agents/skills/comcheck-api/ ` . Commit that
146- folder so teammates get the same guidance, and Codex will load
147- ` SKILL.md ` (plus the reference docs and ` validate_code.py ` on demand)
148- whenever a task matches. Re-run with ` --force ` after upgrading the
149- package to refresh it.
150-
151- To install for every Codex session instead of per-project, pass
152- ` --global ` (writes to ` ~/.agents/skills/comcheck-api/ ` ).
143+ Re-run with ` --force ` after upgrading the package to refresh the Skill.
144+ Pass ` --global ` to install into the user-global skills dirs
145+ (` ~/.claude/skills/ ` and/or ` ~/.agents/skills/ ` ) for every session
146+ instead of per-project.
153147
154148## Development
155149
0 commit comments