session-checkpoints

session-checkpoints is a skill for Claude Code, Codex from monkilabs/opencastle. It costs 43 tokens per session (380 once invoked), scanned A, original, MIT.

A procedure for saving and restoring the state of a coding session, including progress, changed files, delegation history, and pending approvals.

In plain words
What is it for?
Use it before delegation, after major phases, before risky changes, or when ending a session with unfinished work.
Why use it?
It helps resume interrupted work safely and confirms that the repository and unfinished tasks still match the expected state.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before delegation, after major phases, before risky changes, or when ending a session with unfinished work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monkilabs/opencastle/session-checkpoints
Install

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.

Any agent
npx skills add monkilabs/opencastle --skill session-checkpoints
Clone the repo
git clone --depth 1 https://github.com/monkilabs/opencastle

Made for: Claude Code, Codex.

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 session-checkpoints

README.md
[![agentmods](https://agentmods.dev/badge/skills/monkilabs/opencastle/session-checkpoints/github.svg)](https://agentmods.dev/skills/monkilabs/opencastle/session-checkpoints)
Your own site
<a href="https://agentmods.dev/skills/monkilabs/opencastle/session-checkpoints"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/session-checkpoints/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 session-checkpoints

Your own site · 80×15
<a href="https://agentmods.dev/skills/monkilabs/opencastle/session-checkpoints"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/session-checkpoints.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 380 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00043 $0.00380
Opus 5 $0.00022 $0.00190
Sonnet 5 $0.00009 $0.00076
Haiku 4.5 $0.00004 $0.00038

Measured 5d ago against content hash 8be072054a6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

session-checkpoints 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 5d 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.

src/orchestrator/skills/session-checkpoints/SKILL.md · 41 lines

What it actually says

Skill: Session Checkpoints

When to Checkpoint

Trigger Action
Before first delegation After decomposition, before agents start
After each phase When a parallel batch completes
Before risky work DB migrations, large refactors, security changes
Session end Any session with incomplete work
Context running low Checkpoint immediately

Phase boundaries that warrant a checkpoint: load the decomposition skill.

Creating a Checkpoint

  1. Write .opencastle/SESSION-CHECKPOINT.md from the canonical CHECKPOINT-TEMPLATE.md.
  2. Commit it or save to workspace; attach to the tracker issue.
  3. Verify: cat .opencastle/SESSION-CHECKPOINT.md; confirm listed files exist.

Resuming

  1. Read .opencastle/SESSION-CHECKPOINT.md
  2. Run git status, git branch — confirm you are on correct branch
  3. Check In Progress tasks — if stale (>1 session old), verify files match expected state
  4. Check Pending Approvals — remove rows for questions the user has since answered in chat
  5. Read tracker issues for tasks marked In Progress or Todo
  6. Follow Resume Instructions section in checkpoint
  7. Update checkpoint progress after each completed task

If checkpoint missing or corrupt: Rebuild from git log --oneline -20, tracker state.

Cleanup & Team Lead

When all issues Done: archive to tracker; delete .opencastle/SESSION-CHECKPOINT.md.

Files

What ships with it

1 file 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. 5d ago First seen · 41 lines · 43 tokens per session scan A 8be072054a6d

Subscribe to this mod's changes

session-checkpoints is a skill published in the GitHub repository monkilabs/opencastle (61 stars, last pushed 11d ago), licensed MIT. It adds 43 tokens to every session and 380 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories

jira-ticket-builder

Turns rough input into structured Jira work. Two modes — single-ticket mode turns a bug description, meeting notes, Slack thread, incident writeup, or a few sentences into one fully-structured Jira ticket; decomposition mode turns a rough requirements doc or product brief with multiple asks and open questions into…

kirti/jira-ticket-builder-skill · 213 tokens

linear

Read Linear issues, transition state, and post comments. The entry point for ticket-driven agent workflows.

initializ/forge · 22 tokens

product-architect

Complete product development system with 80 agents and 36 frameworks. Use when the user wants to build a product, write a PRD, plan an MVP or roadmap, design an app, research a market or check whether a feature already exists or is novel, do competitive analysis, run a security audit, build a financial model, plan…

ankitjha67/product-architect · 253 tokens

tsk-add

Queue a single task based on the current conversation using tsk add.

dtormoen/tsk-tsk · 16 tokens

tsk-help

Use this skill when the user asks about tsk commands, delegating development tasks to AI agents, managing sandboxed task execution, or working with the tsk task queue and server.

dtormoen/tsk-tsk · 40 tokens

salesforce-live-change-approval-protocol

Use this skill when any proposed mutation to a live Salesforce production org must be evaluated before execution. This is a refusal-by-default gate: if any required precondition is missing, the skill stops and refuses. Required preconditions are targetorgidentity, environmenttype, useridentity, permissionscope…

VincentChuWaiChow/vanguard-frontier-agentic · 0 tokens