Guides7 stepschecked 6 December 2026

Turn a subject into a graph

Write a subject you know as sources, words and rules that link to each other, with a picture of it and a list of what is missing.

  • A subject you know
  • The pages and files it rests on
A graphthree lists that link
  • A sources listwhere each claim comes from
  • A word listone meaning each
  • A rules listone fact each
  • A picturea mind map
  • A list of gapswhat to fix next

Steps

  1. Step 1: Collect your sourcesList the pages and files your subject rests on, each with a short id, a title and its address.

    What counts as a source?

    A page or file someone can open to check a claim about your subject: a specification, the maker's own documentation, a file in your product. A page that repeats another page is not a source. The page it repeats is.

    Give each one a short id, a title and its address:

    - id: spec
      title: Agent Skills specification
      url: "https://agentskills.io/specification.md"
    

    Does a source have to be official?

    No, but say what it is. The page that describes llms.txt, a list a site keeps for agents, is a proposal by one author. It is not a standard from a standards body. It is still the right source for what an llms.txt file holds, because that is where the claim comes from.

    sources.yaml
        "id": "agent-skills-specification",
        "title": "Agent Skills specification",
        "publisher": "agentskills.io",
        "url": "https://agentskills.io/specification.md",
        "type": "specification",
  2. Step 2: List the wordsGive each word a newcomer would have to look up one sentence, and keep it to one meaning.

    Which words go on the list?

    Every word a newcomer would have to look up, and every word your subject uses in a narrower sense than usual. Each becomes a term: the word, and one sentence that says what it means here.

    - id: description
      term: Description
      definition: The part of a skill that says what the skill does and when to use it.
    

    What if one word has two meanings?

    Keep one meaning and give the other thing a new word. This site builds one dictionary from every guide's words.yaml and stops the build when a word has two meanings. A reader gets one answer wherever they meet the word.

    words.yaml
    - id: rule
      term: Rule
      definition: One sentence about a subject that is true or false and names the source it comes from.
      also: [source, term]
  3. Step 3: Write the rulesWrite each fact as one sentence that is true or false.

    What is a rule?

    One sentence about your subject that is true or false. "The description of a skill is at most 1024 characters" is a rule. "Descriptions should be clear" is not, because nobody can check it.

    - id: description-length
      says: The description of a skill is at most 1024 characters.
    

    How much goes in one rule?

    One fact. If the sentence needs "and", write two rules. A small rule is easy to hold against its source, and an agent can quote it whole.

    Which rules come first?

    The ones people get wrong, and the ones that hold a number. Copy each number from the source as it reads today, not from memory.

  4. Step 5: Find the gapsSend the three lists to the tool. It lists each rule with no source and each source nothing uses.

    What is a gap?

    A place where the graph does not hold together: a rule with no source, an id that names nothing, a source nothing comes from, or one word with two meanings.

    How do I find them?

    Give your three lists to the build_subject_graph tool on this site's connector. It returns each gap with the thing it is on, the kind of gap and a sentence that says what is wrong. There are six kinds:

    • no_source: a rule or a word names no source.
    • unknown_source: a source id is not in your sources.
    • unknown_word: a word id is not in your words.
    • unused_source: nothing comes from this source.
    • two_meanings: two words share a name and differ in meaning.
    • empty: there are no sources, no words or no rules.

    When is the graph ready?

    When the tool returns no gaps and ready is true. Fix the lists, then run the tool again.

  5. Step 6: Draw the pictureOpen the mind map text the tool returns in any Mermaid viewer.

    What does the picture show?

    A mind map. Your subject sits in the middle. Its sources, words and rules sit on branches around it. It is the quickest way to show someone what the subject holds.

    How do I draw it?

    You do not draw it by hand. The tool returns the picture as text in mind_map. Mermaid, a diagram tool, has a mind map that is written as indented text, so any Mermaid viewer draws it. A small one looks like this:

    mindmap
      root((Agent Skills))
        Sources
          Agent Skills specification
        Words
          Skill
          Description
        Rules
          The description of a skill is at most 1024 characters
    

    Can I change the picture?

    Change the lists, not the picture. Run the tool again and the picture is made again. A picture fixed by hand soon says something the lists do not.

  6. Step 7: Use it everywhereMake your pages, your connector and your agents read the same lists.

    Where do the lists get used?

    Everywhere your subject is explained: the pages people read, the answers your connector gives, the instructions your agents follow. When all of them read the same lists, they cannot disagree.

    On this site the Words page and the define_word tool read one list. A person and an agent who ask about the same word get the same sentence.

    What happens when a source changes?

    Read it again, then follow its links. Every rule and word that comes from that source is something to check. Nothing else is.

    Sources do change. The llms.txt proposal once had a special "Optional" section and has since dropped it. A rule written from the older page is now wrong, and its link says which rule that is.

    connector/src/tools/shared.ts
    export const defineWord = tool({
      name: 'define_word',
      title: 'Say what a word means here',
      description: 'Say what a word means in these guides, in one sentence, with other names for it and the guides that use it. Each word has one meaning across every guide. Use it before using a word such as "connector", "skill", "task" or "fingerprint" in an answer.',
    Run
    curl https://guides.hopperlabs.ai/words.md

What you keep

  • A sources list where every entry is used
  • A word list with one meaning for each word
  • A rules list where every rule names its source
  • A mind map made from the lists, never by hand

Did agents get it right?

AgentConnector addedThe guide's own connectorOnly the address
Claude Codeclaude-sonnet-5-518 of 1815 of 181 of 18
Codexgpt-6.2-sol13 of 1814 of 182 of 18

Run 6 December 2026. How the tests are run, and every result

Words used here

Agent
A program that uses an AI model to do a job for someone, reading pages and calling tools as it goes. Claude, ChatGPT, Codex and Gemini are agents.
Connector
An address an agent connects to that offers tools, using the Model Context Protocol (MCP). Often called an MCP server.
Gap
A place where a graph does not hold together, such as a rule that names no source or a source nothing comes from.
Graph
A subject written as things and the links between them, so anyone can follow a claim to where it comes from.
Link
A named connection from one thing in a graph to another, such as a rule that comes from a source.
Mind map
A picture of a subject as a tree, with the subject in the middle and its sources, terms and rules on branches around it.
Rule
One sentence about a subject that is true or false and names the source it comes from.
Source
A page or file a reader can open to check a claim, kept with its address, the date it was read and its fingerprint.
Term
A word or phrase that has one meaning in a subject, kept with one sentence that says what it means.
Thing
One entry in a graph, which here is the subject, a source, a term or a rule.
Tool
One named thing an agent can ask a connector to do, with the facts it needs described well enough for the agent to supply them.

Questions

Do I need a graph database?

No. Three lists in text files are enough. They hold your sources, your words and your rules, and each entry has an id. A link is an id that one list names from another. Anything that reads the lists can follow the links.

What is the difference between a word and a rule?

A word says what something means. A rule says something that is true of it. "Description" is a word. "The description of a skill is at most 1024 characters" is a rule that uses that word.

Can a source be something other than an official standard?

Yes, if the claim really comes from it. Say what kind of page it is. The page that describes llms.txt is a proposal by one author, not a standard from a standards body, and it is still the source for what an llms.txt file holds.

Can a rule have more than one source?

Yes. Put the id of each source on the rule. If two sources disagree, do not blend them into one sentence. Decide which one you follow, and keep only that source on the rule.

What do I need to see the mind map?

Any Mermaid viewer. The tool returns the mind map as indented text, which is how Mermaid writes one. Paste the text into the viewer and it draws the picture.

How does an agent use my graph?

It reads the same lists you do. Put the words and rules behind a connector tool or in a skill, and the agent answers with the sentence you wrote. On this site the define_word tool reads the list the Words page shows.

Sources

Written from the primary pages listed as sources, read 2026-12-06, and from this site's own files. No outside reviewer.