# Cron Job: pirate-vault-analyzer

**Job ID:** 6b7d6e716d1c
**Run Time:** 2026-07-20 09:01:03
**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 — Analyzer Report

## Overall Statistics
| Metric | Value |
|--------|-------|
| **Total notes** | 154 |
| **Total words** | 95,103 |
| **Total links** | 653 |
| **Total tags** | 350 |
| **Avg words/note** | 617 |
| **Avg links/note** | 4 |

---

## Top Tags (186 unique)
| Tag | Count |
|-----|-------|
| #chapter | 14 |
| #homebrew | 13 |
| #npc | 11 |
| #item | 11 |
| #pirate-campaign | 11 |
| #dm-reference | 7 |
| #attuned | 7 |
| #rare | 6 |
| #naval | 5 |
| #worldbuilding | 5 |
| #arc-3 | 5 |
| #player | 4 |
| #factions | 4 |
| #spells | 4 |
| #ship | 4 |

---

## Data Quality Issues

### Orphaned Notes (131)
Over 80% of the vault is orphaned — these notes have **no incoming links** from other notes. Key orphaned sections:
- **Quick Rules** (5 notes) — Crew Orders, Firearms, Morale, Naval Combat, Ship Stats
- **Story/Chapters** (15 notes) — All 14 campaign chapters + Story Trajectory
- **Adventures** (11 notes) — The Convergence End, Dragon Turtle Deal, Drowned King, etc.
- **Ships** (5 notes) — All tiered ship stat blocks
- **Rules & Systems** (30+ notes) — Factions, Items, Locations, Monsters, Spells, Systems
- **Quests** (~10 notes) — Dungeons, Main Quests, One-Shots, Side-Quests
- **Ideas** (~10 notes) — Concept docs, website ideas, Black Flag inspirations
- **Templates** (6 notes) — Adventure, Faction, Item, Location, Monster, Session, Spell
- **Other** — Indices, handouts, session notes, scripts README

### Broken Links (36)
Several categories of broken links detected:

| Category | Examples |
|----------|----------|
| **Missing folders** | `2-World/Adventures/`, `2-World/NPCs/`, `3-Ships/` |
| **Missing notes** | `The Displaced (Faction)` (linked from 4+ notes), `Sea Encounter Generator`, `Crew & Ship Mood`, `Daily Event Roller` |
| **Template placeholders** | `{{related1}}`, `{{related2}}`, `${l.path}` |
| **Stale website refs** | `Adventures/_Index`, `Factions/_Index`, `Items/_Index`, `Ships/Current-Ship`, etc. |
| **Other** | `Convergence Shards`, `The Sahuagin — The Salt-Tribes`, `_Related note_`, `Firearms & Powder Rules` |

---

## Summary
The vault is **substantially sized** (~95K words across 154 notes) with good tag coverage, but suffers from **heavy orphaning** (131/154 notes unlinked) and **36 broken internal links**. Most broken links trace to a handful of missing target pages (e.g., `The Displaced (Faction)`, `Sea Encounter Generator`) and unresolved template placeholders. Fixing those core targets and adding cross-links from the Dashboard/Index notes would significantly improve navigability.
