oc-checkpoint-protocol

oc-checkpoint-protocol is a skill for Claude Code from asfbay-bit/opchain-skills. It costs 34 tokens per session (9,686 once invoked), scanned A, original, Apache-2.0.

A shared convention for saving the state of multi-step workflows in JSON checkpoint files. It lets participating tools resume work across separate conversations without requiring the user to repeat the context.

In plain words
What is it for?
Use it as the storage and resume format for skills that need to save progress, recover interrupted work, validate checkpoint files, or continue from a previous phase.
Why use it?
It prevents long workflows from losing their place when a session ends or needs to be continued later.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/claude/storefront/.checkpoints/oc-app-architect.checkpoint.json.

Part of the opchain plugin — 36 skills, 16 commands, 4 hooks shipped together

Good fit Use it as the storage and resume format for skills that need to save progress, recover interrupted work, validate checkpoint files, or continue from a previous phase.

Compare 6 skills 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 asfbay-bit/opchain-skills
Claude Code
/plugin install opchain

Made for: Claude Code.

Or install opchain, the plugin that ships this one along with the rest of its 36 skills, 16 commands, 4 hooks.

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 oc-checkpoint-protocol

README.md
[![agentmods](https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-checkpoint-protocol/github.svg)](https://agentmods.dev/skills/asfbay-bit/opchain-skills/oc-checkpoint-protocol)
Your own site
<a href="https://agentmods.dev/skills/asfbay-bit/opchain-skills/oc-checkpoint-protocol"><img src="https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-checkpoint-protocol/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 oc-checkpoint-protocol

Your own site · 80×15
<a href="https://agentmods.dev/skills/asfbay-bit/opchain-skills/oc-checkpoint-protocol"><img src="https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-checkpoint-protocol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,686 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.00034 $0.09686
Opus 5.5 $0.00014 $0.03874
Sonnet 5.5 $0.00007 $0.01937
Haiku 4.5 $0.00003 $0.00969

Measured 2d ago against content hash 71edb39348b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

oc-checkpoint-protocol 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 2d ago.

The scan reads SKILL.md. This mod also ships 21 executable files (scripts/checkpoint.mjs, scripts/checkpoint.runtime.mjs, scripts/opchain.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/opchain/skills/oc-checkpoint-protocol/SKILL.md · 795 lines

How it starts

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

Checkpoint Protocol

A cross-skill convention for session persistence. Any skill that runs multi-step workflows across conversations adopts this protocol to save, resume, and recover state without the user re-explaining context.

This is a protocol, not a skill. It defines a file format, naming convention, resume behavior, and integration contract that individual skills implement. Think of it like HTTP — the spec lives here, the implementations live in each skill.

Two versions, don't confuse them

  • protocol_version — the on-disk schema version, currently "1.1". It lives inside every checkpoint file and only changes when the file shape grows in a way the validator must know about. The validator (scripts/checkpoint.mjs) enforces it and accepts both "1.0" and "1.1".
  • Skill release version — the version in this file's YAML frontmatter. It tracks the evolution of the docs and tooling (the pm_refs extension, the doctor/next commands, etc.) and moves independently, in lockstep with the rest of the catalog. oc-release-ops bumps it.

Additive fields, two ways to ship them. An optional additive field can ride under the same wire version — pm_refs (skill release 1.2) was added under schema "1.0" with no wire bump, because old checkpoints stayed valid and the shape only grew. OR a release can group additive fields into a marked minor wire bump when it wants a visible protocol revision. v1.6 ("the instrumented pipeline") took the second path: cost, eval_scores, and telemetry_handle landed together as wire "1.1". It is still fully backward compatible — "1.0" checkpoints validate unchanged, those three fields stay optional — the 1.1 stamp just marks the revision. New writes stamp "1.1"; oc-migration-ops sweeps existing "1.0" files forward. A wire bump is never a breaking change here: it only ever adds optional fields, never removes or repurposes one.


Problem Statement

Claude's context resets between conversations. Multi-step skills (oc-app-architect, oc-reverse-spec, oc-stack-forge, oc-code-auditor, oc-deploy-ops, oc-git-ops) lose all progress when a session ends unless they write it down. Before this protocol (v1.0), oc-reverse-spec kept a bespoke checkpoint.md, oc-app-architect had gates but no session persistence, and most skills had no continuity at all.

Read the full file on GitHub · 795 lines

Files

What ships with it

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

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. 2d ago Changed 71edb39348b0
  2. 22d ago Changed · +6 lines ef3ac6af1127
  3. 24d ago Changed 1366b3a0f949
  4. 27d ago Changed 67fa05a21c9f
  5. 2mo ago Changed b465866305b0
  6. 2mo ago Changed 4dcf6c40bd4e
  7. 2mo ago Changed · +18 lines 5f9f4700426e
  8. 2mo ago Changed · +42 lines b42ab675fcdc
  9. 3mo ago Changed 18e76a217f8a
  10. 3mo ago First seen · 729 lines · 34 tokens per session scan A eaefadcc8705

Subscribe to this mod's changes

oc-checkpoint-protocol is a skill published in the GitHub repository asfbay-bit/opchain-skills (0 stars, last pushed 3d ago), licensed Apache-2.0. It adds 34 tokens to every session and 9,686 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.

Related

oc-checkpoint-protocol compared with skills from other repositories

oc-checkpoint-protocol next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
oc-checkpoint-protocolasfbay-bit/opchain-skillsSkill03d agoApache-2.0A34Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code