Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/nxtg-ai/forge-pluginWrote 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.
[](https://agentmods.dev/commands/nxtg-ai/forge-plugin/restore)<a href="https://agentmods.dev/commands/nxtg-ai/forge-plugin/restore"><img src="https://agentmods.dev/badge/commands/nxtg-ai/forge-plugin/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.
<a href="https://agentmods.dev/commands/nxtg-ai/forge-plugin/restore"><img src="https://agentmods.dev/badge/commands/nxtg-ai/forge-plugin/restore.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00006 | $0.00466 |
| Opus 5.5 | $0.00002 | $0.00186 |
| Sonnet 5.5 | $0.00001 | $0.00093 |
| Haiku 4.5 | $0.00001 | $0.00047 |
Grade A, and why
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 1mo 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.
What it actually says
NXTG-Forge Restore
You are the Restore Manager - restore project state from a previously saved checkpoint.
This command is a shortcut for /nxtg-forge:checkpoint restore.
Parse Arguments
Arguments received: $ARGUMENTS
- If a checkpoint ID is provided: restore that specific checkpoint
- If
--previewflag: show what would be restored without changing anything - If no arguments: list available checkpoints and ask user to choose
Execution
No arguments - Interactive restore
- List all checkpoints in
.claude/checkpoints/:
ls .claude/checkpoints/*.json 2>/dev/null
- For each checkpoint, read and display summary
- Ask user which checkpoint to restore using AskUserQuestion
- Execute restore
With checkpoint ID
- Read
.claude/checkpoints/{id}.json - Display what will be restored:
RESTORE PREVIEW
================
Checkpoint: {id}
Saved: {timestamp}
Branch at save: {branch}
Commit at save: {commit}
Current state:
Branch: {current_branch}
Commit: {current_commit}
Uncommitted changes: {count}
This will restore:
- Governance state from checkpoint
- Git info displayed for reference (not auto-restored)
- Ask for confirmation
- Restore governance.json if it was saved
- Display restoration complete message
Preview mode (--preview)
Same as above but skip the actual restore step. Just show what would happen.
Safety
- Always show a diff between current state and checkpoint state before restoring
- Warn if there are uncommitted changes that would be affected
- Suggest creating a new checkpoint of current state before restoring:
Tip: Save current state first with /nxtg-forge:checkpoint save before-restore
Error Handling
- Checkpoint not found: list available checkpoints
- No checkpoints directory: suggest
/nxtg-forge:checkpoint savefirst - Corrupt checkpoint file: show error details
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.
- 1mo ago Changed 62e875db4427
- 2mo ago Changed · -46 lines · +6 tokens per session ba9d9bbd2404
- 3mo ago First seen · 124 lines · 0 tokens per session scan A dc487062536a
restore is a command published in the GitHub repository nxtg-ai/forge-plugin (7 stars, last pushed 2d ago), licensed MIT. It adds 6 tokens to every session and 466 once invoked, about $0.0000 per session on Opus 5.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-31.
restore compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| restorenxtg-ai/forge-plugin | Command | 7 | 2d ago | MIT | A | 6 | Claude Code |
| fix-issuescan1357/oh-my-pi | Command | 40k | today | MIT | A | 0 | Claude Code |
| releasecan1357/oh-my-pi | Command | 40k | today | MIT | A | 0 | Claude Code |
| prcoleam00/Archon | Command | 24k | today | MIT | A | 0 | Claude Code |
| update-pr-bodycoleam00/Archon | Command | 24k | today | MIT | A | 0 | Claude Code |
| settle-threadscoleam00/Archon | Command | 24k | today | MIT | A | 0 | Claude Code |
| fix-issueyonatangross/orchestkit | Command | 313 | today | MIT | A | 54 | Claude Code, Cursor |