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 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.
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.
- 3mo 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 9mo 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.
continuity-kernel compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| continuity-kernelcacheforge-ai/cacheforge-skills | Skill | 10 | 9mo ago | MIT | A | 28 | Claude Code |
| cortex-mem-mcpsopaco/cortex-mem | Skill | 323 | 4mo ago | MIT | A | 72 | Claude Code |
| myclaw-backupLeoYeAI/openclaw-backup | Skill | 663 | 9mo ago | MIT | B | 179 | Claude Code, Codex |
| pilot-archiveTeoSlayer/pilot-skills | Skill | 9 | 22d ago | AGPL-3.0 | A | 111 | Claude Code |
| memory-to-skillzilliztech/memsearch | Skill | 3.0k | yesterday | MIT | A | 82 | Claude Code, Codex |
| memory-recallzilliztech/memsearch | Skill | 3.0k | yesterday | MIT | A | 38 | Claude Code, Codex |
| deja-reflectvshulcz/deja-vu | Skill | 1.7k | today | MIT | A | 49 | Claude Code |