# Cron Job: pirate-vault-analyzer

**Job ID:** 6b7d6e716d1c
**Run Time:** 2026-07-16 09:01:23
**Schedule:** 0 9 * * *

## Prompt

[IMPORTANT: You are running as a scheduled cron job. DELIVERY: Your final response will be automatically delivered to the user — do NOT use send_message or try to deliver the output yourself. Just produce your report/output as your final response and the system handles the rest. SILENT: If there is genuinely nothing new to report, respond with exactly "[SILENT]" (nothing else) to suppress delivery. Never combine [SILENT] with content — either report your findings normally, or say [SILENT] and nothing more.]

Run vault analyzer on Pirate Campaign vault and report statistics. Navigate to ~/obsidian-vault/Pirate-Campain and run: python3 scripts/analyzer.py --all

## Response

# Pirate Campaign Vault Analysis Report

## Vault Overview
| Metric | Value |
|---|---|
| Total notes | **113** |
| Total words | **48,373** |
| Total links | **460** |
| Total tags | **220** |
| Avg words per note | **428** |
| Avg links per note | **4** |

---

## Top Tags (118 unique total)
| Tag | Count |
|---|---|
| #homebrew | 13 |
| #npc | 11 |
| #item | 11 |
| #pirate-campaign | 11 |
| #attuned | 7 |
| #worldbuilding | 6 |
| #dm-reference | 6 |
| #rare | 6 |
| #spells | 4 |
| #pirates | 4 |
| #player | 3 |
| #locations | 3 |
| #factions | 3 |
| #firearms | 3 |
| #timelines | 3 |
| #monsters | 3 |
| #items | 3 |
| #dm-tools | 3 |
| #session-zero | 3 |
| #uncommon | 3 |

---

## Data Quality Issues

### Orphaned Notes (93)
A significant portion of the vault (**82%**) consists of orphaned notes — notes with no other notes linking to them. Key orphaned folders include:
- `1-Campaign/_Index`
- `2-World/Adventures/*` (12 adventure notes)
- `2-World/_Index`
- `3-Ships/*` (all 5 ship notes)
- `4-Tools/Templates/*` (all 7 templates)
- `5-Ideas/*` (8 idea/planning notes)
- `6-Rules/*` (factions, items, locations, monsters, spells, systems, worldbuilding — ~60 notes)
- `7-Reference/_Index`
- `8-Handouts/_Index`

### Broken Links (47)
There are **47 broken internal links** across the vault. Notable patterns:
- **Dashboard** links to empty folder paths (`[[2-World/Adventures/]]`, `[[2-World/NPCs/]]`, `[[3-Ships/]]`)
- **Templates** contain unresolved variables (`[[{{related1}}]]`, `[[{{related2}}]]`, `[[${l.path}]]`)
- **Ideas & References** link to non-existent notes (e.g., `[[Crew & Ship Mood]]`, `[[Sea Encounter Generator]]`, `[[Current Ship]]`)
- **Rules & World notes** reference a missing `[[The Displaced (Faction)]]` note in multiple places
- **Handouts _Index** references 6 handout templates that don't exist yet
- **`_Index.md`** links to a missing `[[3-Ships/Ships & Naval Tools]]` note

---

## Summary
The vault is well-populated with **113 notes** and nearly **50k words**, but has **major connectivity issues**. Only ~20 notes are actually linked into the graph; the remaining **93 are orphans**. Additionally, **47 broken links** need cleanup — many are placeholders from templates or references to notes that were never created. Priorities for cleanup:
1. Fix template variable links (`{{related1}}`, `${l.path}`)
2. Create or redirect missing referenced notes (`The Displaced (Faction)`, `Sea Encounter Generator`, etc.)
3. Link orphaned index pages and core rules content into the main graph
