ClaudeMap

Abide

Hook-level enforcement for the natural-language rules in AGENTS.md and CLAUDE.md — every edit is judged and violations are repaired in the same turn.

Plugins & Agentshookscode-reviewrulesagents-mdquality

Abide compiles your project instruction files into a committed rubric (.abide/rubric.json), then asks TypeSafe's Jev decision model one typed question per rule on every edit or turn and gets a calibrated probability back — no prose to parse. Verdicts are banded: 0.8 and above tells the agent to repair now, 0.5 to 0.8 leaves you a note the agent does not see, below 0.5 says nothing. In the project's own replay of 93 real Claude Code sessions (1,256 edits, 147 turns, 22 cents), the agent broke a rule no linter can catch on 1 turn in 13, and independent review confirmed 10 of 39 flagged edits and 11 of 15 flagged turns. Setup is four hooks per agent — Claude Code, Codex and OpenCode — installed in about a minute.

What it does

  • Four hooks per agent (session start, turn start, after each edit, end of turn) — npx @coldtea/abide init wires every agent it finds, or name one: claude / codex / opencode
  • Rules live in .abide/rubric.json — every verdict names a rule and every rule quotes the instruction line it came from, so a wrong verdict is a rule you can rewrite
  • Two rule moments: edit-phase after each hunk, turn-phase against the whole diff (“did this add more than was asked” has no answer after edit 1 of 12); scope globs let API routes and stylesheets get different questions
  • calibrate scores every rule against twenty real hunks from your git history and switches off the ones that never fire; tune has the agent rewrite them; audit judges existing files — 33 API routes of a real Next.js app took 12 seconds and about a cent

When to use it

Repos whose AGENTS.md or CLAUDE.md encodes rules no linter can check — “never let a raw error reach a user”, “don't create premature abstractions” — and teams tired of finding the violations in review. Also works as a batch auditor for code the agent has already written.

Getting started

npx @coldtea/abide login    # paste a TypeSafe or Vercel AI Gateway key once
npx @coldtea/abide init     # hooks into every agent on this machine
# or one agent: npx @coldtea/abide init claude
# then start claude / codex / opencode as usual

Things to know

Every check is a cloud call to TypeSafe under your own key — about 300 ms and $0.00004–0.00007 per the project's 2026-09-18 measurement. Changed lines go to TypeSafe and nowhere else, but retention is an arrangement between you and TypeSafe: zero retention means the enterprise tier or a Vercel AI Gateway key sending zeroDataRetention: true. No key or no network means the edit passes unchecked and the miss is logged to .abide/events.jsonl for report to count. Cost and accuracy figures are the project's own benchmark. MIT.

Repository

coldteadotai/abide

Charted

Related on the map

  • CometixCode

    Plugin / Agent

    An unofficial Rust 1:1 reimplementation of the Claude Code terminal UI, ported file-for-file onto an iocraft TUI framework.

    • terminal-ui
    • rust
    • reimplementation
    • unofficial
  • fast-jev-compaction

    Plugin / Agent

    A Claude Code plugin that replaces the lossy compaction summary with Jev-scored pruning: stale tool calls are dropped, and everything kept stays verbatim.

    • plugin
    • context-management
    • compaction
    • function-hooks
  • Anthropic's official Claude Cowork plugin for financial advisors — eight ready-to-run compliance-aware workflows over the firm's own connectors.

    • official
    • plugin
    • finance
    • cowork