Show HN: Trigger-tree; see which project docs your AI coding agent reads Trigger-tree, a new open-source tool by developer Hedde, measures which project documentation files AI coding assistants like Claude and Codex actually read, providing heat maps, cold maps, and a live dashboard to identify unread or ignored docs. The tool runs 100% locally with zero model tokens and no cloud or analytics vendors, closing a gap in agent observability by tracking doc discovery per task rather than just tokens or traces. Hedde argues that unread guardrails fail silently, and trigger-tree gives teams evidence to review, reroute, or prune documentation based on actual usage data. See which docs your AI actually discovers. AI coding assistants read your project documentation to decide how to work. trigger-tree shows which docs they discover and use — and which ones they never find. 100% local. Zero model tokens. No cloud, no analytics vendors. ✓ heat & cold maps of your documentation · ✓ live pulse dashboard · ✓ evidence-backed router fixes Website · Privacy policy /Hedde/trigger tree/blob/main/PRIVACY.md · Changelog /Hedde/trigger tree/blob/main/CHANGELOG.md Why measure documentation? why-measure-documentation · Quick start quick-start · Commands commands How it works how-it-works · The improvement loop the-improvement-loop · The dashboard the-dashboard Structuring your docs for discovery structuring-your-docs-for-discovery Configuration configuration · Privacy & data privacy--data Platform support platform-support · FAQ faq · Development development In AI-assisted development, documentation is no longer just for humans — it is the steering wheel . Your CLAUDE.md, conventions, and architecture docs tell the assistant how your team builds software: which patterns to copy, which guardrails to respect, which decisions were already made. When the assistant reads the right doc, it works your way. When it doesn't, it guesses. And here is the uncomfortable part: a rule that is never read protects nothing. Teams invest heavily in writing docs, then assume they work — but an unread guardrail fails silently. You only notice when the AI "ignores" a convention that, in truth, it simply never found. trigger-tree closes that loop. It measures which docs are actually consulted per task, surfaces the ones that never are and why — unrouted? unreferenced? obsolete? , and proves whether your fixes worked. Documentation stops being a hopeful artifact and becomes monitored infrastructure — with a health grade to track sprint over sprint. This measurement doesn't exist anywhere else. Anthropic's own best-practices guide https://code.claude.com/docs/en/best-practices warns that a bloated CLAUDE.md causes instructions to be ignored — so high-performing teams review context ruthlessly. But nothing tells them whether those changes were right . Agent observability platforms Langfuse, Arize, W&B Weave measure tokens and traces; none measure which project docs were read per task. And just as Fallow https://github.com/fallow-rs/fallow made unused-code review evidence-based; trigger-tree gives you evidence to review, protect, reroute, or rescue docs nobody dared judge. | You are | Your question | trigger-tree answers with | |---|---|---| | Senior developer | "Why maintain docs nobody reads?" | Read counts and router gaps per file | | Tech lead | "Was our CLAUDE.md pruning correct?" | Trend: hunting ratio before/after each /tt note | | Product owner | "We track token cost — where's doc utility?" | One A–F documentation health grade | Use this path for /tt slash commands, Claude hooks, and the optional Claude statusline: /plugin marketplace add Hedde/trigger tree /plugin install trigger-tree@trigger-tree /tt setup wires the project; local 200-character prompt previews by default /tt doctor proves this repo is wired and receiving telemetry Work normally for a few sessions — the hooks log silently — then: /tt status snapshot: current heat, lifetime reads, untouched paths /tt insights full heat/cold map report + HTML /tt tips Claude-specific memory and instruction maintenance tips Use this path for Codex lifecycle hooks and natural-language trigger-tree workflows: codex plugin marketplace add Hedde/trigger tree codex plugin add trigger-tree@trigger-tree Start a new Codex thread, review and trust the bundled hooks with /hooks , then ask “Show trigger-tree status” or “Open the trigger-tree live dashboard.” Telemetry is collected automatically from official Codex lifecycle hooks; no wrapper is required. | Claude Code | OpenAI Codex | | |---|---|---| | Install | /plugin marketplace add | codex plugin marketplace add | | Invoke | /tt status , /tt watch , etc. | Ask for the desired trigger-tree workflow | | Hooks | Claude plugin hooks | Codex lifecycle hooks; trust via /hooks | | Statusline | Optional trigger-tree counter | Codex’s built-in /statusline is separate | | Visible after GitHub install | Claude marketplace/plugin list | Configured marketplace and Installed plugins | GitHub install versus OpenAI Curated:the commands above install trigger-tree directly; they do not add it to OpenAI’s public directory. An OpenAI Curated listing requires a separate skills-only submission through the OpenAI plugin portal , followed by review, approval, and an explicit publish step. Claude Code exposes one command with nine subcommands. In Codex, ask for the matching outcome in natural language; the bundled trigger-tree skill runs the same local core. | Command | Does | |---|---| /tt status | Snapshot: current heat, lifetime reads, untouched paths | /tt watch | Live ASCII pulse dashboard tmux split or a new terminal window | /tt watch demo | Dashboard with synthetic events — see it without waiting | /tt insights | Heat/cold map analysis: untouched paths, hunting, trend, task clusters + HTML report | /tt suggestions | Concise scope + max 5 evidence-backed fixes; full stats stay off stdout | /tt tips | Client-aware instruction maintenance: Claude memory/rules or Codex AGENTS.md | /tt note