From chezmoi
Diagnose slow chezmoi status performance and identify bottlenecks
How this command is triggered — by the user, by Claude, or both
Slash command
/chezmoi:diagnose-timeoutThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Diagnose chezmoi status Timeout This command helps diagnose why `chezmoi status` is slow by measuring timing for different operations. ## Usage 以下のBashコマンドを**即座に実行**してください: ## What it measures The diagnostic script measures: 1. **Template Expansion**: Time to expand templates (includes 1Password API, Age decryption) 2. **Git Status**: Time for git operations in the chezmoi source directory 3. **Overall chezmoi status**: Total time for the full status check 4. **Network Connectivity**: Checks if network latency affects 1Password API ## Output Example ## Common Causes | Cause |...
This command helps diagnose why chezmoi status is slow by measuring timing for different operations.
以下のBashコマンドを即座に実行してください:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/diagnose-timeout.sh
The diagnostic script measures:
━━━ [chezmoi] Timeout Diagnosis ━━━
1. Template expansion: 3.2s
→ High (includes 1Password API, Age decryption)
2. Git status: 0.1s
→ Normal
3. chezmoi status (total): 3.8s
→ Timeout threshold: 5s
Bottleneck: Template expansion (1Password/Age)
Recommendations:
- Increase timeout: export CHEZMOI_STATUS_TIMEOUT=10
- Optimize 1Password API calls
- Consider caching template results
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Cause | Impact | Solution |
|---|---|---|
| 1Password API | High | Cache results, reduce API calls |
| Age encryption | Medium-High | Optimize encrypted files |
| Git operations | Low-Medium | Check repository size |
| Network latency | Variable | Use offline mode or caching |
After diagnosing:
CHEZMOI_STATUS_TIMEOUTdocs/troubleshooting-timeout.md for solutionsCHEZMOI_STATUS_TIMEOUT environment variable/chezmoi:check - Manual status checkdocs/troubleshooting-timeout.md - Detailed troubleshooting guidenpx claudepluginhub signalcompose/claude-tools --plugin chezmoi/gm-doctorRuns health checks on a local TaskYou-OS installation — validates plugin version, config, daemon status, and executor health. Diagnoses and auto-fixes common issues.
/doctorRuns health check for the great_cto pipeline, reporting missing required files, PROJECT.md format issues, hook status, last run per agent, and permission-denied tails. Optional --fix flag outputs remediation commands.
/fix-errorAnalyzes error logs or stack traces, identifies root cause, predicts resolution time, and suggests proven fixes. Supports --deep, --quick, --preventive modes.
/doctorChecks KARIMO installation health across files, templates, GitHub auth, CLAUDE.md, and version. Provides issues and recommendations. Supports --test for quick 4-test verification.
/doctorRuns diagnostic checks on pro-workflow and Claude Code setup including installation, hooks functionality, context health, CLAUDE.md size, git status, and settings.
/doctorDiagnoses babysitter run health (optional run-id uses most recent), checking 10 areas: journal integrity, state cache, effects, locks, sessions, logs, disk usage, and more. Produces structured report with PASS/WARN/FAIL statuses.