agentleFS
MicrosoftKnown publishermicrosoft/amplifier-bundle-llm-wiki/AGENTS.md

amplifier-bundle-llm-wiki

AGENTS.md3 starsChanged 6 months agoMITView on GitHub

This file orients bundle maintainers, not end-users. End-users see README.md. A generic Amplifier mode bundle. Ships modes that wrap the Karpathy LLM Wiki pattern. Project-side policy (schema, publish, viewer) lives in projects that use this bundle, not here. This is the load-bearing design choice. See docs/ARCHITECTURE.md for the reasoning. Use /mode-design from amplifier-bundle-modes. Three phases: Drop the result in modes/. Verify it parses by including the bundle in a test project and /mode list. The bundle is dogfooded in a…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

The file

We split this AGENTS.md into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 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.

  • 4

    Very specific

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

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

    Use /mode-design from amplifier-bundle-modes.

    line 33
  2. Very specific:

    When the bundle is published to GitHub, switch the include to a git+https:// URL.

    line 54
  3. Distinctive:

    After editing a mode, verify it parses by activating it in your dogfooding project:

    line 58
  4. Very specific:

    Run /mode list — your mode should appear (unless advertised: false)

    line 60
  5. Very specific:

    If activation fails, check the mode's name: field and YAML syntax

    line 62

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

AGENTS.md — amplifier-bundle-llm-wiki

This file orients bundle maintainers, not end-users. End-users see README.md.

What this is

A generic Amplifier mode bundle. Ships modes that wrap the Karpathy LLM Wiki pattern. Project-side policy (schema, publish, viewer) lives in projects that use this bundle, not here.

Layout

modes/              # the 5 modes — markdown with YAML frontmatter
context/            # context files contributed by modes on activation
scripts/            # reference implementations of project-side scripts
agents/             # specialist agents contributed by modes
examples/           # minimal worked example for new adopters
docs/               # architecture, design decisions, extension points
bundle.md           # bundle metadata + body

Mechanism vs policy

This is the load-bearing design choice. See docs/ARCHITECTURE.md for the reasoning.

Bundle ships (mechanism)Project supplies (policy)
Mode bodies orchestrating generic procedures.wiki/context/schema.md — entity types, JSON shape, frontmatter conventions
Contributed context (abstract procedures, schema discipline).wiki/scripts/publish.sh — project-specific publish step
Reference scripts at known pathsOptional project-local mode overrides in .amplifier/modes/

Authoring new modes

Use /mode-design from amplifier-bundle-modes. Three phases:

  1. Intent — 1-2 sentences on trigger, what changes, exit condition
  2. Tool policy + contributions — safe/warn/confirm/block, contributed agents/context/skills
  3. Body draft — delegate to mode-author agent

Drop the result in modes/. Verify it parses by including the bundle in a test project and /mode list.

Dogfooding

The bundle is dogfooded in a separate content-workflow project that adopts it. When iterating:

  1. Edit here
  2. In ~/dev/wiki/.amplifier/settings.yaml, include this bundle by local path during development:
    includes:
      - bundle: /path/to/amplifier-bundle-llm-wiki   # use your local clone path
  3. Activate a mode in ~/dev/wiki, exercise the workflow, observe failures
  4. Fix here, re-test there

When the bundle is published to GitHub, switch the include to a git+https:// URL.

Validating changes

After editing a mode, verify it parses by activating it in your dogfooding project:

  1. Run /mode list — your mode should appear (unless advertised: false)
  2. Activate with /mode <name> — if it activates without error, the YAML frontmatter is valid
  3. If activation fails, check the mode's name: field and YAML syntax

Regenerate bundle docs after structural changes:

# from the bundle root, via recipes
amplifier run --recipe @foundation:recipes/validate-bundle-repo

This regenerates bundle.dot / bundle.png and validates the bundle structure.

What to read before editing

  • docs/ARCHITECTURE.md — bundle design, extension points, mode handoff pattern
  • bundle.md — bundle metadata + the body injected into project context
  • ~/dev/wiki/references/ (the dogfooding repo) — the 9 LLM Wiki implementations + amplifier-bundle-modes, for reference

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.