Apply when passing state between steps, agents, sessions, or runs. Write the durable artifact to disk and treat the file as the interface; never rely on conversation memory.
Scanned 9/2/2026
Install to Claude Code
npx -y skills add bostonaholic/team --skill principle-files-are-the-contract --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Principle Files Are The Contract?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/bostonaholic-principle-files-are-the-contract)More formats (shields.io, HTML) on the badges page.
---
name: principle-files-are-the-contract
description: "Apply when passing state between steps, agents, sessions, or runs. Write the durable artifact to disk and treat the file as the interface; never rely on conversation memory."
user-invocable: false
---
# Files Are the Contract
The conversation is ephemeral; the artifact on disk is durable. Work that
matters is written to a file that declares what it is — and, where a gate
governs it, whether the gate passed — and steps communicate through those
files, never through shared chat memory. Trusting the model to remember
fails often enough to plan for.
**Why:** A file survives a truncated context, a compaction, a crash, a new
session, and a handoff to a different agent. The state lives on disk, not
in memory. The file is the value passed between steps, and it revises only
by explicit rule — a design is overwritten on revision, a verdict record is
appended and never overwritten — so nothing is silently lost.
**Pattern:**
- A step that produced no artifact did not happen. Write the file before
reporting the step done.
- Pass a path, not a paraphrase: the consumer reads the artifact itself,
never the producer's summary of it.
- Rebuild in-session state (ledgers, phase tables) by scanning the
artifacts; after any interruption the files are authoritative.
- Long procedures checkpoint to an append-only log, so a fresh context can
resume from disk instead of from recollection.
- Record decisions, approvals, and pre-images in the artifact directory,
so a later turn — or a later run — can audit what happened.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!