Give your AI agent the rules
You want your AI coding agent (Codex, Claude Code, OpenCode) to know the patterns chisel enforces before it writes code. Even if it skips them, the checker names the right skill after the fact; installing them saves the round trip. This guide installs the bundled agent skills into your repo so the agent reads them and writes code that already matches the rules.
Pick a target
Section titled “Pick a target”Skills install into a different directory depending on which agent tooling you use. One target per run: chisel won’t install two targets at once to avoid duplicate skill discovery in tools like OpenCode.
--target |
Where it installs | For |
|---|---|---|
codex |
.agents/skills/ |
OpenAI Codex and OpenCode compatibility |
claude |
.claude/skills/ |
Claude Code |
opencode |
.opencode/skills/ |
OpenCode native |
Install
Section titled “Install”chisel setup --target codexchisel setup --target claudechisel setup --target opencodeThe JS CLI uses update skills for installation (no standalone
setup command):
chisel-js update skills --target codexchisel-js update skills --target claudechisel-js update skills --target opencodeRun either with no --target in an interactive terminal to pick the
destination from a prompt.
Install only specific skills
Section titled “Install only specific skills”--skill is repeatable. Omit it to install every bundled skill.
chisel setup --target codex --skill qa --skill building-python-backendchisel-js update skills --target opencode --skill designing-svelte-uiPreview without writing
Section titled “Preview without writing”Use --dry-run --json to see what would change before committing to it;
useful in automation.
chisel setup --target codex --dry-run --jsonchisel-js update skills --target codex --dry-run --json