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.
npx skills add cacheforge-ai/cacheforge-skills --skill continuity-kernelgit clone --depth 1 https://github.com/cacheforge-ai/cacheforge-skillsWrote 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/skills/cacheforge-ai/cacheforge-skills/continuity-kernel)<a href="https://agentmods.dev/skills/cacheforge-ai/cacheforge-skills/continuity-kernel"><img src="https://agentmods.dev/badge/skills/cacheforge-ai/cacheforge-skills/continuity-kernel/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/skills/cacheforge-ai/cacheforge-skills/continuity-kernel"><img src="https://agentmods.dev/badge/skills/cacheforge-ai/cacheforge-skills/continuity-kernel.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.00028 | $0.00917 |
| Opus 5.5 | $0.00011 | $0.00367 |
| Sonnet 5.5 | $0.00006 | $0.00183 |
| Haiku 4.5 | $0.00003 | $0.00092 |
Grade A, and why
continuity-kernel 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.
How it starts
The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When to use this skill
Use this skill when the user wants to:
- Inject bounded continuity context into
llm_inputwithout manual configuration - Persist Soul Card + Mission Ticket state with deterministic runtime contracts (durable default SQLite path, zero-config)
- Keep agent behavior fail-open if continuity logic or storage has an error
- Generate reproducible runtime proof receipts for audits and reviews
- Run shadow-mode evals and append chunk-level quality snapshots
Commands
# Run full test suite
python3 -m unittest discover -s tests/continuity-kernel -p 'test_*.py'
# Generate deterministic runtime contract proof artifact
python3 skills/continuity-kernel/generate_runtime_contract_proof.py
# SC-02 core-shadow gate (trace optional, synthetic allowed for this suite)
python3 skills/continuity-kernel/run_shadow_eval.py --layer 'Soul Card' --chunk 'SC-02' --suite core-shadow --runs 100 --append artifacts/continuity-kernel/p0-evals.json
# SC-02 perturb robustness gate (trace-backed, deterministic selector + size_only)
python3 skills/continuity-kernel/run_shadow_eval.py --layer 'Soul Card' --chunk 'SC-02' --suite memoryarena-mini-perturb --perturb-profile deletion --selector-mode deterministic --compaction-policy size_only --runs 100 --trace-jsonl tests/continuity-kernel/fixtures/shadow_eval_trace_memoryarena_mini_perturb.jsonl --append artifacts/continuity-kernel/p0-evals.json
# SC-02 perturb robustness gate (trace-backed, dual-route + attention-preserving)
python3 skills/continuity-kernel/run_shadow_eval.py --layer 'Soul Card' --chunk 'SC-02' --suite memoryarena-mini-perturb --perturb-profile deletion --selector-mode dual_route_experimental --compaction-policy attention_preserving_experimental --runs 100 --trace-jsonl tests/continuity-kernel/fixtures/shadow_eval_trace_memoryarena_mini_perturb.jsonl --append artifacts/continuity-kernel/p0-evals.json
Options
run_shadow_eval.py options:
--layer TEXT— Active P0 layer name--chunk TEXT— Active chunk id/name--suite core-shadow|memoryarena-mini|memoryarena-mini-perturb— Task suite for eval scoring--perturb-profile none|deletion|noise_injection|reorder— Deterministic perturb profile formemoryarena-mini-perturb--selector-mode deterministic|dual_route_experimental— Selector mode tag for A/B eval receipts--compaction-policy size_only|attention_preserving_experimental— Compaction policy label for dropped-field A/B eval comparison--runs N— Number of evaluated shadow runs (default: 100)--trace-jsonl PATH— JSONL file containing observed shadow outcomes (repeatable)--trace-dir PATH— Directory scanned for*.jsonlobserved shadow outcomes (repeatable)--append PATH— JSON file path to append snapshot results--allow-synthetic— Permit synthetic fallback for non-core suites when traces are unavailable (forcedpass=false)--artifacts-root PATH— Directory for summary receipts (default:~/.cache/continuity-kernel/p0-evals)
What ships with it
18 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- benchmark.py 5.1 KB runs code
- CHANGELOG.md 4.8 KB
- contracts.py 429 B runs code
- diagnostics.py 2.0 KB runs code
- drift_scoring.py 7.6 KB runs code
- drift.py 6.8 KB runs code
- generate_baseline_delta.py 2.6 KB runs code
- generate_runtime_contract_proof.py 5.0 KB runs code
- injector.py 22 KB runs code
- LICENSE 1.0 KB
- policy.py 2.2 KB runs code
- README.md 4.6 KB
- run_shadow_eval.py 4.3 KB runs code
- runtime_contract.py 5.4 KB runs code
- runtime_hooks.py 3.5 KB runs code
- service.py 8.3 KB runs code
- shadow_eval.py 52 KB runs code
- store.py 13 KB runs code
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 First seen · 69 lines · 28 tokens per session scan A 2a58a08b04e0
continuity-kernel is a skill published in the GitHub repository cacheforge-ai/cacheforge-skills (10 stars, last pushed 7mo ago), licensed MIT. It adds 28 tokens to every session and 917 once invoked, about $0.0001 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.
Other skills, from other repositories
cortex-mem-mcp
Persistent memory enhancement for AI agents. Store conversations, search memories with semantic retrieval, and recall context across sessions. Use this skill when you need to remember user preferences, past conversations, project context, or any information that should persist beyond the current session. Provides…
myclaw-backup
Backup and restore all OpenClaw configuration, agent memory, skills, and workspace data. Part of the MyClaw.ai (https://myclaw.ai) open skills ecosystem — the AI personal assistant platform that gives every user a full server with complete code control. Use when the user wants to create a snapshot of their OpenClaw…
pilot-archive
Index and search historical data exchanges, messages, and file transfers over Pilot Protocol. Use this skill when: 1. You need to search through past messages and file transfers 2. You want to maintain searchable history of all agent communications 3. You need to audit or analyze historical data exchange patterns Do…
memory-to-skill
Turn workflows from your MemSearch memory into reusable skills. Use when the user asks to make/create/extract/distill a skill from what they just did or from past work, review skill candidates, install a distilled skill, or 'turn this into a skill'. Manages MemSearch procedural-memory candidates under…
pm-sim
This skill has been renamed. Install the new version.
context-recovery
Recovers project handoff context from local Codex, Claude Code, Gemini, CodeBuddy, and codexmate-derived sessions. Use when the user asks what happened in prior project/PR/branch/file/error work, needs a handoff brief, wants old decisions or validations recovered, or asks to summarize cross-session project activity…