to-map
Skill8 starsChanged 5 days agoMITView on GitHub
Create a new MOC (Map of Content) in atlas/maps/ to aggregate the notes linked to a topic. Scans sources/, knowledge/, atlas/topics/ to find the relevant notes (frontmatter topics:, wiki-links, keywords), pre-fills the atlas-moc-template.md with those notes, offers a review to the user, and saves into atlas/maps/MOC-{slug}.md with subtype: moc. Aligned with LYT/MOC best practices (Nick Milo). Use when a topic has become dense enough (10+ notes) to deserve a navigation entry point.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- GulajavaMinistudio/polya-sdlc-codertheir own version, first seen Oct 25, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- GulajavaMinistudio/polya-sdlc-coder★ 16same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- archive-projectSkill
- captureSkill
- librarianSkill
- mark-readSkill
- review-knowledgeSkill
- sb-doctorSkill
- sb-initSkill
- sb-updateSkill
- start-projectSkill
- summarizeSkill
- todaySkill
- to-knowledgeSkill
- to-minutesSkill
- to-readingSkill
- weekly-reviewSkill
- wrap-upSkill
- write-emailSkill
- write-proposalSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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
- Very specific: line 15
After the last write of a run, add one line to the operations log with --skill to-map, see AGENTS.md, Logging writes.
- Very specific: line 18
Create a navigable MOC in atlas/maps/ for a dense topic.
- Very specific: line 97
No duplicate: if atlas/maps/MOC-{slug}.md already exists, propose an update instead of creating
- Very specific: line 99
Wiki-links: every referenced note must be a valid wiki-link [[Exact Title]]
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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.
Files
Arguments
/to-map <topic> [-t MOC|index] [-m N] [-d depth] [-a auto]
Flags, input and examples are detailed below.
Questions to the owner follow AGENTS.md, Asking the owner.
After the last write of a run, add one line to the operations log with --skill to-map, see AGENTS.md, Logging writes.
<objective>
Create a navigable MOC in `atlas/maps/` for a dense topic. The MOC acts as an Obsidian hub: it aggregates wiki-links to the relevant notes, organized by type/context, and lets a human or an agent grasp a subject at a glance.Aligned with the layered design (atlas/maps/ holds MOCs + indexes) and the practice of building a handful of manual MOCs for the densest topics.
Out of scope: generating the static indexes (use generate_indexes.py for that). Out of scope: creating entity notes (use the conventions in atlas/people/, atlas/services/, atlas/topics/).
</objective>
<quick_start>
/to-map accessibility-audits # MOC on the accessibility-audits topic
/to-map ai-agents # MOC on AI agents
/to-map workspace-methodology # MOC on the workspace methodology
/to-map automation-patterns -t MOC # force the MOC type
/to-map active-clients -t index -d 1 # flat index, depth=1 (just the AGENTS.md files)
/to-map accessibility-audits -m 15 # require 15 notes minimum (default: 10)
/to-map -a accessibility-audits # auto, no confirmations</quick_start>
<flags>| Flag | Long | Description |
-t | --type | Map type: MOC (manual, contextual) or index (flat, listing). Default: MOC |
-m | --min | Minimum note threshold to justify a MOC (default: 10) |
-d | --depth | Scan depth (1 = only files at the root, 2 = includes first-level subfolders, 99 = fully recursive). Default: 99 |
-a | --auto | Skip confirmations |
</flags><workflow>
1. **Init** -> Parse topic, flags, validate that `atlas/maps/MOC-{slug}.md` does not already exist
2. **Scan** -> Find the linked notes (frontmatter, wiki-links, slugs), group by context
3. **Draft** -> Pre-fill the atlas-moc-template with sections per context
4. **Publish** -> User validation, save into atlas/maps/, optionally regenerate the indexes
</workflow><step_files>
| Step | File | Purpose |
| 00 | steps/step-00-init.md | Parse args, check for no duplicate |
| 01 | steps/step-01-scan.md | Scan the notes linked to the topic, group by client/context |
| 02 | steps/step-02-draft.md | Pre-fill the MOC template with structured wiki-links |
| 03 | steps/step-03-publish.md | Validate, save into atlas/maps/, create back-links (optional) |
</step_files>
<state_variables>
| Variable | Type | Set by |
{topic} | string | step-00 |
{slug} | string | step-00 (kebab-case of the topic) |
{map_type} | enum (MOC|index) | step-00 |
{min_notes} | number | step-00 (default 10) |
{depth} | number | step-00 (default 99) |
{auto_mode} | boolean | step-00 |
{target_path} | string | step-00 (atlas/maps/MOC-{slug}.md) |
{notes_found} | list | step-01 (grouped by context) |
{draft_content} | string | step-02 |
{published_path} | string | step-03 |
</state_variables>
<references>| Reference | Used by |
templates/atlas-moc-template.md | step-02 (canonical template) |
.claude/rules/atlas.md | step-00, step-02 (conventions) |
references/moc-patterns.md | step-02 (examples by topic type) |
</references><execution_rules>
- Minimum threshold: at least
{min_notes}notes found (default 10), otherwise refuse/defer - No duplicate: if
atlas/maps/MOC-{slug}.mdalready exists, propose an update instead of creating - Strict frontmatter:
type: note+subtype: moc(orsubtype: indexif-t index) - Wiki-links: every referenced note must be a valid wiki-link
[[Exact Title]] - Group by context: by client/partner, or by type, or by sub-theme depending on density
- No raw listing: a structured MOC aggregates AND comments, not just a dump of links
- Local graph utility: mentally test that the MOC opens a readable local graph in Obsidian </execution_rules>
<entry_point>
FIRST ACTION: Load steps/step-00-init.md
</entry_point>
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
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.

