Analysis v0.13.8 on main

Your instruction files are a codebase. Audit them like one.

cartographer

Proactive periodic auditor of the persistent instruction layer (CLAUDE.md, AGENTS.md, .claude/rules/). Discovers all instruction files in the repo, extracts semantic maps, and surfaces contradictions, dead rules, stale references, scope collisions, and undocumented entities before they cause expensive agent misbehavior. Builds on the Onlooker ecosystem plugin.

Install /plugin install cartographer@onlooker-community

Problem

You have a CLAUDE.md at the root, more in subdirectories, AGENTS.md files, and .claude/rules/, and they grow organically. Two rules contradict each other. A rule is subsumed by a more specific one elsewhere. A reference points at a file that no longer exists. A project rule quietly overrides a global one. Nobody notices until the agent does something wrong.

How it works

  1. On SessionStart, Cartographer audits your CLAUDE.md, AGENTS.md and .claude/rules/ files in a detached background process, once enough time has passed since the last audit, so the session is not blocked.
  2. It builds a semantic map of how those files relate, using claude -p, and reports contradictions, dead rules, stale references, scope collisions, and things on disk that no instruction file mentions.
  3. /cartographer runs a full audit in the foreground. --status, --verbose, --force, --type and --scope adjust it.
  4. Findings are stored locally and emitted as cartographer.issue.found events. A full audit that no longer sees a finding marks it resolved. Cartographer never edits an instruction file or blocks a write.