index
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.
Works with
---
name: index
description: 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.
license: MIT
---
# 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)More Database skills
prisma-mongodb-upgrade
prisma/skills
Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7. Use when a MongoDB project asks about upgrading Prisma, when "upgrade to prisma 7" comes up in a project with provider = "mongodb", or when evaluating a move to Prisma Next. Triggers on "upgrade prisma mongodb", "prisma 7 mongodb", "mongodb prisma migration", "prisma next mongodb".
azure-upgrade
microsoft/azure-skills
Assess and upgrade Azure workloads between plans, tiers, or SKUs, or modernize Azure SDK dependencies in source code. WHEN: upgrade Consumption to Flex Consumption, upgrade Azure Functions plan, change hosting plan, function app SKU, migrate App Service to Container Apps, modernize legacy Azure Java SDKs (com.microsoft.azure to com.azure), migrate Azure Cache for Redis (ACR/ACRE) to Azure Managed Redis (AMR).
azure-cost-optimization
microsoft/azure-skills
Identify Azure cost savings from usage and spending data. USE FOR: optimize Azure costs, reduce Azure spending/expenses, analyze Azure costs, find cost savings, generate cost optimization report, identify orphaned resources to delete, rightsize VMs, reduce waste, optimize Redis costs, optimize storage costs, AKS cost analysis add-on, namespace cost, cost spike, anomaly, budget alert, AKS cost visibility. DO NOT USE FOR: deploying resources (use azure-deploy), general Azure diagnostics (use azure-diagnostics), security issues (use azure-security)

