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 jamestexas/agents --skill explain-workgit clone --depth 1 https://github.com/jamestexas/agentsWrote 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/jamestexas/agents/explain-work)<a href="https://agentmods.dev/skills/jamestexas/agents/explain-work"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/explain-work/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/jamestexas/agents/explain-work"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/explain-work.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.00075 | $0.02324 |
| Opus 5.5 | $0.00030 | $0.00930 |
| Sonnet 5.5 | $0.00015 | $0.00465 |
| Haiku 4.5 | $0.00007 | $0.00232 |
Grade A, and why
explain-work 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 6d 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 — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.
explain-work — review coupled with "explain this to me"
Take one unit of work and explain it at the altitude the available context justifies. The value is not new analysis — it is composing analysis you already produce (structural, ownership, intent) and teaching it. This is a generic skill: it contains no personal or org-specific data. All situated context is read at runtime from sources below, so the skill stays shareable and PII-free.
Output is local only. Post nothing, edit nothing.
Arguments
$ARGUMENTS — <PR number, owner/repo#N, LINEAR-ID, or path> [--deep]
- The target resolves to a PR, a Linear ticket, or a path/diff (auto-detected).
--deepruns the full review-lens panel (see Step 4). Default is a light pass.
Step 0 — Check for prior session context
Before fetching anything, check whether the current session already contains
analysis of the same target. If a /review pass was just
run in this session for the same PR/path, reuse that context rather than
re-fetching. The exception is /review's explain pass: its prompt forbids
reading the review's work, because the join that follows is only worth
anything when the two passes are independent. The layers that are already materialised (file reads,
commit history, inline comment triage, matrix rows) should be treated as the
hard layer from Step 2 — no need to repeat the gh calls or worktree setup.
Signal that session context was reused in the degradation report (Step 6) so the user knows the explanation was built from the live analysis, not a cold fetch.
Step 1 — Resolve the unit of work and authorship
- Detect the input type: PR number /
owner/repo#N→ a PR;[A-Z]+-\d+→ a Linear ticket; otherwise a path or the current diff. - Determine authorship: is this the user's own work or a peer's? For a PR,
compare the PR author to the active
ghlogin (gh api user --jq .login). For a ticket, check the assignee / linked PR author. Authorship sets the teaching emphasis (Step 5).
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.
- 6d ago Changed · +4 lines · -1 tokens per session c8cf031bef48
- 2mo ago Changed · +41 lines 914c76eeba3a
- 3mo ago First seen · 151 lines · 76 tokens per session scan A c93540923acb
explain-work is a skill published in the GitHub repository jamestexas/agents (2 stars, last pushed today), licensed Apache-2.0. It adds 75 tokens to every session and 2,324 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.
explain-work compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| explain-workjamestexas/agents | Skill | 2 | today | Apache-2.0 | A | 75 | Claude Code |
| pr-quizmryll/skills | Skill | 9 | 5d ago | MIT | A | 129 | Claude Code |
| writing-qualityvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 69 | Claude Code, Codex |
| crit-storytomasz-tomczyk/crit | Skill | 1.4k | 3d ago | MIT | A | 47 | Claude Code, Codex |
| mcp-server-reviewpnp/copilot-prompts | Skill | 913 | yesterday | MIT | A | 93 | Claude Code, Codex |
| code-review-csharppnp/copilot-prompts | Skill | 913 | yesterday | MIT | A | 66 | Claude Code, Codex |
| refactor-advisorlaolaoshiren/claude-code-skills-zh | Skill | 928 | yesterday | MIT | A | 104 | Claude Code |