agentleFS
TheAxeCTheAxeC/ordo/skills/explain/tutor/SKILL.md

tutor

Skill0 starsChanged 2 days agoMITView on GitHub

Teach the user one topic over several sessions, in the folder it is run in as a teaching workspace: a mission written from an interview, short self-contained HTML lessons tied to the mission, each with a task that gives feedback, reference documents, a list of trusted resources, and learning records from which, with the mission, the next lesson is chosen; or explain one concept in the conversation, tied to the work at hand, from sources fetched in the run and named in the answer, with --page also as one HTML page in the lesson's form. Triggers on: /tutor, /tutor <topic>, /tutor explain <concept>, /tutor explain <concept> --page, teach me a topic, I want to learn a topic over several sessions, next lesson, explain this concept, explain the method you just offered.

32 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use defuddle, obsidian-cli and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • HK-hubSkill

    defuddle

    Extract clean markdown content from web pages using Defuddle CLI, removing clutter and navigation to save tokens. Use instead of WebFetch when the user provides a URL to read or analyze, for online documentation, articles, blog posts, or any standard web page.

    Also in 5 projects that use this

  • jykimSkill

    obsidian-cli

    Interact with Obsidian using the official CLI to read, search, create, and manage notes, daily notes, tasks, properties, and more. Use when the user wants to query or manipulate vault content via the obsidian command.

    Also in 5 projects that use this

  • wangzhuofengSkill

    json-canvas

    Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.

    Also in 4 projects that use this

  • wangzhuofengSkill

    obsidian-bases

    Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

    Also in 4 projects that use this

  • MicrosoftSkill

    excalidraw-diagram

    Create Excalidraw diagram JSON files that make visual arguments. Use when the user wants to visualize workflows, architectures, or concepts.

    Also in 3 projects that use this

  • GoogleSkill

    teach

    Teach the user a new skill or concept, within this workspace.

    Also in 4 projects that use this

  • +1 more from wangzhuofeng

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 4 are distinctive, and 13 are very specific to this project.

  • 0

    Common

    Most of the 26 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 13

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Ask the user for the concept when the call holds explain with no concept (Stops, "No concept").

    line 43
  2. Very specific:

    Run "Teaching" for a call without explain, and "Explaining" for a call with it.

    line 45
  3. Very specific:

    Read MISSION.md when it exists, since it grounds all teaching and items 2 and 3 depend on it.

    line 50
  4. Very specific:

    Write MISSION.md in the format of references/mission-format.md.

    line 56
  5. Very specific:

    When the user names no exact thing to learn, find the zone of proximal development: read the learning records in learning-records/, work …

    line 66
  6. Very specific:

    Read assets/ and build the lesson from the components already there.

    line 81
  7. Very specific:

    Write anything new that a second lesson could reuse as a component in assets/, and link the lesson to it.

    line 83
  8. Distinctive:

    Never inline code a later lesson would duplicate.

    line 84
  9. Very specific:

    Write the lesson as one self-contained HTML file in lessons/, named 0001-<dash-case-name>.html, the number one higher than the last …

    line 88
  10. Very specific:

    Write the glossary as the Markdown file reference/GLOSSARY.md of the teaching workspace, in the structure that …

    line 105
  11. Very specific:

    Read the conversation for the work at hand: what the session is doing, and where the concept came up, such as a method /grill offered as an …

    line 113
  12. Very specific:

    Every other character separates words, / and .

    line 130
  13. Distinctive:

    Ask the user before a file that stands at the page's path is replaced (Stops, "The page's path").

    line 136
  14. Very specific:

    Write the explanation as one self-contained HTML page at the path, in the lesson's form that "Teaching" item 8, "The lesson", gives, and in …

    line 138
  15. Distinctive:

    Every lesson is tied to the mission, the reason the user is interested in the topic.

    line 193
  16. Distinctive:

    Never trust the model's parametric knowledge, in either mode.

    line 194
  17. Very specific:

    When the user states a preference for how they want to be taught, or something to keep in mind, record it in NOTES.md and refer back to it …

    line 196

“Common” is measured: kept by at least 6 in 10 of the 26 edited versions of this file we could read. “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

Tutor

/tutor <topic> teaches the user one topic over several sessions, from the files of the folder it is run in, the teaching workspace. It leaves behind the workspace's mission, resources, lessons, reference documents, learning records, components and notes. /tutor explain <concept> explains one concept in the conversation and writes no file, except the page of --page and a learning record the user says yes to.

Quick start

/tutor <topic>                     start or continue teaching a topic in this folder, the teaching workspace
/tutor                             the next lesson of this workspace, chosen from its learning records and its mission
/tutor explain <concept>           explain one concept in the conversation, tied to the work at hand
/tutor explain <concept> --page    the same, and write the explanation as one HTML page in the lesson's form

Use instead

WhenUse
The last message did not land and is to be said again/wait-what

What it reads

  1. The call: /tutor with a topic or none, or explain with a concept and with or without --page.
  2. The folder the skill is run in, as "The teaching workspace" lists its files.
    • Its paths resolve from the folder /tutor was run in; only the paths under references/ resolve from this skill's folder.
    • In the explain mode, the folder is a teaching workspace when it holds MISSION.md.
  3. The format pages, each read by the step that writes its file: references/mission-format.md, references/resources-format.md, references/learning-record-format.md and references/glossary-format.md.
  4. In the explain mode, the conversation so far, for the work at hand.
  5. The sources the run fetches.

Steps

The call

  1. Refuse a call that holds --page without explain (Stops, "--page without explain"), naming the three calls: /tutor [<topic>], /tutor explain <concept> and /tutor explain <concept> --page.
    • Done when the refusal stands in the conversation, or the call holds explain or no --page.
  2. Ask the user for the concept when the call holds explain with no concept (Stops, "No concept").
    • Done when the concept is named.
  3. Run "Teaching" for a call without explain, and "Explaining" for a call with it.
    • Done when the mode is chosen.

Teaching

  1. Read MISSION.md when it exists, since it grounds all teaching and items 2 and 3 depend on it.
    • The learning records are read by item 5 when the user names no exact thing to learn, RESOURCES.md by items 4 and 6, and assets/ by item 7, before the lesson is written.
    • Done when MISSION.md is read, or it does not exist.
  2. Interview the user on why they want to learn the topic, when MISSION.md is missing or not populated, or the user is unclear about the mission (Stops, "The mission interview").
    • This is the first job of the run, before any lesson.
    • Without the mission, knowledge is not grounded in real-world aims, lessons feel too abstract, and nothing judges what the user should do next.
    • Write MISSION.md in the format of references/mission-format.md.
    • Done when MISSION.md is populated and the user is clear about the mission.
  3. Confirm with the user before changing the mission (Stops, "The confirmation before the mission is changed").
    • Missions may change as the user develops more skills and knowledge.
    • On the user's yes, update MISSION.md and add a learning record that captures the change.
    • Done when the run changes nothing in the mission, or the user has answered, and after a yes MISSION.md and the learning record are written.
  4. While RESOURCES.md is not well populated, focus on finding high-quality resources that will help the user acquire knowledge, and record them there in the format of references/resources-format.md.
    • Done when RESOURCES.md is well populated.
  5. Choose what the lesson teaches: the exact thing the user names, or else the most relevant thing in the user's zone of proximal development.
    • Choose it so that in each lesson the user always feels challenged "just enough".
    • When the user names no exact thing to learn, find the zone of proximal development: read the learning records in learning-records/, work out the right thing to teach from the mission, and teach the most relevant thing that fits the zone.
    • Done when the one tightly scoped thing the lesson teaches is named.
  6. Design the lesson around a skill the user is going to learn, as "Knowledge, skills and wisdom" describes the two.
    • The knowledge in the lesson is only what that skill requires.
    • Teach the knowledge first, then have the user practise the skill through an interactive feedback loop.
    • Draw the knowledge from the trusted resources of RESOURCES.md.
    • For acquiring knowledge, difficulty is the enemy: it eats the working memory the user needs for understanding.
    • Make the knowledge stick: for skill acquisition, difficulty is the tool, and effortful retrieval is what builds storage strength.
    • Try to design the lesson to build long-term retention by desirable difficulty: retrieval practice (recall from memory), spacing (practice spread over time) and, for skills practice only, interleaving (different but related topics mixed in practice).
    • Teach a skill through an interactive lesson: quizzes and light tasks in the browser, or a guide through a list of real-world actions, such as yoga poses.
    • Give the user feedback on their performance in a feedback loop as tight as possible: at once and, ideally, automatically.
    • Give every answer of a quiz question exactly the same number of words, and of characters where possible.
    • Vary which position holds the correct answer across the questions.
    • Give the user no clue to the answer through formatting or order.
    • Done when the lesson's knowledge, its task and the task's feedback are set.
  7. Read assets/ and build the lesson from the components already there.
    • Reuse of components is the default.
    • Write anything new that a second lesson could reuse as a component in assets/, and link the lesson to it.
    • Never inline code a later lesson would duplicate.
    • A shared stylesheet is the first component every workspace gets, and every lesson links it, so that the lessons look like one course.
    • As the workspace grows, grow the component library with it.
    • Done when each component the lesson uses stands in assets/.
  8. Write the lesson as one self-contained HTML file in lessons/, named 0001-<dash-case-name>.html, the number one higher than the last lesson's, and while writing it, write its reference documents in reference/.
    • The lesson:
      • It is beautiful, with clean, readable typography and layout in the manner of Edward Tufte, since the user returns to the lessons later to review.
      • It is short and fast to complete, since a learner's working memory is very small and the lesson stays within it.
      • It gives the user one tangible win to build on.
      • It is directly tied to the mission.
      • It is in the user's zone of proximal development.
      • It links to other lessons and to reference documents with HTML anchors.
      • It recommends one primary source to read or watch: the highest-quality, highest-trust resource found on the topic.
      • It backs each claim with a citation, a link to an external resource, which makes the lesson more trustworthy.
      • It reminds the user to ask the agent follow-up questions, since the agent is their teacher and helps with anything unclear.
    • The reference documents, as HTML files except the glossary, are the compressed essence of the lesson in a form made for reference at a glance:
      • Lessons will rarely be revisited later, and reference documents will be.
      • Lessons can reference these documents, which are useful for tracking raw units of knowledge useful across lessons.
      • They are beautiful documents that print well.
      • Reference documents suit these topics: syntax and code snippets for programming, algorithms and flowcharts for processes, poses and sequences for yoga, exercises and routines for fitness, and a glossary for any topic with its own nomenclature.
      • Glossaries, in particular, are an essential reference.
      • Write the glossary as the Markdown file reference/GLOSSARY.md of the teaching workspace, in the structure that references/glossary-format.md gives.
      • Once a glossary exists, every lesson adheres to it.
    • Done when the lesson stands in lessons/ and the reference documents that hold its compressed essence stand in reference/.
  9. Open the lesson for the user with a command-line command, where one is available.
    • Done when the lesson is open, or the user is given its path.

Explaining

  1. Read the conversation for the work at hand: what the session is doing, and where the concept came up, such as a method /grill offered as an option of a decision.
    • Done when the work at hand and the concept's place in it are known.
  2. Fetch sources on the concept in this run: high-quality, high-trust resources.
    • Done when the sources the explanation rests on are fetched and read.
  3. Explain the concept in the conversation, tied to the work at hand, from the sources of item 2 alone, as a lesson draws its knowledge from its resources.
    • Each claim cites the source it rests on.
    • The answer names each source fetched.
    • Done when the explanation stands in the conversation.
  4. With --page, write the page as "The page" says.
    • Done when the page stands at its path, or the call holds no --page.
  5. In a teaching workspace, offer a learning record for what the user showed they understand (Stops, "The offer of a learning record"), and write it in learning-records/ in the format of references/learning-record-format.md only on the user's yes.
    • Make the offer once the user has shown in the conversation that they understand the concept, as references/learning-record-format.md, "When to write a learning record", says.
    • Done at once, with nothing offered, when the folder is no teaching workspace or the user has not shown that they understand the concept; otherwise done when the user has answered, and after a yes the record stands in learning-records/.

The page

  1. Name the page from the words of the concept: each run of letters and digits in lower case, joined by hyphens, followed by .html.
    • Every other character separates words, / and . among them, so the name holds no / and no ...
    • A made-up example: the concept a/b ../c gives a-b-c.html.
    • Done when the name is formed.
  2. Choose the page's path: reference/<name> in a teaching workspace, and elsewhere the path the user gives, or the path the user names when asked (Stops, "The page's path").
    • A path that names a folder that exists holds the page under the name of item 1.
    • Done when the path is known.
  3. Ask the user before a file that stands at the page's path is replaced (Stops, "The page's path").
    • Done when no file stands at the path, the user has said yes, or the user has named another path.
  4. Write the explanation as one self-contained HTML page at the path, in the lesson's form that "Teaching" item 8, "The lesson", gives, and in a teaching workspace with the components of assets/ as "Teaching" item 7 says.
    • Done when the page stands at the path.

The teaching workspace

The state of the user's learning is captured in these files of the folder:

  • MISSION.md. The reason the user is interested in the topic, which grounds all teaching, in the format of references/mission-format.md.
  • RESOURCES.md. The list of resources that can be explored to ground the teaching in contextual knowledge, or to acquire knowledge and wisdom, in the format of references/resources-format.md.
  • reference/*.html and reference/GLOSSARY.md. The reference documents: the compressed learnings from the lessons, which are the raw units of learning, such as cheat sheets, reference algorithms, syntax and yoga poses as HTML files, and the glossary as a Markdown file in the structure of references/glossary-format.md.
  • learning-records/*.md. The learning records, which capture what the user has learned and from which the zone of proximal development is worked out.
    • Loosely like architectural decision records in software development, they capture non-obvious lessons and key insights that may be revised later or drive later sessions.
    • Each is named 0001-<dash-case-name>.md, the number one higher each time, in the format of references/learning-record-format.md.
  • lessons/*.html. The lessons: a lesson is one self-contained HTML file that teaches one tightly scoped thing tied to the mission, and it is the primary unit of teaching, in which knowledge and skills reach the user.
  • assets/*. The reusable components shared across lessons: stylesheets, quiz widgets, simulators, diagram helpers and anything else a second lesson could reuse.
  • NOTES.md. A scratchpad for the user's preferences and for working notes.

Knowledge, skills and wisdom

To learn at a deep level, the user needs three things:

  • Knowledge. Captured from high-quality, high-trust resources; for acquiring knowledge, difficulty is the enemy.
  • Skills. Acquired through highly relevant interactive lessons devised from the knowledge; skills are about durability and flexibility, and for skill acquisition, difficulty is the tool.
  • Wisdom. Gained from interaction with other learners and practitioners: testing the skills in the real world, outside the learning environment.

Some topics may need more skills than knowledge: theoretical physics might lean more on knowledge, and yoga more on skills.

Be careful to tell apart two types of learning:

  • Fluency strength. The retrieval of knowledge in the moment, which can give the user an illusory sense of mastery.
  • Storage strength. The retention of knowledge over the long term, which is the real aim the lessons build towards.

Stops

StopWhenWhat it showsWhat resumes it
--page without explain"The call" item 1: the call holds --page and no explainA refusal that names the three calls /tutor [<topic>], /tutor explain <concept> and /tutor explain <concept> --pageThe call typed again
No concept"The call" item 2: the call holds explain with no conceptThe request for the conceptThe concept from the user
The mission interview"Teaching" item 2: MISSION.md is missing or not populated, or the user is unclear about the mission, before any lessonThe questions on why the user wants to learn the topicThe user's answers on why they want to learn the topic; if the user cannot articulate why, the interview goes on before anything is written, as references/mission-format.md, "Push back on vagueness", says
The confirmation before the mission is changed"Teaching" item 3: the mission is to be changedThe change to MISSION.mdThe user's yes, which updates MISSION.md and adds a learning record, or a no, which keeps the mission
The offer of a learning record"Explaining" item 5, in a teaching workspace, once the user has shown they understand the conceptThe learning record to writeThe user's yes, which writes it, or a no, which writes nothing
The page's path"The page" items 2 and 3: outside a teaching workspace with no path given, or a file stands at the page's pathThe request for a path, or the path of the file that stands thereA path from the user, or the user's yes to replace the file

Anti-patterns

Anti-patternWhy it failsDo instead
A lesson taught from the model's own knowledgeIt can teach what is made up, and the user has nothing to check it againstDraw the knowledge from the resources of RESOURCES.md and cite them in the lesson, as "Teaching" items 4 and 8 say
A lesson before the mission is knownThe lesson is abstract, and nothing decides what comes nextInterview the user first, as "Teaching" item 2 says
Code inlined in a lesson that a later lesson would repeatThe lessons drift apart and stop looking like one courseWrite it as a component in assets/ and link it, as "Teaching" item 7 says
A quiz whose answer lengths, formatting or order point to the correct answerThe user answers from the clue, with no retrieval from memoryEqual answers and a varied position, as "Teaching" item 6 says
An explanation written to a file without --pageIt stops the work the user was in to produce a page for an answer of a few paragraphsAnswer in the conversation, and write a page only for --page

Rules

  • Every lesson is tied to the mission, the reason the user is interested in the topic.
  • Never trust the model's parametric knowledge, in either mode.
  • In the teaching mode, write a learning record whenever references/learning-record-format.md, "When to write a learning record", says one is due.
  • When the user states a preference for how they want to be taught, or something to keep in mind, record it in NOTES.md and refer back to it when designing lessons or working with the user.
  • When the user asks a question that appears to need wisdom, by default attempt an answer, but ultimately delegate the question to a community: a place, online or offline, where the user can test the skills in the real world, such as a forum, a subreddit, a real-world class when the budget allows, or a local interest group.
  • Attempt to find high-reputation communities the user can join, and respect the user's preference when they do not want to join one.

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.