explain-file
Skill0 starsChanged 9 months agoMITView on GitHub
Read a source file and explain every line in depth. Use when user says "explain this file", "walk me through", "teach me this code", or "what does this do". Designed for learning, not just reading.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- matthewyuh246/Claude_Skillstheir own version, first seen Oct 11, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- matthewyuh246/Claude_Skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository38 other files it gives its agents.
- benchmarkSkill
- experimentSkill
- exploratory-data-analysisSkill
- consciousness-councilSkill
- debugSkill
- teachSkill
- deriveSkill
- networkxSkill
- sympySkill
- docs-lookupSkill
- drive-researchSkill
- notebook-querySkill
- notion-notesSkill
- reflectSkill
- self-improveSkill
- pytorch-lightningSkill
- scikit-learnSkill
- shapSkill
- statsmodelsSkill
- defendSkill
- posterSkill
- pptxSkill
- scientific-slidesSkill
- literature-reviewSkill
- paper-searchSkill
- research-add-fieldsSkill
- research-add-itemsSkill
- research-deepSkill
- research-reportSkill
- researchSkill
- matplotlibSkill
- scientific-visualizationSkill
- seabornSkill
- abstractSkill
- citeSkill
- latex-tableSkill
- report-sectionSkill
- scientific-writingSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Read the entire file with the Read tool.
- Distinctive: line 22
Check imports to understand dependencies
- Distinctive: line 40
Use the Insight block format for key educational points:
- Distinctive: line 48
Never skip "obvious" lines — the user wants EVERYTHING explained
- Distinctive: line 49
If a function calls another function in the codebase, briefly explain what that function does too
- Distinctive: line 50
Use analogies where helpful
- Distinctive: line 51
If you see a potential bug or improvement, mention it but don't derail the explanation
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Explain File — Deep Learning Mode
Trigger
/explain-file <path> or /explain-file (prompts for path)
Instructions
You are teaching a researcher who wants to understand every line. Not a summary — a deep walkthrough.
Step 1: Read the file
Read the entire file with the Read tool.
Step 2: Context scan
- Identify the language, framework, and libraries used
- Check imports to understand dependencies
- Identify the file's role in the larger project
Step 3: Section-by-section explanation
Break the file into logical sections. For each section:
- What it does — plain English, no jargon first
- How it works — the actual mechanism, line by line
- Why this approach — design decisions, alternatives considered
- Math/Theory — if there's underlying math (linear algebra, calculus, ML theory), explain it fully with equations
- Connections — how this section connects to other parts of the codebase
Step 4: Key takeaways
- Summarise the 3-5 most important things to remember
- Note any gotchas or subtle behaviours
- Suggest what to read next in the codebase
Output Format
Use the Insight block format for key educational points:
`Insight ─────────────────────────────────────`
[educational point]
`─────────────────────────────────────────────────`Rules
- Never skip "obvious" lines — the user wants EVERYTHING explained
- If a function calls another function in the codebase, briefly explain what that function does too
- Use analogies where helpful
- If you see a potential bug or improvement, mention it but don't derail the explanation
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

