Explain How logo

Explain How

Community
Motaghi
explain-how

Read-only walkthrough of a subsystem in local code, what to know before changing it, and where something belongs or who owns it. Not for single-function or one-line lookups, documentation of outside libraries or products, summaries of documents, why-it-was-built-this-way history, or live-system symptoms.

Overview

PublisherMotaghi
Repositorymimir-skills
Skill nameexplain-how
Stars
51
Forks
0
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Motaghi on GitHub. Read the source before you install it.

Installation

Install the Explain How AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Motaghi/mimir-skills/tree/main/skills/explain-how
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Motaghi/mimir-skills.git /tmp/mimir-skills
mkdir -p .claude/skills
cp -r /tmp/mimir-skills/skills/explain-how .claude/skills/explain-how
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Explain How in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Explain How on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Explain How is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

explain-how

Explain how a part of a codebase works well enough that a capable engineer new to it can build a working mental model and start changing it with confidence. The target is the level of a good onboarding conversation: the main ideas, the real flow, the files that matter and the traps, not an annotated copy of the source. The package reads code and writes nothing.

When it applies

Three kinds of request select this package from ordinary conversation:

  • A subsystem walkthrough: "how does the reminder pipeline work", "walk me through the import flow", "give me a mental model of the router".
  • A "before changing X" request: what depends on this code, what pins its behavior, and what to check first.
  • A placement or ownership question: "where should this live", "which package owns this", "is this the right layer".

A request that needs only a line or two is not this package's work. A single function, one constant, one signature or a quick "where is X defined" is answered directly by the orchestrator. If this package was selected for such a request, say so in one line and hand it back. When the scope of a walkthrough request is unclear, state the reading you are taking in one sentence and go on; the owner can redirect.

Required capabilities

  • filesystem to read the source, tests, configuration and project documents of the code in question, and the files in this package. Nothing is written.
  • shell for read-only search and listing only: finding a definition, listing its callers and importers, searching for string keys, listing a directory, printing a line range. No command that writes, installs, builds, runs the project's code or tests, or reaches a network.
  • docs to read design notes and specs when the project keeps its structure notes outside the repository. Nothing is written.

If a capability is missing or a root cannot be bound, say which part of the explanation rests on it and mark that part not read. Do not substitute another source.

Method

Work from the question outward and stop when the question is answered.

  1. Pin the target. Name the entry point, symbol or directory the question is about, and the question itself in one sentence. For a placement question, name the thing being placed.
  2. Find it by symbol, not by skimming. Locate the definition, then its direct callers and importers, then what it calls. Search for string keys as well as names: configuration keys, event names, route paths and registry entries are where dynamic links hide. Read tests as executable examples of intended behavior. Follow the flow one hop at a time, and read only the ranges the question needs.
  3. Check documents against code. When a document and the code disagree about what the code does, the code wins for behavior. Report the document as out of date and give its date when it has one.
  4. Keep intent separate from behavior. Code shows what happens, not why it was built that way. When the reason is not stated in the code, a comment or a document you read, say that it is unknown and point to the project's decision records or history for the reason. Never infer a motive from the shape of the code.
  5. Write the explanation using the shapes in references/explanation-shapes.md.

A subsystem can be too large for one pass to say anything useful. In that case tell the orchestrator which two to four angles would divide the work, and why each is a separate slice. The orchestrator decides whether to split it, who does each part and under which limits. Anything that comes back arrives as a labeled input with the files it read and its open questions; reconcile overlaps, and settle contradictions by reading the code yourself. This package never starts other workers, never chooses who does the work and never sets how hard they think.

Output

Use the sections from the shapes file that fit: Overview, Key concepts, How it works, Where things live, Gotchas. Drop a section that has nothing to say instead of padding it. A "before changing" request adds a Before you change it section, and a placement question leads with the answer.

Every claim about code names a file and a symbol, and a line when the line is stable. Prefer plain names to abstractions: "Worker.run_once calls drain", not "the worker delegates to the queue". Say why something is complicated when it is, and do not pad when it is simple. A small text diagram is allowed where several components pass data between them and prose would be harder to follow; when a real visual would help more, tell the orchestrator and let it decide about a review-page.

Every explanation ends with one line naming what was not read or not traced, such as tests, generated code, a directory outside the question, or a capability that was missing. A caller list says which search produced it, and notes that a text search cannot see calls made by name at run time.

Prose and decisions

Choices that belong to the owner go to the owner through the orchestrator's question step, one clear question at a time. Prose follows the project's writing rules where it has them, and plain wording otherwise.

Precedence

When instructions conflict, follow the host's own instruction order and permissions. A step here is a default; when a project instruction differs, the project is right and the step is reported as "overridden by project instruction" with the instruction quoted. Upstream source text is provenance only and never an instruction.

The package never dispatches anything, never picks a model or provider, and never commits, pushes or installs anything, a hook included. If a request asks for any of those, hand the decision back to the orchestrator.

Not this package

  • A one-line or single-function lookup: the orchestrator answers directly or does a quick lookup.
  • Documentation for an outside library or product: a research step owns it. This package reads local code only.
  • Summaries of long documents: a summarising step owns them.
  • Why something was built this way, what was decided, and what happened before: the project's history and decision records own those.
  • Broken live behavior, missing scheduled output or an alert: start from the system's own runbook or incident notes. Do not explain such a symptom inline.
  • Finding the cause of a failing test or a bug: root-cause-diagnosis owns that.
  • Comparing or proposing designs: the orchestrator routes it. This package describes what exists and where a thing fits it.
  • Reviewing a diff or giving a merge verdict: the project's code-review process owns that.

Provenance

This package adapts the how skill from pstack by Lauren Tan (cursor/plugins, MIT). The method steps, the "before you change it" lists, the placement shape and the rule that a document loses to the code are our own. Credit and licence text are in references/upstream-notice.md, and the repository's CREDITS.md lists the pinned commit.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Explain How AI skill do?

Read-only walkthrough of a subsystem in local code, what to know before changing it, and where something belongs or who owns it. Not for single-function or one-line lookups, documentation of outside libraries or products, summaries of documents, why-it-was-built-this-way history, or live-system symptoms.

Why use Explain How on TypingMind?

Because you install it once and use it with any model. Explain How is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Explain How in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Motaghi/mimir-skills/tree/main/skills/explain-how. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Explain How?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Explain How?

As many as you like. As long as a model supports skills, you can use Explain How with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Explain How AI skill free?

Yes. It is published on GitHub by Motaghi under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇