Crag — AI skill for Claude Code
The bedrock layer for AI coding agents.
How to install Crag
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open WhitehatD/crag and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Crag does
The bedrock layer for AI coding agents. One governance.md. Any project. Never stale. Universal skills + cross-agent compilation (Claude, Cursor, Codex, Gemini, Aider).
Alternatives in AI
- TokenTracker — Local-first AI token usage & cost tracker for 31 coding tools incl 1.4k ★
- Engrim — The Universal Cross-Model Episodic Memory Standard 219 ★
- Base — AI builder operating system 172 ★
README
crag
**Your rules. Every agent. Verified.**
AI coding agents ignore your rules because your rules live in nine different files that all drift apart. crag ends that: one `governance.md`, compiled into exactly the files your tools actually read — and, when you opt in, it verifies that what your agents *learned* is still true before it becomes law.
npx @whitehatd/crag

[](https://www.npmjs.com/package/@whitehatd/crag) [](https://github.com/WhitehatD/crag/actions/workflows/test.yml) [](./LICENSE) [](https://nodejs.org) [](./package.json) [](./benchmarks/leaderboard.md) [](./benchmarks/leaderboard.md)
**[crag.sh](https://crag.sh)** | [Audit Tool](https://crag.sh/audit) | [Leaderboard](https://crag.sh/leaderboard) | [Dashboard](https://app.crag.sh) | [Docs](https://crag.sh/docs) | [VS Code](https://marketplace.visualstudio.com/items?itemName=whitehatd.vscode-crag) | [Neovim](https://github.com/WhitehatD/crag.nvim) | [Status](https://crag.sh/status)
The problem
You told Cursor to run the linter. You told Claude Code too, in a different file. Copilot has a third file. Then you changed the rule — in one of them.
Now every agent follows a different version of your rules, your CI enforces a fourth, and nobody di
Related Skills
Ali Kiro
One-command cross-platform installer & manager for AI coding assistants: OpenCode, Claude Code, Codex, Cursor,
Aethos Memory
Universal, cross-tool persistent memory bank for AI assistants (Claude Code, Cursor, Windsurf, OpenCode, Codex
Mihani
Mihani is a cross-platform desktop workspace for AI coding agents. Connect Codex, Claude Code, Cline, OpenHand
Ouro Loop
Give AI coding agents (Claude Code, Cursor, Aider, Codex) a structured autonomous loop with guardrails — bound
Rules As Skills
Encode MUST/NEVER constraints as installable, cross-platform skills for AI agents. Three-layer model gives dyn
AI Software Factory
Self-hosted, open-source AI Software Factory: a Governance Controller that orchestrates heterogeneous coding a
Related Agents
Ensemble Curator
High-volume triage agent for external-AI-agent PRs (Codex, Jules, Hermes, Droid, Aider, etc.). Analyzes, conso
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode