crucible-restore

crucible-restore is a command for Claude Code from forsonny/The-Crucible-Writing-System-For-Claude. It costs 15 tokens per session (1,124 once invoked), scanned A, original, MIT.

A backup-restoration workflow for Crucible projects that lists saved versions and restores all or selected project materials.

In plain words
What is it for?
Use it to view available backups and restore the full project, chapters, or planning materials from a selected backup.
Why use it?
It gives you a way to recover earlier work when the current project state is unwanted or damaged, while allowing restoration by category.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the The-Crucible-Writing-System-For-Claude plugin — 4 skills, 8 commands, 5 agents shipped together

Good fit Use it to view available backups and restore the full project, chapters, or planning materials from a selected backup.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add forsonny/The-Crucible-Writing-System-For-Claude
Claude Code
/plugin install The-Crucible-Writing-System-For-Claude

Made for: Claude Code.

Or install The-Crucible-Writing-System-For-Claude, the plugin that ships this one along with the rest of its 4 skills, 8 commands, 5 agents.

Wrote 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.

agentmods badge for crucible-restore

README.md
[![agentmods](https://agentmods.dev/badge/commands/forsonny/the-crucible-writing-system-for-claude/crucible-restore/github.svg)](https://agentmods.dev/commands/forsonny/the-crucible-writing-system-for-claude/crucible-restore)
Your own site
<a href="https://agentmods.dev/commands/forsonny/the-crucible-writing-system-for-claude/crucible-restore"><img src="https://agentmods.dev/badge/commands/forsonny/the-crucible-writing-system-for-claude/crucible-restore/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.

agentmods 80×15 button for crucible-restore

Your own site · 80×15
<a href="https://agentmods.dev/commands/forsonny/the-crucible-writing-system-for-claude/crucible-restore"><img src="https://agentmods.dev/badge/commands/forsonny/the-crucible-writing-system-for-claude/crucible-restore.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,124 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.01124
Opus 5 $0.00008 $0.00562
Sonnet 5 $0.00003 $0.00225
Haiku 4.5 $0.00002 $0.00112

Measured 12d ago against content hash fe17699a0c54, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

crucible-restore 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 12d 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.

commands/crucible-restore.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/crucible-restore

Restore your Crucible project from a previous backup.

Execution Instructions

IMPORTANT: When presenting backup options to the user, ALWAYS use the AskUserQuestion tool (NOT plain text A/B/C options).

Step 1: List Available Backups

Run the restore script to list backups:

bash "${CLAUDE_PLUGIN_ROOT}/scripts/run_python.sh" "${CLAUDE_PLUGIN_ROOT}/scripts/restore_project.py" --list

This returns JSON with all available backups including timestamps, sizes, and file counts.

Step 2: Present Options to User

Use AskUserQuestion to let user select which backup to restore and what scope.

Step 3: Perform Restoration

For full restoration:

bash "${CLAUDE_PLUGIN_ROOT}/scripts/run_python.sh" "${CLAUDE_PLUGIN_ROOT}/scripts/restore_project.py" --restore "TIMESTAMP" --scope full

For selective restoration:

bash "${CLAUDE_PLUGIN_ROOT}/scripts/run_python.sh" "${CLAUDE_PLUGIN_ROOT}/scripts/restore_project.py" --restore "TIMESTAMP" --scope chapters
bash "${CLAUDE_PLUGIN_ROOT}/scripts/run_python.sh" "${CLAUDE_PLUGIN_ROOT}/scripts/restore_project.py" --restore "TIMESTAMP" --scope planning
bash "${CLAUDE_PLUGIN_ROOT}/scripts/run_python.sh" "${CLAUDE_PLUGIN_ROOT}/scripts/restore_project.py" --restore "TIMESTAMP" --scope state
bash "${CLAUDE_PLUGIN_ROOT}/scripts/run_python.sh" "${CLAUDE_PLUGIN_ROOT}/scripts/restore_project.py" --restore "TIMESTAMP" --scope story-bible

For incremental backup restoration:

bash "${CLAUDE_PLUGIN_ROOT}/scripts/run_python.sh" "${CLAUDE_PLUGIN_ROOT}/scripts/restore_project.py" --incremental --timestamp "YYYYMMDD"

Add --dry-run to preview what would be restored without making changes.

Usage

  • /crucible-suite:crucible-restore - List available backups
  • /crucible-suite:crucible-restore latest - Restore from most recent backup
  • /crucible-suite:crucible-restore 2024-01-15-1432 - Restore from specific timestamp

What This Does

  1. Lists all available backups with timestamps
  2. Shows what changed since each backup
  3. Allows selective or full restoration
  4. Creates a pre-restore backup (safety net)

Read the full file on GitHub · 150 lines

Changes

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.

  1. 12d ago First seen · 150 lines · 0 tokens per session scan A fe17699a0c54

Subscribe to this mod's changes

crucible-restore is a command published in the GitHub repository forsonny/The-Crucible-Writing-System-For-Claude (60 stars, last pushed 8mo ago), licensed MIT. It adds 15 tokens to every session and 1,124 once invoked, about $0.0001 per session on Opus 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-08-30.