Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add shdennlin/agent-plugins --skill explaingit clone --depth 1 https://github.com/shdennlin/agent-pluginsWrote 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/shdennlin/agent-plugins/explain)<a href="https://agentmods.dev/skills/shdennlin/agent-plugins/explain"><img src="https://agentmods.dev/badge/skills/shdennlin/agent-plugins/explain/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/shdennlin/agent-plugins/explain"><img src="https://agentmods.dev/badge/skills/shdennlin/agent-plugins/explain.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.00083 | $0.00885 |
| Opus 5.5 | $0.00033 | $0.00354 |
| Sonnet 5.5 | $0.00017 | $0.00177 |
| Haiku 4.5 | $0.00008 | $0.00089 |
Grade A, and why
digest:explain 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 5d 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 — 30 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Explain
Explain code or a change. Examples: $explain src/auth/, $explain "why saga here?", $explain #42, $explain feat/auth --print.
Every flag and target form is listed by ../../scripts/classify-target.sh --help (relative to this directory); that help is the single list. In short: -f/--for <audience>, -t/--teach, -p/--print, -a/--as <kind>. Every target writes a self-contained HTML explainer to the project root (explain-<slug>-<YYYY-MM-DD>.html) with a one-paragraph conclusion; --print writes nothing and answers in chat.
Teach mode
With --teach: read only, in chat, no files, no command with side effects (an existing test or a read-only command is fine). Use the named target; with none, apply the empty-target rule below.
- Infer the reader's purpose and background from the conversation and
-f; pick one to three concepts that help them review, debug or understand the work. - Read the diff, code or findings; read or run (if read-only) a test or one example to follow the user's action to its observable result. Check history for the rationale when it matters and label unsupported rationale as inference; for an external standard, use its authoritative source to separate its rules from the project's choices.
- Open with a short plain-language definition tied to this change; show one test, example or observation and what a mistake would look like; say whether the evidence was read or executed; add a small diagram only if it helps. Expand in follow-ups.
Process
- Classify with the script. Run
../../scripts/classify-target.shwith the raw arguments on stdin. It prints JSON (audience,teach,print,forced,target,kind,slug,resolved_line,branch,base,on_base,diff_empty,gh_ok). Never classify the target yourself. Printresolved_linefirst. - Empty target, first match wins: the conversation holds a finding → conversation mode (inline: read
../../templates/html-explainer.md, write the page, check it with../../scripts/check-explainer.sh <file> --kind stateand fix what it reports); elseon_baseis false,baseis set anddiff_emptyis false → explain the current branch against its base; else printNothing to explain from this conversation yet. Pass a path, symbol, question, #PR, or branch: /digest:explain <target>and stop. prwithgh_okfalse: printgh is unavailable or not logged in, so PR #<n> cannot be read. Pass the branch name instead: /digest:explain <branch>and stop.- Otherwise dispatch the explain agent. Output mode is
printwhenprintis true, elsehtml.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago Changed · -12 lines · -36 tokens per session 61c05761e816
- 3mo ago First seen · 42 lines · 119 tokens per session scan A 600ddf4637c1
digest:explain is a skill published in the GitHub repository shdennlin/agent-plugins (3 stars, last pushed 5d ago), licensed MIT. It adds 83 tokens to every session and 885 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-08-31.
digest:explain compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| digest:explainshdennlin/agent-plugins | Skill | 3 | 5d ago | MIT | A | 83 | Claude Code |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 71 | Claude Code, Codex |
| observability-audit-sessionsIBM/mcp-context-forge | Skill | 4.9k | today | Apache-2.0 | A | 64 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 342 | today | Apache-2.0 | A | 112 | Claude Code |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |
| diagnosing-missing-recordingsPostHog/posthog | Skill | 41k | today | none | A | 76 | Claude Code, Codex |