Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add Borda/AI-Rig/plugin install codemap-pyWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/borda/ai-rig/debrief-coding)<a href="https://agentmods.dev/skills/borda/ai-rig/debrief-coding"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/debrief-coding/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/borda/ai-rig/debrief-coding"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/debrief-coding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00069 | $0.03952 |
| Opus 5.5 | $0.00028 | $0.01581 |
| Sonnet 5.5 | $0.00014 | $0.00790 |
| Haiku 4.5 | $0.00007 | $0.00395 |
Grade A, and why
debrief-coding scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Aggregate codemap JSONL telemetry (log root .cache/codemap/logs/ at the git top-level, or CODEMAP_LOG_DIR) via debrief_stats.py; write diagnostic report. Discover legacy flat shards + recursive claude/, codex/, direct/ trees; keep legacy records unattributed. Codex hooks supply runtime-scoped CLI/tool shards, no skill-start events; missing skill telemetry + cross-layer joins remain evidence gaps.
NOT for: validating codemap installation health/integration (use /codemap-py:integration audit); building/querying structural index (use /codemap-py:scan-codebase or /codemap-py:query-code).
Flags
--since <YYYY-MM-DD>— filter to records on or after this date (default: all)--session <id>— filter to a single session UUID--anonymize— runanonymize.pyon the filtered copy of every log shard, all three layers (CLI, skill, tool), before aggregation; replaces qualified names with stable pseudonyms; keeps salt in<log root>/.salt(never in output). Output lands in a fresh run-scoped.cache/codemap/export/<UTC stamp>/preserving runtime topology, shard session stems pseudonymized.--output <path>— select a report path within the project root; relative paths resolve from that root. Default:.reports/codemap/debrief-<YYYY-MM-DD>.md. Both explicit and default paths append-2,-3, … when taken — never overwrite; paths resolving outside the project are rejected.
Step 1: Compute statistics
One helper does all reading, filtering, anonymization and aggregation. Never Read shards yourself: a busy tree holds hundreds of shards (millions of tokens); Read truncates large shards, so a hand-built report rests on a partial dataset with estimated numbers.
PLUGIN_ROOT=$(python "${CLAUDE_PLUGIN_ROOT}/bin/resolve_plugin_root.py" --plugin-name codemap-py) || exit $?; export PLUGIN_ROOT
python "$PLUGIN_ROOT/bin/debrief_stats.py" --arguments="$ARGUMENTS" # timeout: 120000
- Exit
1→ no shards under the resolved log root only when stderr starts withNo codemap telemetry found: relay its message; stop. Any other exit1is a helper crash: relay stderr and stop; never report it as absent telemetry. - Exit
2→ bad arguments (Unknown flag(s), missing value,--sincenotYYYY-MM-DD, output outside the project) or telemetry over its byte/record cap: relay its!line; stop. - Exit
3→anonymize.pyorjoin_avoidance.pyhung past its time cap; the scratch copy is already removed: relay its!line; stop. - Exit
4→ requested anonymization failed: relay its!line and stop; write no report and never fall back to raw statistics. - Exit
0→ one JSON object on stdout; Steps 2–3 use only it.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 17d ago Changed · -4 lines 5742536b29f5
- 1mo ago Changed · -1 lines ed2de8d0f014
- 1mo ago Changed · -32 lines 6b6c9c455ebf
- 1mo ago Changed b33603329511
- 2mo ago Changed · +6 lines 464a9f791f80
- 2mo ago Changed · +4 lines · +69 tokens per session 63931e6d8593
- 2mo ago Changed 6c0afa96df4b
- 2mo ago First seen · 190 lines · 0 tokens per session scan A ad1bdb68545f
debrief-coding is a skill published in the GitHub repository Borda/AI-Rig (31 stars, last pushed yesterday), licensed Apache-2.0. It adds 69 tokens to every session and 3,952 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
debrief-coding compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debrief-codingBorda/AI-Rig | Skill | 31 | yesterday | Apache-2.0 | A | 69 | Claude Code |
| i18n-parityhoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 95 | Claude Code, Codex |
| file-headershoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 101 | Claude Code |
| productivity-scorehoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 67 | Claude Code, Codex |
| dashboard-statushoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 69 | Claude Code, Codex |
| dag-maphoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 65 | Claude Code, Codex |
| regression-watchhoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 82 | Claude Code, Codex |