Skip to content
Back to skills

Checkpoint

ASecurity

Save session snapshot — handoff + CLAUDE.md update.

  • 19 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 6, 2026
ai-agentsrustgogit

Works with

  • cursor
  • cli
  • mcp

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add Kibertum/tausik-core --skill checkpoint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Checkpoint?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Checkpoint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kibertum-checkpoint/badge)](https://www.skillsdirectory.com/skills/kibertum-checkpoint)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: checkpoint
description: "Save session snapshot — handoff + CLAUDE.md update."
effort: fast
context: inline
---

# /checkpoint — Context Snapshot (SENAR-aligned)

Quick context save without ending the session.
**When to use:** After completing a task or step, before large operations, and when the checkpoint signal appears in a tool response (the count is derived from the ledger; the threshold is `checkpoint_calls`).

**vs /end:** No session end, no commit prompt. ~4 tool calls vs ~8.

## Algorithm

### 1. Gather state + check session duration

Run in parallel (prefer MCP tools, CLI as fallback):
- `tausik_session_current` MCP tool
- `tausik_task_list` MCP tool with status=active
- `tausik_status` MCP tool
- `git branch --show-current`

> **T1.6 (token-tier1):** memory_block is intentionally NOT re-injected on
> `/checkpoint`. The block was already loaded on `/start` and lives in the
> conversation context. Repeating it on every checkpoint burns ~600 tokens
> per call without adding new information. Use `tausik_memory_search` if you
> need a targeted lookup mid-session.

**Session time is a signal, not a gate** (decision #376): if `status` shows the advisory, mention it once; nothing is refused.

**Slow lane** — only where `.tausik/slow_lane.json` exists (the project's test suite records it): run `pytest -q -m slow` once, in the background, while you do step 2. The default `pytest -q` deselects it and CI does not run on an unpushed branch, so this is the only place it runs. The handoff reads the record itself and says `NOT RUN` or `RED` in `slow_lane`; relay a red lane to the user, do not re-type it.

### 2. Save handoff

Call `tausik_session_handoff` (CLI: `tausik session handoff`). The handoff is
**generated from the journal** — completed tasks, active tasks with their last
log line, verify receipts, decisions, memory, dead ends, open exploration. Do
not re-type what the records already say. Pass only your judgement, if any:

```json
{"next_steps": ["Continue task-slug-2"], "warnings": ["MCP server needs restart"],
 "in_progress": [{"slug": "task-slug-2", "state": "step 3 of 5"}]}
```

These land on top, marked in `authored_fields`.

When the task-call checkpoint boundary has expired the normal execution lease,
this call is the allowed single-use recovery action. A successful handoff
consumes that lease. `HOST_CONTEXT_HARD` is different: the trusted boundary
automatically writes a copy-ready checkpoint and closes the exhausted host
thread, so do not retry MCP or CLI handoff there. Continue implementation only
in a fresh host thread after `task start <slug> --package` returns a newly
validated package. If the task call budget itself is exhausted, checkpoint is
insufficient: decompose the task or wait for a trusted owner planning change.

### 3. Refresh host DYNAMIC projection

Canonical state is the DB. Host files are opt-in projections:
- Claude: `tausik_update_claudemd` (CLAUDE.md only; AGENTS.md only with CLI `--sibling`)
- Other hosts / AGENTS.md: `.tausik/tausik context refresh --target <id>`
  (`claude` | `cursor` | `agents` | …). No `--target` is a hard refuse; a
  hand-maintained file without DYNAMIC markers is a structured non-success,
  not a silent skip.

### 4. Confirm

Tell the user: "Checkpoint saved. Context preserved for session continuity."

**Suggest next:** "Continue with current task, or `/end` to wrap up the session."

**That's it.** No session close, no commit prompt, no memory saves. Keep it fast.

## Gotchas

- **Authored JSON must be valid JSON** — unescaped quotes in values will break the command. With no authored fields, call it without arguments.
- **Checkpoint does NOT commit** — code changes are only in working tree.
- **Session duration** — an advisory, not a limit (decision #376): mention it, do not stop work for it.
- **Chat completion does not authorize more work.** Codex Stop does not require task closure or synthesize continuation turns. Explicit task call budgets still govern tool authorization. Host-context thresholds recommend a checkpoint; only owner-configured `host_context_budget.enforcement="hard"` forces a new thread.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.