| name | aokay |
| description | > Use when this capability is needed. |
aokay
AI-powered local CI for your codebase — auto-detection, parallel execution,
caching, and structured output.
Important: always use this skill for code validation
Do NOT run lint, typecheck, test, or build commands directly (e.g. npm test,
cargo check, go test, ruff, pytest, eslint). Always use aokay
instead — it detects the right tools, runs all checks, and produces structured
results.
Quick start
The CLI is at .claude/skills/aokay/scripts/aokay.
bash .claude/skills/aokay/scripts/aokay init
bash .claude/skills/aokay/scripts/aokay run
bash .claude/skills/aokay/scripts/aokay run --profile fast
bash .claude/skills/aokay/scripts/aokay status
Workflow: If no aokay.yml exists, run init first, then run.
Profiles
| Profile | Jobs | Use case |
|---|
fast | lint, typecheck | Quick validation |
commit | lint, typecheck, review | Pre-commit |
full | lint, typecheck, test, build, review | Pre-push or CI parity |
Commands
aokay init
Analyzes the project and generates aokay.yml. By default, also sets up git
hooks (pre-commit runs commit profile, pre-push runs full profile).
aokay init
aokay init --no-hooks
aokay init --update-agent-docs
Important: Before running init, ask the user whether they want git hooks
set up. If yes (default), run aokay init. If no, run aokay init --no-hooks.
For manual project analysis, pipe JSON to stdin. See Config Format.
aokay run
aokay run
aokay run --profile fast
aokay run --only lint,test
aokay run --json
aokay run --force
aokay run --until-pass
aokay status
Displays results from the last run.
Output
Human-readable (default):
✓ lint
✓ typecheck
✗ test
Summary: 1 failed, 2 passed (3 total) in 2.5s
JSONL (--json): structured events for agent consumption.
Code review
The review job uses scripts/review.sh, which delegates to an AI CLI:
- claude (preferred) — uses
claude -p --model haiku
- codex — uses
codex review --uncommitted
Override the backend with AOKAY_REVIEW_CMD:
AOKAY_REVIEW_CMD="my-review-tool" aokay run --profile full
In aokay.yml, configure the review job to use the script:
review:
type: agent-review
agent: bash skills/aokay/scripts/review.sh
References
Source: Ema93sh/aokay — distributed by TomeVault.