# Apply

> Preview chezmoi changes with diff, then apply after user confirmation Use when this capability is needed.

- Skill: `tomevault-io/apply` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/apply`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/apply/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/apply

---


# Chezmoi Diff & Apply

Safely preview and apply chezmoi changes.

## Steps

1. Run `chezmoi status` to list files that would change
2. If no changes, report "No changes to apply" and stop
3. Run `chezmoi diff` to show detailed changes
4. Summarize the key changes (files added, modified, removed)
5. Ask the user for explicit confirmation before proceeding
6. If confirmed, run `chezmoi apply`
7. Run `chezmoi status` to verify the apply completed successfully
8. Report the result

## Notes

- Never run `chezmoi apply` without showing the diff first
- If the diff is very large, summarize rather than showing everything
- If apply fails, show the error and suggest running `chezmoi doctor` for diagnostics

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/cearley) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

