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/ArieGoldkin/claude-forgeWrote 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/ariegoldkin/claude-forge/setup-continuity)<a href="https://agentmods.dev/commands/ariegoldkin/claude-forge/setup-continuity"><img src="https://agentmods.dev/badge/commands/ariegoldkin/claude-forge/setup-continuity/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/ariegoldkin/claude-forge/setup-continuity"><img src="https://agentmods.dev/badge/commands/ariegoldkin/claude-forge/setup-continuity.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.00019 | $0.01754 |
| Opus 5.5 | $0.00008 | $0.00702 |
| Sonnet 5.5 | $0.00004 | $0.00351 |
| Haiku 4.5 | $0.00002 | $0.00175 |
Grade B, and why
setup-continuity scanned grade B with 1 finding 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 3mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
if ! grep -q "\.claude/continuity/" .gitignore 2>/dev/null; then How it starts
The opening of the file, as written. The whole thing — 263 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/setup-continuity - Initialize Continuity System
One-time setup wizard to ensure all continuity system components are properly configured.
When to Use
- First time setting up continuity system in a project
- After cloning a repo with existing continuity files
- When hooks or automation aren't working
- To verify system health after updates
What This Command Does
- Verify directories - Create missing continuity directories
- Update .gitignore - Ensure session state files are not committed
- Check settings.local.json - Ensure hooks are configured
- Initialize ledger - Create from template if missing
- Verify hook scripts - Check they're executable
- Initialize shared-context.json - Set up tracking fields
- Create initial handoff - Optional first checkpoint
Execution Steps
Step 1: Check Directory Structure
Verify and create required directories:
Required directories:
- .claude/
- .claude/commands/
- .claude/context/
- .claude/continuity/
- .claude/continuity/handoffs/
- .claude/continuity/ledgers/
- .claude/continuity/archive/
- .claude/continuity/learnings/
For any missing directories, create them:
mkdir -p .claude/continuity/{handoffs,ledgers,archive,learnings}
mkdir -p .claude/context
Step 2: Update .gitignore
Continuity files are user-specific session state and should NOT be committed to git. They contain:
- Personal working notes and timestamps
- Session-specific context that varies per developer
- Transient data that would cause merge conflicts
Check if .gitignore exists and contains the required entries:
# Claude session state (user-specific, not shared)
.claude/context/
.claude/continuity/
Implementation:
- Check if
.gitignoreexists in project root - If it exists, check if it already contains
.claude/continuity/ - If entries are missing, append them:
# Check and append if needed
if ! grep -q "\.claude/continuity/" .gitignore 2>/dev/null; then
echo "" >> .gitignore
echo "# Claude session state (user-specific, not shared)" >> .gitignore
echo ".claude/context/" >> .gitignore
echo ".claude/continuity/" >> .gitignore
fi
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.
- 3mo ago First seen · 263 lines · 19 tokens per session scan B 7cbf6aa7cc3b
setup-continuity is a command published in the GitHub repository ArieGoldkin/claude-forge (7 stars, last pushed 3mo ago), licensed MIT. It adds 19 tokens to every session and 1,754 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
setup-continuity compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| setup-continuityArieGoldkin/claude-forge | Command | 7 | 3mo ago | MIT | B | 19 | Claude Code |
| context-statstravisjneuman/.claude | Command | 115 | 2d ago | MIT | A | 7 | Claude Code |
| handofftravisjneuman/.claude | Command | 115 | 2d ago | MIT | A | 8 | Claude Code |
| learnsangrokjung/claude-forge | Command | 888 | 2mo ago | MIT | B | 18 | Claude Code |
| revise-claude-mdbearlike/Assistant | Command | 43 | yesterday | MIT | A | 11 | Claude Code |
| context-audit.templateevan043/claude-cli-advanced-starter-pack | Command | 62 | 4mo ago | MIT | A | 0 | Claude Code |
| memory-gcstefan-jansen/claude-code-toolkit | Command | 101 | 4mo ago | MIT | A | 14 | Claude Code |