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 agentmods add commands/joaquimscosta/arkhe-claude-plugins/code-explaingit clone --depth 1 https://github.com/joaquimscosta/arkhe-claude-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/commands/joaquimscosta/arkhe-claude-plugins/code-explain)<a href="https://agentmods.dev/commands/joaquimscosta/arkhe-claude-plugins/code-explain"><img src="https://agentmods.dev/badge/commands/joaquimscosta/arkhe-claude-plugins/code-explain.svg" alt="Measured on agentmods" 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 | $0.00009 | $0.00424 |
| Opus 5 | $0.00005 | $0.00212 |
| Sonnet 5 | $0.00002 | $0.00085 |
| Haiku 4.5 | $0.00001 | $0.00042 |
Grade A, and why
code-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 3d 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.
What it actually says
Code Explanation
Explain complex code sections, algorithms, design patterns, or system architectures with visual aids and step-by-step breakdowns.
Usage
/code-explain <file path or code description>
Examples
Explain a specific file:
/code-explain src/utils/data-transformer.ts
Explain a concept in context:
/code-explain the caching strategy in api/cache-manager.js
Explain an algorithm:
/code-explain the sorting algorithm in utils/sort.py
Explain a design pattern:
/code-explain how the observer pattern is used in event-handler.ts
What You Get
- Overview - What the code does (1-2 sentences)
- Key Concepts - Programming concepts identified
- Visual Diagrams - Mermaid flowcharts, class diagrams, or sequence diagrams
- Step-by-Step Breakdown - Logic explained with line references
- Common Questions - Anticipated "why" and "what if" answers
- Gotchas - Non-obvious behavior and edge cases
Explanation Depth
The explanation depth adapts to code complexity:
| Complexity | Approach |
|---|---|
| Simple | Quick overview, key points |
| Moderate | Diagrams, step-by-step breakdown |
| Complex | Full analysis with patterns, pitfalls, alternatives |
Tips
- Be specific - Point to exact files or functions
- Provide context - Mention your experience level if you want simpler/deeper explanations
- Ask follow-ups - Request deeper dives into specific parts
Integration
Invoke the Skill tool with skill name "doc:code-explanation" and arguments: $ARGUMENTS
For comprehensive examples and detailed methodology, see:
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.
- 3d ago First seen · 69 lines · 9 tokens per session scan A a81a92a47bc6
code-explain is a command published in the GitHub repository joaquimscosta/arkhe-claude-plugins (21 stars, last pushed 20d ago), licensed MIT. It adds 9 tokens to every session and 424 once invoked, about $0.0000 per session on Opus 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-30.
Other commands, from other repositories
level-up
Assess your Claude Code level (0-10) and get a personalized roadmap to the next one.
explain
Provide clear explanations of code, concepts, and system behavior with educational clarity.
psalm
Command "psalm" from Marcel-Bich/marcel-bich-claude-marketplace, covering credo - the preacher's guide, step 0: run setup (recommended), entry point, credo's own teachings and topic: the credo workflow (end to end).
progress
View your CodeSensei learning dashboard — belt rank, XP, streaks, and skills.
recap
Get a summary of everything you learned this session — concepts, quizzes, and progress.
repo-to-course
Turn a codebase into a structured tutorial course — markdown, GitHub Pages site, or interactive HTML.