Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add terrylica/cc-skills --skill chezmoi-syncgit clone --depth 1 https://github.com/terrylica/cc-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/terrylica/cc-skills/chezmoi-sync)<a href="https://agentmods.dev/skills/terrylica/cc-skills/chezmoi-sync"><img src="https://agentmods.dev/badge/skills/terrylica/cc-skills/chezmoi-sync/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/terrylica/cc-skills/chezmoi-sync"><img src="https://agentmods.dev/badge/skills/terrylica/cc-skills/chezmoi-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.00830 |
| Opus 5.5 | $0.00017 | $0.00332 |
| Sonnet 5.5 | $0.00008 | $0.00166 |
| Haiku 4.5 | $0.00004 | $0.00083 |
Grade A, and why
chezmoi-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Chezmoi Sync (Interactive)
On-demand replacement for the automatic chezmoi stop guard. Run this skill whenever you want to check for chezmoi drift and sync tracked dotfiles.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Workflow
Step 1: Check for drift
Run chezmoi status and chezmoi diff --no-pager to detect drift between the source repo and home directory.
chezmoi source-path && chezmoi status && echo "---" && chezmoi diff --no-pager | head -80
If output is empty (no drift), report "Chezmoi is clean — no drift detected" and stop.
Step 2: Present drift to user (AskUserQuestion)
If drift exists, use AskUserQuestion to show the user what drifted and ask what to do.
Question 1 (header: "Drift action"):
"Chezmoi detected N drifted file(s): [list files]. What would you like to do?"
Options:
- Sync all —
chezmoi re-addall drifted files, commit, and push - Review each — Walk through each file individually with per-file choices
- Ignore — Skip sync, I'll handle it later
Step 3a: Sync all (if chosen)
chezmoi re-add --verbose
chezmoi git -- add -A && chezmoi git -- commit -m "sync: dotfiles" && chezmoi git -- push
chezmoi status # Verify clean
Report the commit hash and confirm clean state.
Step 3b: Review each (if chosen)
For each drifted file, use AskUserQuestion:
Question (header: "File action"):
"[filename] has changed. What should we do?"
Options:
- Sync — Add this file to chezmoi source (
chezmoi add <path>) - Diff — Show the full diff first, then ask again
- Forget — Stop tracking this file (
chezmoi forget --force <path>) - Skip — Leave it drifted for now
After processing all files, if any were synced:
chezmoi git -- add -A && chezmoi git -- commit -m "sync: dotfiles" && chezmoi git -- push
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed cf19ebc80615
- 2mo ago First seen · 91 lines · 42 tokens per session scan A d101495e4261
chezmoi-sync is a skill published in the GitHub repository terrylica/cc-skills (5 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 830 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
chezmoi-sync compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| chezmoi-syncterrylica/cc-skills | Skill | 5 | today | MIT | A | 42 | Claude Code |
| core-workflowtravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 52 | Claude Code |
| agent-debugging-specialisttravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 12 | Claude Code |
| push-preflight0xDarkMatter/claude-mods | Skill | 86 | 6d ago | MIT | A | 101 | Claude Code |
| commit-reviewmyclaude-sh/myclaude-creator-engine | Skill | 25 | 6d ago | MIT | A | 61 | Claude Code |
| commitkitmimukit/skills | Skill | 3 | 2d ago | MIT | A | 113 | Claude Code |
| commit-summaryberekvolgyipeter/dotclaude | Skill | 2 | yesterday | MIT | A | 59 | Claude Code |