agentleFS
pengqianhanpengqianhan/open-paper-skills/skills/explain-anything-html/SKILL.md

explain-anything-html

Skill2 starsChanged 5 months agoMITView on GitHub

Use when the user asks for a rich explanation of a research paper, blog post, article, documentation, or any complex concept. Produces HTML output. Use this skill whenever the user wants to deeply understand or explain a paper, blog, or hard idea — e.g. "explain this paper", "help me understand this blog post", "break down this concept" — even if they don't explicitly ask for HTML.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Don't use ASCII diagrams. Always use simple HTML designs for your diagrams, HTML lists for lists of things, etc.

    line 24
  2. Very specific:

    Before saving the file, scan each code block in the HTML source and confirm its CSS includes white-space: pre or pre-wrap.

    line 27
  3. Distinctive:

    Use callouts for key concepts or definitions, important edge cases, etc.

    line 29

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Explain Anything

Please make me a rich, interactive explanation of the specified subject — a paper, a blog post, an article, or any complex concept.

It should have these sections:

  • Background: Explain the existing context relevant to this subject. (You should broadly explore the source material — and, where useful, the related work or prerequisite ideas it builds on.) We don't know how much the reader already knows, so include a deep background for beginners (note that it can be skipped if the reader is already familiar), and then a more narrow background directly relevant to the subject.
  • Intuition: Explain the core intuition — the paper's central idea, the blog's key argument, or the essence of the concept. The focus here is to explain the essence, not the full details. Use concrete examples with toy data. Use figures and diagrams liberally.
  • Walkthrough: Do a high-level walkthrough of the substance — the methods, arguments, results, or key sections. Group/order the material in an understandable way rather than just following the source order when a different order explains it better.
  • Quiz: Come up with five questions that test the reader's knowledge of this subject. This should be medium difficulty, difficult enough that you actually need to understand the substance to answer them, but not gotchas. The goal is to help the reader make sure that they've actually understood. These should be presented as interactive multiple-choice questions, and when the user clicks, it tells them whether they were correct and gives feedback.

Format:

  • Output a single self-contained HTML file which includes CSS and JavaScript. Make the whole thing one long page with section headers and a table of contents. Don't use tabs for the top-level structure. Basic responsive styling so you can view it on a phone is nice too. Put the file in a global place on my computer outside of the code repo, and make sure the filename always starts with today's date in YYYY-MM-DD- format, because it helps keep the files time-sorted and out of version control. For example: /tmp/2026-01-12-explanation-<slug>.html
  • Please write with the clarity and flow of Martin Kleppmann, making it engaging and written in classic style. Transitions between sections should be smooth.
  • Some tips on diagrams. Ideally, you should pick a small number of diagram families that can be reused throughout the explanation to explain various cases. Some useful kinds of diagrams:
    • A schematic or conceptual diagram that illustrates the key idea, before/after states, or how the pieces relate. Make it concrete with example values where you can.
    • A system diagram showing data flow or the relationship between components/steps. Make sure to include example data here!
  • Don't use ASCII diagrams. Always use simple HTML designs for your diagrams, HTML lists for lists of things, etc.
    • For code blocks, equations, or any preformatted text, always use <pre> tags. If you use a custom styled div instead, it must have white-space: pre-wrap in its CSS, or the browser will collapse all newlines into a single line. Before saving the file, scan each code block in the HTML source and confirm its CSS includes white-space: pre or pre-wrap.
  • Use callouts for key concepts or definitions, important edge cases, etc.

Adapted from explain-diff-html, which is based on Geoffrey Litt's original skill: https://gist.github.com/geoffreylitt/a29df1b5f9865506e8952488eac3d524

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.