diagnose

Solid

Use when an AI Brain vault needs a health check or something feels off: Claude ignores CLAUDE.md, journal entries missing from /weekly, hooks not firing, something broke after a git pull, a friend's install misbehaves, Obsidian crashes or pegs the CPU, a .claude/worktrees folder appeared, Granola/WhatsApp/Slack/Gmail notes stopped arriving, or Windows .ps1 scripts error. Also after major /setup-brain upgrades. Not for debugging code; audits the vault install only.

AI & Automation 36 stars 35 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
52
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /diagnose > **`{SKILL_DIR}`** = this skill's own folder (locally: the directory this SKILL.md lives in; a served brain substitutes the real absolute path before you read this). Shared starter files live at the repo root two levels up: `{SKILL_DIR}/../..`. If a path does not resolve, name the missing file and stop — never guess another location. Tells you whether your second brain is healthy. ## Why Most "Claude is broken" reports trace to one of: - CLAUDE.md missing or has no Vault Map - Hooks not registered, so no auto context-loading - `journal-index.json` stale or malformed, so insights find nothing - `.ps1` files lost their UTF-8 BOM, so Windows PowerShell crashes - ai-brain-starter is many commits behind, so the user is on stale logic `/diagnose` checks all of these in ~5 seconds. It writes nothing, sends no network requests beyond a single `git fetch`, and exits with a status code so it can be wired into CI or cron. ## What to do 1. Find the script: `{SKILL_DIR}/../../scripts/diagnose.sh` (the starter repo root sits two levels above this skill's folder on every install shape). 2. Run it. Pick the right one for the platform: **Mac / Linux:** ```bash bash "{SKILL_DIR}/../../scripts/diagnose.sh" # or pass an explicit vault: bash "{SKILL_DIR}/../../scripts/diagnose.sh" "/path/to/vault" ``` **Windows:** ```powershell pwsh "{SKILL_DIR}/../../scripts/diagnose.ps1" # or: pwsh "{SKILL_DIR}/../../scripts/diagnose.ps1" -Vault "C:\path\...

Details

Author
mycelium-hq
Repository
mycelium-hq/ai-brain-starter
Created
5 months ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category