一键导入
chezmoi-unmanaged
Safely review and process unmanaged chezmoi files
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Safely review and process unmanaged chezmoi files
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create timestamped backup of files that would be changed by chezmoi
Comprehensive chezmoi and dotfiles status overview
Analyze chezmoi changes and create safe integration plan
Restore files from a chezmoi backup
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-unmanaged |
| description | Safely review and process unmanaged chezmoi files |
| allowed-tools | Bash(chezmoi:*), Bash(ls:*), Bash(awk:*), Bash(echo:*) Read, Edit, LS, Glob |
chezmoi unmanaged | wc -lls -la ~/.chezmoi-backups/latest 2>/dev/null | awk '{print $11}' || echo "No backups yet"!chezmoi unmanaged | head -10
Reference:
[A] Add to chezmoi (tracked) [T] Add as template (for files with dynamic content) [I] Add to .chezmoiignore [S] Skip for now [Q] Quit processing
For directories, also offer: [R] Add recursively [P] Add specific pattern to .chezmoiignore (e.g., .config/dir_name/**)
Provide smart recommendations based on:<output_format> For each file:
File: ~/.example_file
Type: [Configuration|Data|Cache|History|...]
Recommendation: [Add|Ignore|Template|Review] - [Reason for recommendation]
Options:
[A] Add to chezmoi
[T] Add as template
[I] Add to .chezmoiignore
[S] Skip for now
[Q] Quit processing
Enter choice:
Wait for user's choice before proceeding to next file. </output_format>
When user selects an option:For [A] Add:
chezmoi add ~/[file_path]For [T] Template:
chezmoi add --template ~/[file_path]For [I] Ignore:
For [R] Add recursively:
chezmoi add -r ~/[directory_path]Track all changes made in a summary to display at the end.
<summary_report> After processing files (or on quit), show:
Summary of Actions:
- Added to chezmoi: [count] files
- [list files]
- Added as templates: [count] files
- [list files]
- Added to .chezmoiignore: [count] entries
- [list entries]
- Skipped: [count] files
- [list files]
Recommendation: Run `/chezmoi-status` to see overall status
</summary_report>
<safety_reminders>
/chezmoi-backup before applying changes
</safety_reminders>