debrief-coding

debrief-coding is a skill for Claude Code from Borda/AI-Rig. It costs 69 tokens per session (3,952 once invoked), scanned A, original, Apache-2.0.

A diagnostic report tool for codemap usage logs. It reads recorded command and tool activity, optionally filters it by date or session, and can anonymize names before sharing.

In plain words
What is it for?
Use it to analyse recent codemap activity, debug errors, or create an anonymized report of CLI, skill, and tool logs.
Why use it?
It helps investigate failed queries, usage patterns, and gaps in telemetry without exposing project identifiers in the report.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the codemap-py plugin — 6 skills shipped together

Good fit Use it to analyse recent codemap activity, debug errors, or create an anonymized report of CLI, skill, and tool logs.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add Borda/AI-Rig
Claude Code
/plugin install codemap-py

Made for: Claude Code.

Or install codemap-py, the plugin that ships this one along with the rest of its 6 skills.

Wrote 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.

agentmods badge for debrief-coding

README.md
[![agentmods](https://agentmods.dev/badge/skills/borda/ai-rig/debrief-coding/github.svg)](https://agentmods.dev/skills/borda/ai-rig/debrief-coding)
Your own site
<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.

agentmods 80×15 button for debrief-coding

Your own site · 80×15
<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>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,952 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 17d ago against content hash 5742536b29f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugins/codemap-py/claude-skills/debrief-coding/SKILL.md · 163 lines

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 — run anonymize.py on 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 with No codemap telemetry found: relay its message; stop. Any other exit 1 is a helper crash: relay stderr and stop; never report it as absent telemetry.
  • Exit 2 → bad arguments (Unknown flag(s), missing value, --since not YYYY-MM-DD, output outside the project) or telemetry over its byte/record cap: relay its ! line; stop.
  • Exit 3 → anonymize.py or join_avoidance.py hung 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.

Read the full file on GitHub · 163 lines

Changes

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.

  1. 17d ago Changed · -4 lines 5742536b29f5
  2. 1mo ago Changed · -1 lines ed2de8d0f014
  3. 1mo ago Changed · -32 lines 6b6c9c455ebf
  4. 1mo ago Changed b33603329511
  5. 2mo ago Changed · +6 lines 464a9f791f80
  6. 2mo ago Changed · +4 lines · +69 tokens per session 63931e6d8593
  7. 2mo ago Changed 6c0afa96df4b
  8. 2mo ago First seen · 190 lines · 0 tokens per session scan A ad1bdb68545f

Subscribe to this mod's changes

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.

Related

debrief-coding compared with skills from other repositories

debrief-coding next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debrief-codingBorda/AI-RigSkill31yesterdayApache-2.0A69Claude Code
i18n-parityhoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA95Claude Code, Codex
file-headershoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA101Claude Code
productivity-scorehoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA67Claude Code, Codex
dashboard-statushoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA69Claude Code, Codex
dag-maphoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA65Claude Code, Codex
regression-watchhoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA82Claude Code, Codex