/chezmoi:diagnose-timeoutfrom chezmoi
Diagnose slow chezmoi status performance and identify bottlenecks
Ships in chezmoi. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
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: 30s
Bottleneck: Template expansion (1Password/Age)
Recommendations:
- Increase timeout: export CHEZMOI_STATUS_TIMEOUT=60
- 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 guide7-day visitors to each command page
6 commands in this plugin
/checkChezmoi Status CheckCheck dotfiles status and sync state with remote repository/commitChezmoi CommitCommit and push changed dotfiles to remote repository/setupChezmoi Setup WizardInteractive setup wizard for chezmoi dotfiles management with age encryption and 1Password integration/shell-sync-setupChezmoi Shell Sync Checker SetupInstall shell startup sync checker for chezmoi dotfiles/syncChezmoi SyncSync dotfiles from remote repository and apply changesnpx claudepluginhub signalcompose/claude-tools --plugin chezmoi