system-map
Skill2 starsChanged 4 months agoMITView on GitHub
Generates or updates the SYSTEM PACK (<prefijo>-sistema, the junctions and the mental model that live in no repo) and the mapa-sistemas index. Use when the system has ≥2 repos with packs, when asked for "the system map"/"how the repos connect", or when /spec-create detects the system pack is missing.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- rivendale/hsi-operatortheir own version, first seen Nov 7, 2026
- lifemixture/ai-orchestration-repotheir own version, first seen Oct 11, 2026
- tslateman/skillstheir own version, first seen Oct 11, 2026
- brian-bell/agent-skillstheir own version, first seen Sep 26, 2026
- atleronningen/skillstheir own version, first seen Aug 2, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- rivendale/hsi-operator★ 2same name
- brian-bell/agent-skills★ 1same name
- tslateman/skills★ 1same name
- atleronningen/skills★ 0same name
- lifemixture/ai-orchestration-repo★ 0same 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 repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- as-is-learnSkill
- as-isSkill
- as-is-syncSkill
- clarifySkill
- consistencySkill
- context-reportSkill
- convergeSkill
- harness-initSkill
- implement-taskSkill
- orchestrateSkill
- repo-addSkill
- repo-mapSkill
- spec-createSkill
- spec-reviewSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
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
- Very specific: line 25
ALL repos and their seals.
- Very specific: line 46
Create the context skill <prefix>-architecture from templates/skill-architecture.md (fill {{PREFIX}}, {{SYSTEM}}, {{REPO_TRIGGERS}} = the …
- Distinctive: line 50
NOT re-index or re-read code for what is already documented.
- Distinctive: line 58
ASK. Never normalize silently.
“Common” is measured: kept by at least 6 in 10 of the 5 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.
Files
Generate .claude/skills/<prefijo>-sistema/SKILL.md (prefix =
registry_pack_prefix from repo-lib) and update the index
.claude/skills/mapa-sistemas/SKILL.md. The system pack carries what
lives in no repo: the mental model and the junctions.
1. Inputs
- Full registry (repos.yaml) + current seals (
stamp_of_repo). - System as-is:
knowledge/as-is/system.md(cross-repo graph) — regenerate if it is old. - The existing per-repo packs (
<prefijo>-*): the junctions are born from crossing their two ends. If the pack of a central repo is missing, generate that one first with /repo-map (or ask the human whether to prioritize). - Verification of each junction AT BOTH ENDS of the code: an arrow asserted by only one side is a hypothesis, not a fact.
2. Write the system pack
- Template:
templates/pack-system.md; frontmattergenerado_desde:with ALL repos and their seals;verificado:today. - The ⭐ mental model is THE claim that changes how the system is understood (with its cross-repo evidence chain). If there is not one yet, say so honestly: "I have not yet found the central claim".
- "Pitfalls" and "What I DON'T know" never empty. Budget ~150 lines;
detail goes to
references/.
3. mapa-sistemas index
- Template:
templates/pack-index.md: table of systems with the REAL context state (which packs exist, which are current — usescripts/freshness.sh checkandscripts/assertions.sh), where to start, and "What I DON'T know".
4. AS-IS architecture document (knowledge, arc42 + C4)
- Author/refresh the curated narrative in
knowledge/architecture/<system>.narrative.md(seed it fromtemplates/knowledge-architecture.narrative.mdon first run): mental model, seams, endpoints, decisions, risks — the analysis that lives in no repo. The derived data (topology, dependencies, metrics) is injected by the generator. - Generate both formats:
./scripts/generate-architecture.shwritesknowledge/architecture/<system>.{md,html}. - Create the context skill
<prefix>-architecturefromtemplates/skill-architecture.md(fill{{PREFIX}},{{SYSTEM}},{{REPO_TRIGGERS}}= the system's repo names/aliases,{{SEALS_FRONTMATTER}},{{FECHA}}) so agents load the document as context on those triggers and do NOT re-index or re-read code for what is already documented.
5. Assertions, verification and closure
- Each important junction → assertion in
scripts/assertions.d/<sistema>.sh(ideally one per end). Run the suite: green is mandatory. scripts/freshness.sh checkgreen for the touched packs.- INCONSISTENCIES (the as-is graph contradicts a pack, a junction is not confirmed at the other end, an ADR is refuted): STOP AND ASK. Never normalize silently.
- Commit:
docs(packs): pack de sistema <prefijo>-sistema + indice. - Final summary: mental model + map of verified arrows + what is missing.
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.

