From paivot-graph
Triage notes in _inbox to their proper folders and check vault health
npx claudepluginhub paivot-ai/paivot-graph --plugin paivot-graph# Vault Triage Review notes in `_inbox/` and move them to the correct folders. Also check for orphan notes and broken wikilinks. **Vault:** `vlt vault="Claude"` (resolves path dynamically) ## Step 1: Check Inbox List all notes in `_inbox/`: If empty, report: ## Step 2: For Each Inbox Note Read each note and determine: 1. **Type** (from frontmatter): decision, pattern, debug, concept, convention, methodology 2. **Target folder** based on type: - decision -> decisions/ - pattern -> patterns/ - debug -> debug/ - concept -> concepts/ - convention -> conventions/ - m...
Review notes in _inbox/ and move them to the correct folders. Also check for orphan notes and broken wikilinks.
Vault: vlt vault="Claude" (resolves path dynamically)
List all notes in _inbox/:
vlt vault="Claude" files folder="_inbox" --json
If empty, report:
## Vault Triage
_inbox/ is empty. Nothing to triage.
Read each note and determine:
### Inbox Note: [[Note Title]]
Type: <type>
Domain: <domain> (valid/invalid)
Target: <folder>/
Links: <has Related section?> <count> links
Summary: <first paragraph>
Issues:
- <domain not in vocabulary>
- <no Related section>
- <no Tags section>
vlt vault="Claude" move path="_inbox/<Note>.md" to="<folder>/<Note>.md"
If note lacks Related section, search for related notes:
vlt vault="Claude" search query="<keywords>" --json
Suggest top 3 matches, then add:
vlt vault="Claude" append file="<Note>" content="
## Related
- [[<Suggested Link 1>]]
- [[<Suggested Link 2>]]"
Derive tags from domain and add to body:
vlt vault="Claude" append file="<Note>" content="
## Tags
#<derived-tag>"
vlt vault="Claude" delete file="<Note>" permanent
After triaging inbox, check overall vault health:
# Orphans (notes with no incoming links)
orphans=$(vlt vault="Claude" orphans --json)
# Broken wikilinks
broken=$(vlt vault="Claude" unresolved --json)
Report:
## Vault Health
| Metric | Count | Status |
|--------|-------|--------|
| _inbox | N | (should be 0) |
| Orphans | N | (warn if > 10) |
| Broken links | N | (should be 0) |
For each orphan, suggest links:
vlt vault="Claude" search query="<keywords from note>" --json
Add suggested link to the related note (creating an incoming link):
vlt vault="Claude" append file="<Related Note>" content="
- [[<Orphan Note>]]"
For each broken wikilink:
## Vault Triage Summary
Date: <today>
### Moved
- [[Note A]] -> decisions/
- [[Note B]] -> patterns/
### Fixed
- Added Related section to [[Note C]]
- Added tags to [[Note D]]
- Linked orphan [[Note E]] to [[Project X]]
### Deleted
- [[Note F]] (not vault-worthy)
### Remaining Issues
- N orphans still need linking
- N broken wikilinks need resolution
### Vault Health
- Total notes: N
- _inbox: 0
- Orphans: N
- Broken links: 0
Valid domains: