explain-work

explain-work is a skill for Claude Code from jamestexas/agents. It costs 75 tokens per session (2,324 once invoked), scanned A, original, Apache-2.0.

A teaching-style review of a pull request, ticket, or code path. It combines repository ownership rules and ticket context to explain the work and its findings.

In plain words
What is it for?
Use it to onboard someone to a change they own or teach a peer about their pull request, ticket, or code path.
Why use it?
It helps developers understand why a change matters and how to act on review findings, instead of receiving a list of unexplained comments.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Good fit Use it to onboard someone to a change they own or teach a peer about their pull request, ticket, or code path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamestexas/agents/explain-work
Install

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.

Any agent
npx skills add jamestexas/agents --skill explain-work
Clone the repo
git clone --depth 1 https://github.com/jamestexas/agents

Made for: Claude Code.

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 explain-work

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamestexas/agents/explain-work/github.svg)](https://agentmods.dev/skills/jamestexas/agents/explain-work)
Your own site
<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.

agentmods 80×15 button for explain-work

Your own site · 80×15
<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>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,324 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.00075 $0.02324
Opus 5.5 $0.00030 $0.00930
Sonnet 5.5 $0.00015 $0.00465
Haiku 4.5 $0.00007 $0.00232

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

Security

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.

skills/explain-work/SKILL.md · 196 lines

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).
  • --deep runs 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

  1. Detect the input type: PR number / owner/repo#N → a PR; [A-Z]+-\d+ → a Linear ticket; otherwise a path or the current diff.
  2. Determine authorship: is this the user's own work or a peer's? For a PR, compare the PR author to the active gh login (gh api user --jq .login). For a ticket, check the assignee / linked PR author. Authorship sets the teaching emphasis (Step 5).

Read the full file on GitHub · 196 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. 6d ago Changed · +4 lines · -1 tokens per session c8cf031bef48
  2. 2mo ago Changed · +41 lines 914c76eeba3a
  3. 3mo ago First seen · 151 lines · 76 tokens per session scan A c93540923acb

Subscribe to this mod's changes

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.

Related

explain-work compared with skills from other repositories

explain-work next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
explain-workjamestexas/agentsSkill2todayApache-2.0A75Claude Code
pr-quizmryll/skillsSkill95d agoMITA129Claude Code
writing-qualityvercel/eveSkill6.1ktodayApache-2.0A69Claude Code, Codex
crit-storytomasz-tomczyk/critSkill1.4k3d agoMITA47Claude Code, Codex
mcp-server-reviewpnp/copilot-promptsSkill913yesterdayMITA93Claude Code, Codex
code-review-csharppnp/copilot-promptsSkill913yesterdayMITA66Claude Code, Codex
refactor-advisorlaolaoshiren/claude-code-skills-zhSkill928yesterdayMITA104Claude Code