.claude/skills/archive-attachments/SKILL.md
# Skill: Archive Orphaned Attachments **Command:** `/archive-attachments [--dry-run]` **Model:** 🟢 Haiku **Agent:** None (direct execution) ## Purpose Find and archive attachments that are not referenced in any vault note. Orphaned attachments waste storage and clutter the vault without adding value. ## When to Use - During quarterly vault maintenance - After bulk PDF/PPTX conversions that leave unreferenced files - When Attachments folder grows unexpectedly - Before committing large chang
npx skillsauth add DavidROliverBA/ArchitectKB .claude/skills/archive-attachmentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Command: /archive-attachments [--dry-run]
Model: 🟢 Haiku
Agent: None (direct execution)
Find and archive attachments that are not referenced in any vault note. Orphaned attachments waste storage and clutter the vault without adding value.
# Preview what would be archived (recommended first step)
/archive-attachments --dry-run
# Archive orphaned files
/archive-attachments
Attachments/ not referenced anywhereArchive/Attachments/ preserving folder structureArchive/Attachments/archive-manifest.jsonThese files are never archived:
.gitkeep.DS_StoreREADME.mdThe script reports:
Run the Python script:
python3 .claude/scripts/archive-orphan-attachments.py [--dry-run] [--verbose]
| Flag | Description |
|------|-------------|
| --dry-run | Show what would be archived without moving files |
| --verbose | Show detailed file list |
The manifest tracks all archive operations:
{
"created": "2026-02-01T08:26:26",
"last_updated": "2026-02-01T08:26:26",
"archives": [
{
"date": "2026-02-01T08:26:26",
"files_moved": 1176,
"total_bytes": 826369700,
"files": [
{
"filename": "example.png",
"original_path": "subfolder/example.png",
"size_bytes": 12345
}
]
}
]
}
If a file was archived by mistake:
Archive/Attachments/ to Attachments//vault-maintenance - Full quarterly health check/quality-report - Comprehensive vault metricsnpm run health - Quick health checktools
--- context: fork --- # /youtube Save a YouTube video as both a Weblink (quick reference) and a detailed Page (full analysis). ## Usage ``` /youtube <url> /youtube <url> <optional title override> ``` ## Examples ``` /youtube https://www.youtube.com/watch?v=0TpON5T-Sw4 /youtube https://youtu.be/abc123 AWS re:Invent Keynote ``` ## Prerequisites This skill uses the MCP Docker YouTube tools: - `mcp__MCP_DOCKER__get_video_info` - Video metadata - `mcp__MCP_DOCKER__get_transcript` - Full trans
data-ai
Create and manage git worktrees for parallel agent sessions
testing
--- context: fork --- # /wipe Generate a context handoff summary, clear the session, and resume in a fresh conversation. Detects environment and provides automated (tmux) or manual workflow. ## Usage ``` /wipe /wipe quick # Minimal handoff, just essentials /wipe detailed # Comprehensive handoff with full context ``` ## Instructions When the user invokes `/wipe`: ### Phase 1: Detect Environment First, check the terminal environment: ```bash echo "Environment Detection:"
data-ai
--- context: fork --- # /weekly-summary Generate comprehensive weekly summary from daily notes, meetings, tasks, and project updates using parallel sub-agents. ## Usage ``` /weekly-summary /weekly-summary --last-week /weekly-summary --from 2026-01-01 --to 2026-01-07 /weekly-summary --output page # Create Page note instead of just outputting ``` ## Instructions This skill uses **5 parallel sub-agents** to gather data concurrently from different vault areas, then synthesizes a comprehensi