Explain My Project

A command that creates a detailed explanation of a software project, including its architecture, files, technologies, design choices, and lessons learned.

In plain words
What is it for?
Use it to produce an EXPLAIN project document for technical onboarding, documentation, and knowledge sharing.
Why use it?
It turns an unfamiliar codebase into onboarding documentation that explains not just what exists, but how the pieces fit together and why.

Command

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.

agentmods
npx agentmods add commands/eladariel/pseudo-code-prompting-plugin/explain
Clone the repo
git clone --depth 1 https://github.com/EladAriel/pseudo-code-prompting-plugin
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,157 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00035 $0.01157
Opus 5 $0.00017 $0.00579
Sonnet 5 $0.00007 $0.00231
Haiku 4.5 $0.00003 $0.00116

Measured yesterday against content hash 5dc6e3aff943, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Explain My Project 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 yesterday.

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.

commands/explain.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Explain My Project

Generates a comprehensive, engaging technical explanation of your project that covers architecture, structure, technologies, decisions, and lessons learned.

What You Get

Technical Architecture - How your system is designed and why ✓ Codebase Structure - How files/modules connect and relate ✓ Technology Decisions - Why you chose each technology ✓ Lessons Learned - Bugs fixed, pitfalls avoided, best practices ✓ Engaging Writing - Uses analogies and anecdotes, not boring docs

Output Format

A file: EXPLAIN_{project_name}.md

# EXPLAIN: [Project Name]

> An engaging technical explanation covering architecture, structure,
> technologies, decisions, and lessons learned.

## Part 1: What This Project Actually Is
[Clear explanation with analogies]

## Part 2: Architecture Deep Dive
[Technical architecture with examples]

## Part 3: Technology Decisions & Why
[Decision rationale with lessons]

## Part 4: Codebase Structure
[How files/modules connect]

## Part 5: Key Lessons & Pitfalls
[Bugs encountered, fixes, best practices]

## Part 6: Why This Architecture?
[Design justification]

## Conclusion
[Summary and key takeaways]

Usage

Simply say:

Explain my project

Or optionally be more specific:

Explain my project: Payment processing system that handles Stripe integration, webhook callbacks, transaction storage, and refund management. Focus on webhook handling and error recovery.

Get back:

EXPLAIN_payment_processing.md ✓
With comprehensive technical explanation

Key Features

Comprehensive Analysis

  • Architecture: System design, components, data flow
  • Structure: Codebase organization, module relationships
  • Technologies: Why each choice was made
  • Decisions: Technical tradeoffs and alternatives considered
  • Lessons: Bugs fixed, pitfalls avoided, best practices discovered

Engaging Writing Style

  • Uses analogies to explain complex concepts
  • Includes anecdotes and real examples
  • Tells the story of why decisions were made
  • Not boring technical documentation
  • Memorable and educational

Read the full file on GitHub · 172 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. yesterday First seen · 172 lines · 35 tokens per session scan A 5dc6e3aff943

Subscribe to this mod's changes

Explain My Project is a command published in the GitHub repository EladAriel/pseudo-code-prompting-plugin (2 stars, last pushed 6mo ago), licensed MIT. It adds 35 tokens to every session and 1,157 once invoked, about $0.0002 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-31.