dot_config/ai_templates/skills/distill/knowledge/map-filesystem/SKILL.md
Explicitly triggered when the user mentions `map-filesystem-abstract`. It generates or updates atlas files.
npx skillsauth add pascalandy/dotfiles map-filesystemInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate or update .abstract.md and .overview.md files that help AI agents navigate repositories and knowledge folders.
Two core commands: list and update. Both share the same scope logic.
| Command | AI harness | CLI |
|---------|-----|-----|
| list | | |
| List atlas dirs (executive-assistant) | /map-filesystem list | uv run abstract_gen.py list |
| List atlas dirs (all projects) | /map-filesystem list all | uv run abstract_gen.py list --all |
| List atlas dirs (custom root) | /map-filesystem list ~/path | uv run abstract_gen.py list ~/path |
| update | | |
| Update atlas dirs (executive-assistant) | /map-filesystem update | — |
| Update atlas dirs (all projects) | /map-filesystem update all | — |
| Update one specific directory | /map-filesystem update ~/path | — |
all expands scope from executive-assistant to entire ~/Documents/github_local.
CLI-only diagnostics:
| Command | What it does |
|---------|-------------|
| uv run abstract_gen.py scan ~/path | Discover atlas files with filters and output formats |
| uv run abstract_gen.py validate ~/path | Check frontmatter consistency |
| uv run abstract_gen.py orphans ~/path | Find directories missing atlas files |
Before doing anything, run:
uv run ~/.config/opencode/skill/utils/map-filesystem/scripts/abstract_gen.py --help
Treat its output as the source of truth for CLI usage. For a specific subcommand, append --help.
When the user runs /map-filesystem update ~/path:
references/atlas-builder-guide.md.abstract.md and .overview.md, validate.scope: top) and AGENTS.md exists in the target directory, verify the ## Entrypoint section exists word for word per the atlas-builder guide. Add it if missing. Do not modify anything else in AGENTS.md.When the user runs /map-filesystem update or /map-filesystem update all:
Get the list of directories:
uv run ~/.config/opencode/skill/utils/map-filesystem/scripts/abstract_gen.py list
Add --all if the user requested it. Pass a custom path as argument to override the default root.
Create a todo item for each directory path. This gives the user visibility into progress.
Spawn one subagent per directory (Task tool, subagent_type: "worker"). They run in parallel — each directory is independent. Prompt each subagent with:
Read the atlas-builder guide:
~/.config/opencode/skill/utils/map-filesystem/references/atlas-builder-guide.md
Execute those instructions for: <path>
Write or update .abstract.md and .overview.md in that directory.
If this is a top-level atlas (scope: top) and AGENTS.md exists, verify the
## Entrypoint section exists per the guide. Add if missing, touch nothing else.
If child atlases exist, verify wiring in the parent Reference Tree.
Return a short summary of what changed.
Mark each todo complete or cancelled as subagents finish.
Summarize results: N succeeded, M failed, list failures.
| File | Contents |
|------|----------|
| references/atlas-builder-guide.md | Full instructions for writing atlas files |
| references/user-guide.md | Human-readable command reference |
| references/README.md | abstract_gen.py architecture and output formats |
development
Explicitly triggered when the user mentions `wiki-map`. It ingests, queries, lints, or compiles a markdown wiki.
testing
Explicitly triggered when the user mentions `single-skill-creator`. It scaffolds a new `SKILL.md`.
testing
Explicitly triggered when the user mentions `qmd`. It searches local markdown or QMD collections.
development
Explicitly triggered when the user mentions `ontology-map`. It builds, refreshes, or checks an ontology.