agentleFS
criptoguscriptogus/brainstack/skills/index/SKILL.md

index

Skill4 starsChanged 4 months agoMITView on GitHub

Use when maintaining a vault's navigation layer - Maps of Content (MOCs) and the Tree Index - so the knowledge graph stays browsable and new concepts are discoverable.

8 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use search.

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.
  • AnthropicSkill

    search

    Search across all connected sources in one query. Trigger with "find that doc about...", "what did we decide on...", "where was the conversation about...", or when looking for a decision, document, or discussion that could live in chat, email, cloud storage, or a project tracker.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After a capture session that introduced new topics

    line 22
  2. Distinctive:

    When retrieval starts failing because nothing is browsable

    line 23
  3. Very specific:

    Don't use for: creating notes (see capture) or semantic search (see retrieval).

    line 25
  4. Distinctive:

    A MOC without 3 notes is premature: Wait; premature MOCs become graveyards of one or two notes.

    line 70
  5. Very specific:

    The Tree Index is the truth of the graph: If it is stale, retrieval lies.

    line 72
  6. Distinctive:

    MOC without up-link: Every MOC must link to the Tree Index or it is off the map.

    line 85

“Common” is measured: kept by at least 6 in 10 of the 7 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

Index

Notes connect; indexes navigate. Maps of Content (MOCs) and the Tree Index are the vault's navigation layer - the difference between "the knowledge is in there somewhere" and "I know where it is". This skill keeps that layer alive.

When to Use

  • Creating or updating a Map of Content (theme hub)
  • Adding a new concept/entity to the Tree Index
  • After a capture session that introduced new topics
  • When retrieval starts failing because nothing is browsable

Don't use for: creating notes (see capture) or semantic search (see retrieval).

The two layers

Maps of Content (MOCs)

A MOC is a hub page for a theme: links to all notes on that theme, ordered and annotated. One MOC per significant theme.

  • Create a MOC only when 3+ notes exist on the theme. Before that, the notes link to each other directly.
  • Update the existing MOC whenever a note joins the theme.
  • A MOC links down (to its notes) and up (to the Tree Index).

Tree Index

The single page that mirrors the whole vault's structure - every concept, entity, and theme in one tree. It is the map of the brain:

# Tree Index

## Knowledge areas
- AI & Technology
  - LLM Architecture
    - [[Attention]]
    - [[Scaling Laws]]
- Business
  - ...

## Entities
- People: [[Jane Doe]], [[John Smith]]
- Organizations: [[Org X]]
- Projects: [[Project Y]]
  • Add new concepts/entities as they are captured.
  • Retitle entries when notes are renamed (broken entries rot silently).
  • Remove entries only when notes are archived.

Rules

  • Index on capture, not later. "Later" is a fiction. The capture pipeline includes an index step; do not skip it.
  • A MOC without 3 notes is premature. Wait; premature MOCs become graveyards of one or two notes.
  • The Tree Index is the truth of the graph. If it is stale, retrieval lies. The consolidate skill refreshes it nightly - keep it fed during the day.
  • Name consistency: index entries must match note titles exactly or the links break. Renames require index updates in the same operation.
  • Browsability over completeness: 90% of the navigation value comes from 10% of the index discipline. Do not gold-plate.

Common Pitfalls

  1. Stale Tree Index. The single most common index disease - entries point to renamed or archived notes. Fix on rename, always.
  2. Premature MOCs. One-note MOCs are noise. Wait for 3.
  3. MOC without up-link. Every MOC must link to the Tree Index or it is off the map.
  4. Indexing during consolidation only. Nightly repair works, but a browsable vault during the day is better. Index at capture.
  5. Exact-match drift ("Attention" vs "attention mechanisms"). Keep entries matching note titles exactly.

Verification Checklist

  • New concepts/entities added to the Tree Index
  • MOCs updated (existing) or created only with 3+ notes
  • Every MOC links up to the Tree Index
  • Renames reflected in the index in the same operation
  • Index consistent with note titles (no broken entries)

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.