agentleFS
HybridAIOneHybridAIOne/hybridclaw/skills/llm-wiki/templates/AGENTS.md

hybridclaw / templates

AGENTS.md157 starsChanged 7 months agoMITView on GitHub

This repository is a maintained knowledge base. Treat it like a living wiki, not a loose pile of notes. Before ingesting, querying, linting, archiving, or doing broad cleanup: Adapt this section to the actual domain of the wiki. State what belongs here, what does not, and any domain-specific tags or page types. - wiki/sources/ for source summaries - wiki/entities/ for people, organizations, products, places, or other durable entities - wiki/concepts/ for themes, ideas, frameworks, or topics - wiki/analyses/ for durable…

The file

Show its rules and text

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

19 rules. About 0 are common, 15 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    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. Distinctive:

    Before ingesting, querying, linting, archiving, or doing broad cleanup:

    line 8
  2. Very specific:

    read recent entries from log.md

    line 12
  3. Distinctive:

    search existing wiki pages before creating anything new

    line 13
  4. Distinctive:

    Create additional subdirectories only when the existing families are no longer enough.

    line 35
  5. Distinctive:

    When there is no stronger local convention, maintained pages should start with:

    line 40
  6. Distinctive:

    Keep a bounded taxonomy here and add new tags before using them on pages.

    line 56
  7. Distinctive:

    Create a page when a concept or entity is central to one source or appears meaningfully across multiple sources.

    line 73
  8. Distinctive:

    Update an existing page when new material mainly extends what is already covered.

    line 75
  9. Distinctive:

    Do not create pages for passing mentions.

    line 77
  10. Very specific:

    Never modify source files in raw/ during normal ingest.

    line 84
  11. Distinctive:

    Read before write. Update existing pages instead of creating duplicates.

    line 85
  12. Very specific:

    Keep index.md current whenever pages are added, renamed, or retired.

    line 86
  13. Distinctive:

    When asked to lint the wiki, check for:

    line 95
  14. Distinctive:

    When a page is archived:

    line 109
  15. Distinctive:

    update or remove its index entry

    line 111
  16. Distinctive:

    update important inbound links or note that it was archived

    line 112
  17. Very specific:

    If this wiki lives in an Obsidian vault, preserve the vault's existing conventions and use the separate obsidian skill for vault-specific …

    line 117
  18. Distinctive:

    When there is no stronger local convention, prefer:

    line 122
  19. Distinctive:

    If this repository already uses wikilinks, preserve them.

    line 132

≈ “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

LLM Wiki Schema

This repository is a maintained knowledge base. Treat it like a living wiki, not a loose pile of notes.

Session Start

Before ingesting, querying, linting, archiving, or doing broad cleanup:

  1. read this file
  2. read index.md
  3. read recent entries from log.md
  4. search existing wiki pages before creating anything new

Core Layout

  • raw/ contains immutable source material.
  • wiki/ contains maintained knowledge pages written by the assistant.
  • index.md is the content index.
  • log.md is the append-only activity log.

Domain

Adapt this section to the actual domain of the wiki. State what belongs here, what does not, and any domain-specific tags or page types.

Page Families

  • wiki/sources/ for source summaries
  • wiki/entities/ for people, organizations, products, places, or other durable entities
  • wiki/concepts/ for themes, ideas, frameworks, or topics
  • wiki/analyses/ for durable answers, comparisons, timelines, and synthesis

Create additional subdirectories only when the existing families are no longer enough.

Frontmatter

When there is no stronger local convention, maintained pages should start with:

---
title: Page Title
created: YYYY-MM-DD
updated: YYYY-MM-DD
type: source | entity | concept | analysis
tags: [tag-a, tag-b]
sources:
  - raw/path-or-source-summary
---

Tag Taxonomy

Keep a bounded taxonomy here and add new tags before using them on pages. Suggested starter tags:

  • source
  • entity
  • concept
  • analysis
  • company
  • person
  • product
  • timeline
  • open-question
  • hypothesis
  • contradiction

Page Thresholds

  • Create a page when a concept or entity is central to one source or appears meaningfully across multiple sources.
  • Update an existing page when new material mainly extends what is already covered.
  • Do not create pages for passing mentions.
  • Split pages when they stop being scannable.
  • Archive pages when they are clearly superseded and no longer useful as live pages.

Working Rules

  • Never modify source files in raw/ during normal ingest.
  • Read before write. Update existing pages instead of creating duplicates.
  • Keep index.md current whenever pages are added, renamed, or retired.
  • Append a log entry to log.md for initialization, ingest, query artifacts, and meaningful lint passes.
  • Make provenance explicit. Facts should cite a source page, raw source, or a clearly marked inference.
  • Flag contradictions instead of smoothing them over.

Lint Checks

When asked to lint the wiki, check for:

  • orphan pages
  • broken links
  • invalid or missing frontmatter
  • tags not present in the taxonomy
  • stale claims superseded by newer sources
  • contradictions between related pages
  • pages missing from index.md
  • entries in index.md that no longer exist
  • logs that should be rotated

Archive Workflow

When a page is archived:

  • update or remove its index entry
  • update important inbound links or note that it was archived
  • log the archive action and the reason

Vaults

If this wiki lives in an Obsidian vault, preserve the vault's existing conventions and use the separate obsidian skill for vault-specific behavior.

Default Page Shape

When there is no stronger local convention, prefer:

  1. short summary
  2. key points or claims
  3. evidence or citations
  4. related pages
  5. open questions

Link Style

If this repository already uses wikilinks, preserve them. Otherwise use relative Markdown links.

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.