Skip to content
Back to skills

Map

ASecurity

Topological mapping of the vault — clusters, dead zones (CLAUDE.md priorities under-represented), critical fragile bridges. Launch before /emerge or /harvestdeep, or monthly from 200+ notes. Analysis only, creates/modifies nothing. Actions via /link (orphans), /emerge (emergence), /harvestdeep (temporal patterns).

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
ai-agentsgobashnode

Works with

  • claude code

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add Zoomma1/get-your-life-together --skill map --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Map?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Map
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zoomma1-map/badge)](https://www.skillsdirectory.com/skills/zoomma1-map)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: map
description: Topological mapping of the vault — clusters, dead zones (CLAUDE.md priorities under-represented), critical fragile bridges. Launch before /emerge or /harvestdeep, or monthly from 200+ notes. Analysis only, creates/modifies nothing. Actions via /link (orphans), /emerge (emergence), /harvestdeep (temporal patterns).
---

# Skill : /map

Analyzes the topological structure of the vault: where ideas concentrate, where dead zones form, which clusters depend on a single bridge note. The main insight is the **dead zone** — a subject prioritized in CLAUDE.md but under-documented in the vault, revealing uncrystallized thinking.

**Recommended order in a vault analysis session:**
1. `/map` → current structural state (clusters, gaps, orphans)
2. `/emerge` → detects clusters of ideas forming something new
3. `/harvestdeep` → patterns over 30 days of daily notes (temporal view)

**Key difference from other skills:**
- `/vault-link` → operational: creates links between existing notes
- `/emerge` → semantic: detects clusters of ideas forming something new
- `/harvestdeep` → temporal: patterns over 30 days of daily notes
- `/map` → **topological**: current state of structure, cluster health, structural gaps

**Recommended frequency:** monthly, or when vault exceeds ~200 notes.

---

## Step 1 — Structural scan

Use Glob and Grep to collect structural data without reading everything. Delegating the scan to parallel agents preserves the main context for transverse analysis that follows and avoids timeouts.

**Note:** Steps 1a-1d are parallelizable. Final aggregation (before step 2) combines all results.

### 1a. Distribution by folder — parallel agents per folder

Launch one agent per root folder. Each agent executes `Glob("**/*.md")` on its path.

**Folders to scan:** `00 - Daily notes/`, `01 - Me/`, `02 - Hobbies/`, `03 - Knowledge/`, `04 - Projects/`, `05 - ISEP/`, `06 - Work/`, `09 - Inbox/`, `99 - Claude Code/`

**Return contract (per agent):**
```json
{
  "dossier": "chemin/absolu/",
  "count": N,
  "notes": ["chemin1.md", "chemin2.md"],
  "status": "success|empty|error",
  "error_msg": "optional (if error)"
}
```

**Edge case handling:**
- **Agent timeout (>30s)**: relaunch the specific folder alone (no parallel). If failure again: return `status: "error"` and continue (partial aggregation).
- **Empty folder**: return `status: "empty"`, count: 0.
- **Vault total <20 notes**: merge batches 1b-1c into a single agent pass (unnecessary parallelism overhead).

### 1b. Orphans — 1 agent per batch of 15-20 notes

From the lists in 1a, create batches of notes in `02 - Hobbies/`, `03 - Knowledge/`, `04 - Projects/`, `05 - ISEP/`, `06 - Work/`. **Exclude `00 - Daily notes/`** (ephemeral links by nature) and `09 - Inbox/` (temporary capture zone).

For each batch, launch an agent with this prompt:

```
For each note in the list (full path):
- Grep(filename_without_extension, path="{VAULT_PATH}") 
  → 0 result = orphan (no note references this file)
Return: { "orphans": ["path/to/note.md"], "batch_size": N, "status": "success|error" }
```

### 1c. Deadends and hubs — 1 agent per batch of 15-20 notes (same batches as 1b)

For each batch of notes (same selection as 1b):

```
For each note in the list (full path):
- Grep("\\[\\[", path="path/to/note.md") 
  → 0 result = deadend (no [[...]] in the note)
- Also count inbound references: how many files contain [[note_name]]?
Return: { 
  "deadends": ["chemin1.md"], 
  "hubs": [{"note": "chemin.md", "inbound_count": 5}],
  "batch_size": N, 
  "status": "success|error" 
}
```

### 1d. Unresolved links — 1 dedicated agent

Launch an agent that greps all [[...]] in the vault, then validates each target:

```
Grep("\\[\\[[^\\]]+\\]\\]", path="{VAULT_PATH}") → all links [[...]]
Extract unique references, then for each link:
- Verify via Glob if the target file exists
- If NOT_FOUND: record as unresolved link, count references
Prioritize links modified <1 month (recency)
Return: { 
  "liens_non_resolus": [
    {"lien": "[[NoteName]]", "referenced_by_count": 2, "references": ["file1.md", "file2.md"]}
  ],
  "total_unresolved": N,
  "status": "success|error" 
}
```

### 1f. Health of INDEX.md — 1 dedicated agent

Launch an agent that verifies the state of each `INDEX.md` in the vault:

```
Glob("**/INDEX.md", path="{VAULT_PATH}") → list all INDEX.md files (exclude Archives/)

For each INDEX.md found:
1. Read the file, extract listed slugs (pattern [[slug]] or [[slug|alias]])
2. Glob(`parent_folder/*.md`) → list actual files in the same folder (exclude INDEX.md itself)
3. Compare:
   - Slugs in INDEX with no corresponding .md file → "dead entry"
   - .md files in folder absent from INDEX → "missing entry"

Return: {
  "index_file": "path/INDEX.md",
  "dead_entries": ["[[non-existent-slug]]"],
  "missing_entries": ["new-file.md"],
  "status": "ok|stale|broken"
}
```

- **`ok`**: no delta
- **`stale`**: missing entries only (new notes not indexed)
- **`broken`**: dead entries (referenced notes that no longer exist)

### 1e. Orphan tickets — sequential bash script

Execute alone (not in parallel):
```bash
bash "{WSL_VAULT_PATH}/99 - Claude Code/scripts/check-orphan-tickets.sh"
```

Store result in `ORPHAN_TICKETS` (list of slugs, may be empty).

**Error handling:** If bash fails → mark `ORPHAN_CHECK_FAILED = true`, continue (not blocking).

### Aggregation (main orchestrator)

Wait for all agent returns (with fallback on timeouts). Consolidate before step 2:
- **Total notes:** sum of counts (1a), minus `00 - Daily notes/`
- **Orphans:** unique list of notes with no inbound reference
- **Deadends:** unique list of notes with no outbound reference
- **Hubs:** TOP 10 by inbound_count
- **Unresolved links:** sorted list by referenced_by_count descending
- **INDEX.md health:** list of INDEX with status `stale` or `broken` (the `ok` ones are ignored)

Steps 2, 3, 4 remain in main context — they require a transverse view only the orchestrator possesses.

---

## Step 2 — Identify clusters

From hubs identified in 1c, retrace link chains via BFS to form thematic clusters.

**Algorithm — BFS clustering:**
1. **Hub selection**: Use TOP 10 hubs by inbound_count. If <10 hubs identified: include all (no filtering).
2. **BFS depth**: 
   - Vault ≥50 notes: max 3 jumps from hub (hub → direct refs ↔ 3rd level)
   - Vault <50 notes: max 2 jumps (avoids artificial super-clusters)
3. **Expansion**: For each hub, collect notes that reference it (inbound) + notes it references (outbound), up to depth limit.
4. **Merging**: Two hubs whose clusters overlap >30% of notes → merge into single cluster.

**Edge cases:**
- If 0 major hubs (no note has inbound_count ≥2): treat each deadend as "micro-cluster", signal general vault fragility.
- If a hub has abnormally high inbound_count (>50% of notes): it's a "super-hub", signal excessive concentration.

**For each identified cluster, calculate:**
- **Central node**: main hub (highest inbound_count in cluster)
- **Size**: number of notes in cluster
- **Density**: ratio (internal links / theoretically possible links). High = notes link heavily; low = gravitation around hub only.
- **Health**: Active (notes modified <1 month) / Stable (1-3 months) / Stagnant (3+ months) / Neglected (never modified).
- **Intercluster connections**: which other clusters does this cluster point to? List links crossing cluster boundaries.

### Structural fragilities — Critical bridge notes

Identify notes that create isolated bridges between clusters:
- **Definition**: a note X is the **only link** between Cluster A and Cluster B.
- **Risk**: if X is deleted, A and B disconnect completely.
- **Action**: these notes are critical for navigability — flag them as "single point of failure" in synthesis.

---

## Step 3 — Identify gaps

Three distinct gap types: **dead zones**, **isolated orphans**, **unresolved links**.

### 3a. Dead zones (main insight)

Compare subjects prioritized in CLAUDE.md (active projects, interests, technical stack) with actual note density in the vault.

| Subject | CLAUDE.md Priority | Notes detected | Clusters | Status |
|---------|-------------------|-----------------|----------|--------|
| [subject] | High / Medium / Low | [N] | [hub1, hub2] | Dead zone / OK / Over-represented |

**Criteria:**
- **High priority + 0-2 notes** → Critical dead zone (ex: a priority project with no design notes)
- **High priority + 3-5 notes, poorly connected** → Moderate dead zone (subject thought but underdeveloped)
- **High priority + active clusters** → OK
- **Low priority + 10+ notes** → Attention sink (absorbs energy without being strategic) — candidate for archive/sorting

### 3b. Orphans with potential value

For each orphan note (1b), auto-qualify:
- **(a) Genuinely isolated?** → Ignore (ex: temp draft, test) → filename pattern = "tmp", "test", "draft", "wip"
- **(b) Not connected but should be?** → High-value candidate for `/vault-link` → rich title or mtime <30d
- **(c) Forgotten insight?** → Flag to {USER_NAME} → relevant business content but mtime >3 months
- **(d) Accidentally abandoned?** → Check modification date (mtime) → long content but not modified

**Automated heuristic:**
- If filename contains "tmp", "test", "draft", "wip", "archive" → class (a)
- If mtime <30d → class (b) (work in progress, not orphaned)
- If mtime >90d + size >500 characters → class (c) (forgotten but valuable)
- Otherwise → class (d) (long, old, rarely consulted)

### 3c. Unresolved links to prioritize

Among unresolved `[[...]]` links (1d), sort by referenced_by_count descending:
- **Multiple references (>2)** → Important thought deserving its own note (create via `/process` or manually)
- **Single references (1)** → Possibly typo or minor note — verify context
- **Link direction** → Read context in the referencing note → determines if true gap or false alarm

---

## Step 4 — Synthesis and presentation to {USER_NAME}

Present the complete map. **Create or modify nothing — everything is recommendation.** {USER_NAME} decides which actions to take.

**Output format:**

```
VAULT MAP — [Date]

## Overview
- Total notes (excluding daily notes): ~[N]
- Daily notes: [N]
- Orphans: [N] (of which [X] have potential value)
- Deadends: [N]
- Unresolved links: [N] (of which [X] have multiple references)
- Orphan tickets: [N] (or "check failed")

## Clusters Map

| Cluster | Central hub | Size | Density | Health | Intercluster connections |
|---------|------------|--------|---------|-------|------------------------|
| [name] | [[note-hub]] | ~N | Strong/Medium/Weak | Active/Stable/Stagnant/Neglected | → [ClusterX] via [[NoteY]], [ClusterZ] via [[NoteA]] |

## Topological narrative
[3-5 sentences describing overall shape: attention distribution, isolated clusters, super-hubs, concentration]

## Single points of failure detected
- [[Note X]] is the unique bridge between [Cluster A] and [Cluster B] — critical
- [[Note Y]] links [Cluster C] to [Cluster D] — verify its health

## Dead zones — CLAUDE.md priorities under-represented

| Subject (CLAUDE.md) | Priority | Vault notes | Cluster(s) | Diagnosis |
|---|---|---|---|---|
| [Project A] | High | 0-2 | — | ⚠️ Critical: thought but not documented |
| [Project B] | Medium | 3-5 | [hub1] | ⚠️ Moderate: underdeveloped |
| [Project C] | High | 8+ | [hub1, hub2] | ✓ OK: active clusters |

## Orphans recommended for `/vault-link`
- [[note]] — relevant content, mtime < 30d (work in progress)
- [[note]] — mtime > 90d + long content (forgotten but valuable)

## Orphan tickets
> [Omit if empty or check failed]
- `[slug]` — in no kanban → link or archive

## High-impact unresolved links
- [[Concept X]] — 4 references, important missing thought
- [[Concept Y]] — 2 references, clarify or typo?

## Health of INDEX.md
> Omit if all INDEX.md are `ok`

| INDEX.md | Dead entries | Missing entries | Status |
|----------|---------------|--------------------|--------|
| `03 - Knowledge/INDEX.md` | — | `new-note.md` | ⚠️ Stale |
| `01 - Me/INDEX.md` | `[[deleted-note]]` | — | ❌ Broken |

Remediation: launch `/vault-link` — Step 6 updates INDEX.md automatically.

## Recommended actions — by impact order

### 1. Secure critical bridges
Verify health (recent mtime) of: [[NoteX]], [[NoteY]]

### 2. Link active orphans
Launch `/vault-link` on the [X] identified orphans

### 3. Fill dead zones
- [Project A] → create spec/design in `03 - Knowledge/`
- [Project B] → link to current tech stack

### 4. Resolve important unresolved links
These concepts appear 3+ times, create the notes: [[...]]

### 5. Analyze emergence and patterns
- Launch `/emerge` for semantic clustering
- Launch `/harvestdeep` for 30-day temporal patterns (complements /map)
```

**Pair-programming compliance:** no autonomous modifications, everything is recommended and subject to {USER_NAME} validation.

## Absolute rules

- **Never create or modify without explicit validation** — /map is analysis, not action. Everything is recommended.
- **Don't use Obsidian plugins** — use Glob and Grep only
- **Exclude `00 - Daily notes/` from orphan/deadend analyses** — ephemeral links by nature. Include in total count.
- **Dead zones = main insight** — must be clearly distinguished from orphans and deadends
- **Redirect to correct skills**: orphans → `/vault-link`, fragile clusters → `/emerge`, patterns → `/harvestdeep`, stale/broken INDEX → `/vault-link` (Step 6)
- **Pair-programming compatible**: present the map and actions, {USER_NAME} decides what to tackle
- **Fallbacks required**: If parallel agent times out → relaunch alone. If empty → continue. If error → report in status.
- **Clustering depth:** max 3 levels (50+ notes) or max 2 (<50 notes) — avoids artificial super-clusters
- **Orphan heuristics**: Auto-classify (a/b/c/d) by filename pattern + mtime + size
- **Minimal vault**: Works on vault >10 notes. <10 notes: merge all agents into one (unnecessary parallelism overhead)
- **Save the graph**: If map is large (>10 clusters), export result or offer link for interactive exploration (optional)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.