cheez-write
Installation
SKILL.md
cheez-write
Hard dependency: If
mcp__tilth__tilth_editis unavailable, stop immediately and report "tilth MCP server is not loaded — cannot proceed." Do NOT fall back toEdit,Write, or any host tool. Install viatilth install <host> --edit— the--editflag is required to exposetilth_edit(see README "Installing tilth MCP").
Capability detection
Before the first call, verify tilth's edit tool is reachable:
- Check that
mcp__tilth__tilth_editis in your tool list. If onlytilth_readandtilth_searchare present, tilth was installed without--edit. Stop and report"tilth MCP server is loaded but edit mode is disabled — re-install with 'tilth install <host> --edit'." - The first edit call is a probe by definition — if it returns a JSON-RPC transport error (not a hash mismatch), stop and report
"tilth MCP server present but unhealthy: <error>". - Hash mismatches, syntax errors in the new content, or anchor-not-found are content issues — recover via the protocol below, do not bail.
Hash-anchored file editing via tilth MCP (tilth_edit).
Use hash anchors from tilth_read to make precise, surgical edits. Avoid
rewriting whole files unless the size and change ratio justify it (see
"When full-file rewrite is acceptable" below).