explain-depth
Skill3 starsChanged 6 months agoMITView on GitHub
js\nasync function getData() {\n fetch('/api/data'); // no await — doesn't wait\n}\n js\nasync function getData() {\n const result = await fetch('/api/data'); // waits\n}\n
In this repository18 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- assumption-checkSkill
- cache-hintSkill
- caveman-summarySkill
- clarify-intentSkill
- code-mapSkill
- compress-contextSkill
- detect-contradictionSkill
- error-to-actionSkill
- format-responseSkill
- humanize-outputSkill
- prevent-redundancySkill
- route-or-answerSkill
- setupSkill
- simplify-scopeSkill
- tone-matchSkill
- tool-call-guardSkill
- validate-outputSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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 64
Do not pad with caveats about the explanation style chosen
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
skill: explain-depth
purpose
Calibrate how deeply to explain something based on who's asking. Stops agents from over-explaining to experts (condescending, wasteful) and under-explaining to beginners (useless). Same question from a senior engineer and a junior needs completely different answers.
when_to_use
- User asked a technical or domain-specific question
- Expertise level materially affects how to answer
- Agent has been giving one-size-fits-all explanations
when_not_to_use
- User's expertise level is already clear from prior turns
- Question has one reasonable explanation depth regardless of audience
- Task is procedural (do X, do Y) — depth calibration doesn't apply
input
question: string # What the user asked
user_signals: string # Vocabulary, context, background clues from message
default_depth: string # "beginner"|"intermediate"|"expert" fallback if signals weakoutput
{
"inferred_level": "beginner|intermediate|expert",
"confidence": "high|low",
"signals_used": ["string"],
"response_strategy": {
"lead_with": "string",
"jargon_allowed": true | false,
"analogies_needed": true | false,
"show_code": true | false,
"depth": "concept_only|concept_plus_example|full_detail"
},
"calibrated_answer": "string"
}instructions
Infer expertise from signals in the user message:
Expert signals: uses domain jargon correctly, asks about edge cases or internals, references specific tools/versions, asks "why" not "what"
Intermediate: understands basics, asks about practical application, one term slightly off
Beginner: asks for definitions, uses non-technical descriptions of technical things, asks "how do I", shows confusion about fundamentals
If signals weak or contradictory: use default_depth.
By level:
beginner: explain concept before solution, use analogy, no jargon without definition, one step at a time
intermediate: skip basics, one short example, jargon fine, mention trade-offs briefly
expert: lead with direct answer, include edge cases and failure modes, jargon and shorthand expected
calibrated_answer is the actual answer — not a plan for how to answer.
Return JSON only.constraints
- Max output tokens: 400
- calibrated_answer must be the real answer, not a meta-description
- Do not pad with caveats about the explanation style chosen
example
Input:
question: "Why does my async function not wait for the API call?"
user_signals: "I'm new to JavaScript. I thought putting async makes it wait."
default_depth: "intermediate"Output:
{
"inferred_level": "beginner",
"confidence": "high",
"signals_used": ["'I'm new to JavaScript'", "'I thought async makes it wait' — shows misunderstanding of async alone vs await"],
"response_strategy": {
"lead_with": "correct the misconception first",
"jargon_allowed": false,
"analogies_needed": true,
"show_code": true,
"depth": "concept_plus_example"
},
"calibrated_answer": "async alone doesn't make code wait — it just means the function is allowed to wait. You also need await in front of the API call.\n\nThink of it this way: async is a sign on a door that says 'waiting is allowed in here.' await is actually sitting down and waiting.\n\nChange this:\n```js\nasync function getData() {\n fetch('/api/data'); // no await — doesn't wait\n}\n```\nTo this:\n```js\nasync function getData() {\n const result = await fetch('/api/data'); // waits\n}\n```"
}feedback_log
<!-- date | situation | what went wrong | better behavior -->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.

