一键导入
chezmoi-status
Comprehensive chezmoi and dotfiles status overview
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Comprehensive chezmoi and dotfiles status overview
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create timestamped backup of files that would be changed by chezmoi
Analyze chezmoi changes and create safe integration plan
Restore files from a chezmoi backup
Safely review and process unmanaged chezmoi files
Log significant Claude Code actions to Obsidian vault. Invoke after completing features, bug fixes, refactors, deployments, cleanups, or any substantial task.
Use when unbiased analysis is needed without conversation context contamination. Launches an isolated read-only background agent with a self-contained prompt crafted from current context. Use for audits, reviews, reports, or any analysis where prior assumptions might bias results.
| name | chezmoi-status |
| description | Comprehensive chezmoi and dotfiles status overview |
| allowed-tools | ["Bash(chezmoi *)","Bash(git *)","Bash(ls *)","Bash(find *)","Bash(du *)","Bash(readlink *)","Bash(xargs *)","Bash(basename *)","Bash(wc *)","Bash(grep *)","Bash(cut *)","Bash(echo *)","Read"] |
git -C ~/.local/share/chezmoi branch --show-currentgit -C ~/.local/share/chezmoi log -1 --onelinegit -C ~/.local/share/chezmoi status --porcelain | wc -lchezmoi managed | wc -lchezmoi unmanaged | wc -lchezmoi diff --exclude=externals | grep '^diff' | wc -lchezmoi diff --exclude=externals | grep '^-' | grep -v '^---' | wc -lchezmoi diff --exclude=externals | grep '^+' | grep -v '^+++' | wc -lreadlink ~/.chezmoi-backups/latest 2>/dev/null | xargs basename 2>/dev/null || echo "No backups yet"du -sh ~/.chezmoi-backups 2>/dev/null | cut -f1 || echo "0"<status_sections>
Display information about the git repository:
Show statistics about:
If there are pending changes, categorize them:
Display:
Based on the current state, suggest actions:
/chezmoi-unmanaged/integrate-changes/chezmoi-backup<output_format>
[If changes exist, show summary]
[Dynamic recommendations based on state]
/integrate-changes/chezmoi-unmanaged/chezmoi-backup/help chezmoi
</output_format><smart_recommendations> Provide contextual recommendations:
If unmanaged files > 10:
You have [X] unmanaged files. Consider reviewing them:
Run: /chezmoi-unmanaged
If pending changes exist without recent backup:
You have pending changes but no recent backup.
Recommend: /chezmoi-backup before applying changes
If high-risk removals detected:
Warning: [X] lines would be removed if you apply changes.
Review carefully: /integrate-changes
If repository has uncommitted changes:
You have uncommitted changes in your chezmoi repository.
Consider committing: cd ~/.local/share/chezmoi && git add -A && git commit
If everything is clean:
Everything is in sync! No actions needed.
</smart_recommendations>
<detailed_info> If user wants more detail on any section, provide: