Loom maintain
Validate, migrate, discover connections, generate evolution summaries, create Topic Notes, and rebuild indexes for a Loom vault. Use when the user asks to check vault health, migrate a legacy vault, find cross-topic connections, generate evolution reports, create or update Topic Notes, or rebuild indexes.From its SKILL.md
npx -y skills add KKenny0/loom-skills --skill loom-maintainAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.9 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it
Loom Maintain
Vault governance: validate → migrate → connect → evolve → index.
Read First
references/schemas.md<vault-root>/.loom/config.yamlif it exists (vault configuration)
Validate
Run read-only vault health check.
python3 scripts/scan_vault.py <vault-root>
python3 scripts/validate_vault.py <vault-root>
Output: validation report with blocking errors and migration warnings.
Rules:
- Never write files.
- Separate blocking errors from legacy-compatibility warnings.
- Treat legacy warnings as migration candidates, not failures.
Migrate
Scan and migrate a legacy Markdown vault into the Loom schema.
Migration workflow
- Scan vault to inventory: directory presence, note counts by year/status, missing frontmatter, status values, link-only topics, broken links, index existence.
- Propose staged plan:
- Initialize indexes without modifying notes.
- Add missing frontmatter to high-confidence files.
- Normalize status values only if requested.
- Convert selected link-only Topic Notes into synthesis notes.
- Validate links and index consistency.
- Apply only when user explicitly requests writes.
python3 scripts/scan_vault.py <vault-root>
python3 scripts/validate_vault.py <vault-root>
python3 scripts/build_indexes.py <vault-root>
Migration rules
- Default is read-only. Generate report before changing anything.
- Preserve all content and unknown frontmatter.
- Prefer additive changes.
- Do not move assets unless requested.
- Before writing, summarize: files to create, files to update, fields to add, files left unchanged.
Topic Note
Convert trusted research into durable Topic Notes.
Input priority
- Synthesis Pack (from deep-read).
reviewedDaily Notes.- Final or Published Article.
Topic creation flow
Structural decomposition:
- Identify the irreducible generators of the topic.
- Map how they combine to produce observed phenomena.
- Draw ASCII structural diagram.
Depth layers:
- Layer: surface facts → mechanisms → principles → axioms.
- Mark where knowledge is solid vs. uncertain.
Output
- Synthesis Topic Note in
02_Topic_Notes/<Category>/. - Category directories use Pascal_Case.
- Filename:
YYYY-MM-DD_Title-With-Words.md. - When updating, increment minor version (1.0.0 → 1.1.0).
- Schema details in
references/schemas.md(Topic Note section).
Topic rules
- Use calm knowledge-base voice. Not article rhetoric or platform tone.
- Focus on structure, mechanisms, applicability, boundaries, related work, reusable insights.
- Do not default to unreviewed Draft input. If user insists, mark source confidence explicitly.
- Preserve link-only Topic Notes unless user requests synthesis.
- After creating or updating a Topic Note, rebuild indexes (see Index Rebuild).
Connect
Discover and compile structured connections between Topic Notes.
Connection flow
Incremental mode (default when new Topics exist):
- Compare only new/updated Topic Notes against existing Topics.
- Skip pairs already present in CONNECTION_INDEX.
- Full scan only when explicitly requested or when no CONNECTION_INDEX exists.
Multi-perspective contrast:
- Bring different topic perspectives into dialogue.
- Identify where topics support, contradict, or extend each other.
- Moderator synthesis of cross-topic relationships.
Shared generator mapping:
- Find generators that appear across multiple topics.
- Map which phenomena they explain in each context.
Output
- New or updated
00_Index/CONNECTION_INDEX.mdentries.
Connection rules
- Valid types:
迁移,混搭,反转. - Every insight must be concrete and actionable.
- Do not duplicate existing topic pairs in either direction.
- Newest connections first.
- Connect discovers structural links between finalized Topic Notes. It is not a re-analysis of sources — analytical synthesis of raw Source Briefs belongs in deep-read's Synthesis Pack, not here.
Evolve
Generate evolution summaries from existing indexes.
Input
00_Index/TIMELINE_INDEX.md00_Index/TOPIC_INDEX.md00_Index/CONNECTION_INDEX.md- Full Topic Notes only when needed for depth.
Output
- Monthly:
03_Content_Output/Longform/Evolution_YYYY-MM.md - Quarterly:
03_Content_Output/Longform/Evolution_YYYY-QN.md - Annual:
03_Content_Output/Longform/Evolution_YYYY.md
Evolution structure
- 本期新增主题 — new topics with category, core idea, why it matters.
- 本期关键发现 — 3-8 cross-topic findings prioritized over single-topic facts.
- 知识演进趋势 — growth areas, theme changes, exits/archives, overall direction.
- 跨领域连接发现 — from CONNECTION_INDEX filtered by period; cumulative statistics.
- 附录数据 — quantitative metrics.
Token efficiency
- Monthly: read TIMELINE_INDEX (target month) + TOPIC_INDEX + Topic Notes listed as new/updated.
- Quarterly: read 3 monthly TIMELINE sections; prefer existing monthly summaries.
- Annual: read quarterly summaries; only read full Topic Notes for most impactful topics.
- Filter CONNECTION_INDEX by period. Do NOT re-run connection analysis.
Evolution rules
- Do not re-run connection discovery. Use existing CONNECTION_INDEX entries.
- For quarterly/annual, prefer existing lower-period summaries when available.
Index Rebuild
Rebuild deterministic vault indexes.
# Dry run
python3 scripts/build_indexes.py <vault-root>
# Write
python3 scripts/build_indexes.py <vault-root> --write
Rules:
- Match topics by exact title, preserve existing row order.
- Do not generate new knowledge insights during indexing.
- Prefer dry-run before writing.
What ships with it: 6 files
27.1 KB alongside SKILL.md, 4 of them executable
agents/
- openai.yaml180 B
references/
- schemas.md9.8 KB
scripts/
- build_indexes.pyruns4.9 KB
- scan_vault.pyruns4.3 KB
- validate_vault.pyruns2.2 KB
- vault_utils.pyruns5.7 KB