update
Re-calcify a SKILL.md and unified-diff the result against the on-disk recipe. Use when the user asks to "check calcifier drift", "diff a recipe against its skill", or "update a calcified recipe".
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 22
- Forks
- 0
01 前言 Front Matter
- name
- update
- description
- Re-calcify a SKILL.md and unified-diff the result against the on-disk recipe. Use when the user asks to "check calcifier drift", "diff a recipe against its skill", or "update a calcified recipe".
- allowed-tools
- Bash
02 资源文件 2
03 SKILL.md 正文
calcifier:update — detect drift
Re-runs the calcify pipeline against the current SKILL.md content (without writing to disk), then unified-diffs the result against the existing .calcifier/recipe.py. Surfaces both the SKILL.md sha drift and the recipe textual diff so the user can decide whether to regenerate the recipe.
When to invoke
- The user says "check drift", "did the recipe drift", "update the calcifier recipe", or "is this recipe stale".
- After a SKILL.md edit, before running
calcifier execagain.
Procedure
- Confirm the CLI:
calcifier --version. - Locate the SKILL.md and its
.calcifier/recipe.py. If the recipe is missing, tell the user there is nothing to update and recommendcalcifier:calcifierinstead. - Run:
This operation generates only in a temporary staging directory and reads the on-disk recipe; it does not overwrite the recipe.calcifier update <abs-path-to-SKILL.md> --compiler compiler --agent-config <agents.json> - The CLI prints:
verdict: STABLE(no drift) — exit 0.verdict: DRIFTwith the SKILL sha mismatch and a unified diff of the recipe body — exit 1.
- If
DRIFT, summarize the meaningful changes for the user. The diff is plain Python; common drifts:- New / renamed
@stepfunctions. - Changed
@stepreturn annotations (the JSON schema sent to the LLM changes with the type). - Added or removed control flow inside the
@recipebody. - Changed semantic roles, budgets, parallel fan-out, or subrecipe hashes.
- New / renamed
- Ask the user whether to overwrite. Do not overwrite unless they confirm. The overwrite is
calcifier calcify <skill>again.
Output
STABLE or DRIFT verdict plus the unified diff. Exit code reflects drift (0 stable, 1 drift, 2 error).
04 同仓库更多 Skills
support
暂无简介
text-search
Find the files in a workspace that mention a phrase and explain each match.
style-review
Review a document against the team style guide and list concrete fixes.
release-notes
Write release notes for the merged changes in a workspace.
release-digest
Produce a short digest of the release notes for a workspace.
exec
Execute a calcified .calcifier/recipe.py pipeline. Use when the user asks to "run a calcified skill", "exec a calcifier recipe", or wants deterministic playback of a pinned skill.