Skip to content

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.

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
Terminal window
chisel setup --target codex
chisel setup --target claude
chisel setup --target opencode

Run either with no --target in an interactive terminal to pick the destination from a prompt.

--skill is repeatable. Omit it to install every bundled skill.

Terminal window
chisel setup --target codex --skill qa --skill building-python-backend

Use --dry-run --json to see what would change before committing to it; useful in automation.

Terminal window
chisel setup --target codex --dry-run --json
chisel-js update skills --target codex --dry-run --json

Next: Block violations before commit →