Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By onlooker-communityv0.13.4MITIn 1 marketplace
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.
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Proactive, periodic auditor of the persistent instruction layer shaping every Claude Code session.
Cartographer discovers all CLAUDE.md, AGENTS.md, and .claude/rules/ files in your project, builds a semantic map of their relationships, and surfaces contradictions, stale references, dead rules, and scope collisions — before they cause expensive agent misbehavior.
Every other Onlooker plugin is reactive. Cartographer is the exception.
| Finding type | Description |
|---|---|
contradiction | Two rules that cannot both be satisfied simultaneously |
dead_rule | A rule fully subsumed by a more specific rule elsewhere |
stale_ref | A reference to a file path, tool, or command that no longer exists |
scope_collision | A project rule that duplicates or silently overrides a global ${CLAUDE_CONFIG_DIR:-~/.claude}/CLAUDE.md rule |
undocumented_entity | Something that exists on disk — a plugin, a skill — that no instruction file mentions |
Cartographer is part of the Onlooker ecosystem monorepo. It requires the ecosystem plugin to be installed first.
Install Cartographer from the marketplace and it runs automatically:
/plugin install cartographer@onlooker-community
Once enabled, Cartographer audits automatically every 24 hours (configurable). The audit runs as a detached background process — your session is not blocked.
Findings appear in the next /cartographer invocation or in any event log consumer subscribed to cartographer.issue.found.
/cartographer # full audit, foreground
/cartographer --verbose # show all known findings (no bus events)
/cartographer --status # running state + last completion time
/cartographer --force # kill running audit and restart
/cartographer --type=stale_ref # one finding type; skips the other analyzers
/cartographer --scope=src/ # scoped to a subdirectory
All options are optional. Defaults shown:
{
"cartographer": {
"audit_interval_hours": 24,
"phase_timeout_seconds": 180,
"total_timeout_seconds": 600,
"extraction": {
"model": "claude-haiku-4-5-20251001",
"max_output_tokens": 2048
},
"synthesis": {
"model": "claude-haiku-4-5-20251001",
"max_output_tokens": 2048
},
"exclude_paths": [
"node_modules", ".git", "vendor", ".venv",
"dist", ".next", ".nuxt", "build", "__pycache__"
]
}
}
Note: Overriding exclude_paths replaces the entire list. Repeat the defaults plus your additions if you want to extend rather than replace.
Every other check reads the instruction files and tests what it finds against
the filesystem. undocumented_entity runs the other way: it enumerates
entities on disk and flags any whose name appears in no instruction file. That
is the one kind of drift the other checks structurally cannot see — something
absent produces no reference to follow. The mention check is case-sensitive,
so plugins/foo/ documented only as "Foo" is still flagged as undocumented.
This phase only runs as part of a full audit (SessionStart or manual
/cartographer) — it is skipped on the targeted post-write audit that runs
after you edit an instruction file, so editing CLAUDE.md never produces an
omission finding on its own.
{
"cartographer": {
"undocumented_entity": {
"enabled": true,
"globs": ["plugins/*/", "skills/*/"],
"exclude": [],
"max_findings": 20
}
}
}
globs are relative to the repository root, and a glob matching nothing is
simply inert — the defaults do nothing in a repository without those
directories. The list is deliberately opt-in: most of a repository has no
business being named in CLAUDE.md, so only classes where you expect the
documentation to be complete belong here.
Note: as with exclude_paths, overriding globs or exclude replaces the
entire list rather than extending it. Repeat the defaults alongside your
additions if you mean to extend.
claude -p via your existing Claude Code session — no separate API key, no new data recipient.~/.onlooker/cartographer/<project-key>/ on your local machine.~/.onlooker/logs/onlooker-events.jsonl) contains finding excerpts (capped in the payload) but never full file contents.~/.onlooker/cartographer/<project-key>/
├── last_audit_at # unix epoch of last completed audit
├── audit.lock # flock target or PID file
├── audit.log # background audit stdout/stderr
├── extracts/ # per-file content hash cache
├── findings/ # one JSON file per unique finding (atomic writes)
└── dedup/ # empty sentinel per emitted finding hash
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub onlooker-community/ecosystem --plugin cartographerPlugins from other owners that cover similar ground