agentleFS
XucroYuriXucroYuri/how-to-make-script/skills/story-memory-checkpoint/SKILL.md

story-memory-checkpoint

Skill17 starsChanged 8 months agoMITView on GitHub

剧本项目需要可恢复的连续性压缩或交接安全状态(而非全量上下文重载)时使用。

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user needs to pause and resume a long screenplay project, hand current story state to another agent or human, or …

    line 8
  2. Distinctive:

    Do not auto-suggest checkpoints for single-step requests or trivial continuations.

    line 20
  3. Distinctive:

    When reloading from a checkpoint:

    line 35
  4. Distinctive:

    If the checkpoint is stale(e.g., user provides new information that contradicts a locked decision), flag the conflict before resuming.

    line 40
  5. Distinctive:

    Keep it short enough to replace a broad reload.

    line 52
  6. Distinctive:

    Do not turn the checkpoint into a prose summary of the whole story.

    line 53
  7. Distinctive:

    Ask: "What is the last thing you were certain about in this story before you got lost?" One confirmed story truth is the right starting …

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Story Memory Checkpoint

Use this skill when the user needs to pause and resume a long screenplay project, hand current story state to another agent or human, or preserve continuity without reloading a whole draft or room archive.

When to Auto-Suggest a Checkpoint

Agent should proactively suggest a checkpoint at E2E stage transitions between these stages:

  • idea → premise(story engine about to be committed)
  • premise → character(character continuity needs locking before world-building)
  • character → structure(story engine may shift when plot form takes over)
  • structure → scene(character and event continuity must be locked before writing pages)
  • Any pause or handoff in a multi-step pipeline

Do not auto-suggest checkpoints for single-step requests or trivial continuations. A checkpoint is warranted when losing state would cost meaningful re-work.

What a Minimal Checkpoint Contains

A minimal story_memory_checkpoint must include:

  1. Current stage: which stage the project is at(idea / premise / character / structure / scene / dialogue / polish)
  2. Locked decisions: what has been committed and should not be reopened without explicit intent
  3. Open questions: what is unresolved and must be carried forward as pending debt
  4. Next planned step: which stage comes next, with the entry surface(e.g., "beat sheet → scene draft for Act II opening")

For serial or long-form work, also include arc-budget spend and remaining high-value turns.

How to Resume from a Checkpoint

When reloading from a checkpoint:

  • Load only the state fields needed for the next step — do not reload the full project context.
  • Begin by confirming the locked decisions are still valid(e.g., "We left off with the protagonist as a retired firefighter, goal: reclaim reputation, obstacle: official cover-up. Does this still hold?")
  • Surface any open questions that the next step must resolve before proceeding.
  • If the checkpoint is stale(e.g., user provides new information that contradicts a locked decision), flag the conflict before resuming.

Workflow

  1. Lock the covered span and the checkpoint purpose.
  2. Compress current story state instead of retelling the plot.
  3. Record unresolved promises, invariants, and canon-vs-hypothesis boundaries.
  4. Separate external pressure rhythm from internal emotional or cognitive rhythm.
  5. For serial work, note current arc-budget spend and remaining high-value turns.
  6. Return a checkpoint with next safe entrypoint, priority source surfaces, and drift risks.

Output Contract

  • story_memory_checkpoint: current state, unresolved promises, invariants, dual-track rhythm, arc-budget status when relevant, next safe entrypoint, priority source surfaces, and drift warnings.
  • Keep it short enough to replace a broad reload.
  • Do not turn the checkpoint into a prose summary of the whole story.

Posture-Adaptive Guidance

When certainty = lost: Ask: "What is the last thing you were certain about in this story before you got lost?" One confirmed story truth is the right starting point for a checkpoint. Do not produce a full state compression — produce one anchor first.

When certainty = certain: Apply the full checkpoint workflow: lock span → compress current state → record unresolved promises and invariants → separate dual-track rhythms → return with next safe entrypoint and drift warnings.

When focus = event: Event-layer checkpoints should record: what has already been spent (turns, reveals, escalations) and what arc budget remains. Do not retell the plot; record the pressure-state.

When focus = character: Character-layer checkpoints should record: active wants, outstanding lies, unresolved wounds, and open relationship debts. These are the continuity liabilities that cause drift in resumed work.

When focus = world: World-layer checkpoints should record: which world rules have been explicitly established, which have been implied but not confirmed, and which remain unset and thus canonically open.

References

  • wp.story-memory-checkpoint
  • rb.story-memory-checkpoint
  • ka.cross-protocol-referral-edges
  • ka.dual-track-rhythm
  • ka.room-artifact-ladder
  • ka.script-as-coordination-artifact
  • ka.serial-arc-budgeting
  • ka.story-memory-checkpoint

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.