create-checkpoint

Um processo para guardar o estado atual de uma sessão num ficheiro de checkpoint. Um checkpoint é um registo que permite retomar mais tarde o trabalho, as decisões e as tarefas pendentes.

In plain words
What is it for?
Serve para documentar o projeto, papel, fase, estilo de resposta, tarefas abertas, decisões e ficheiros relevantes no fim de uma sessão.
Why use it?
Evita perder o contexto quando uma sessão termina. Regista as informações necessárias para que outra conversa possa continuar a partir do ponto certo.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/msiccdev/ai-context-kit/create-checkpoint
Any agent
npx skills add MSiccDev/ai-context-kit --skill create-checkpoint
Clone the repo
git clone --depth 1 https://github.com/MSiccDev/ai-context-kit

Made for: Claude Code, Codex.

Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 581 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00044 $0.00581
Opus 5 $0.00022 $0.00291
Sonnet 5 $0.00009 $0.00116
Haiku 4.5 $0.00004 $0.00058

Measured yesterday against content hash a75d6096adf4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-checkpoint 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 yesterday.

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.

skills/create-checkpoint/SKILL.md · 52 lines

How it starts

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

Create Checkpoint

Purpose

Capture the active session state as a structured Markdown checkpoint artifact so the session can be restored in a future conversation.

How to Invoke

Load or attach this file's contents into your AI session to activate the workflow (paste, upload, or reference with #file:skills/create-checkpoint/SKILL.md in VS Code Copilot Chat). In Claude Projects, add it to project knowledge. See Invoking Skills in the README for full platform guidance.

When To Use

  • When the user signals they are ending the session and want to resume later.
  • When the user explicitly requests a checkpoint.
  • Do not create checkpoints silently or mid-session without the user's explicit request.

Required Inputs

  • Current active values for: project, role, phase, output_style, tone, and interaction_mode (if established).
  • Open tasks or confirmed next steps from this session.
  • Key decisions made during this session that affect future work.
  • File paths actively referenced or modified this session.

Workflow

  1. Collect the current values for all required schema fields from active session state.
  2. List all open tasks — items in progress or confirmed next steps.
  3. List key decisions made this session that would affect future work.
  4. List file paths actively referenced or modified.
  5. Draft the checkpoint artifact using the schema in references/checkpoint-schema.md.
  6. Present the full draft to the user for review and approval before writing anything.
  7. Write the file only after the user explicitly approves.
  8. Suggest saving as checkpoint-YYYY-MM-DD.md in the project root or a checkpoints/ folder if one exists. Let the user decide the exact path.

Output Expectations

  • A Markdown file with YAML frontmatter containing all required schema fields.
  • Human-readable summary paragraph below the frontmatter is optional but encouraged.
  • The file must not be written without explicit user approval.
  • Sensitive data (credentials, private client content) must never be included.

Read the full file on GitHub · 52 lines

Files

What ships with it

2 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. yesterday First seen · 52 lines · 44 tokens per session scan A a75d6096adf4

Subscribe to this mod's changes

create-checkpoint is a skill published in the GitHub repository MSiccDev/ai-context-kit (12 stars, last pushed 4d ago), licensed MIT. It adds 44 tokens to every session and 581 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-08-30.