Skip to content
Back to skills

Ccheckpoint

ASecurity

Save a checkpoint and commit only that file locally via the isolated-index helper, preserving unrelated staged changes. Never pushes.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 22, 2026
ai-agentsgoshellnodegitapi

Works with

  • api

Security analysis

A100/100

Scanned November 13, 2026

npx -y skills add PHPCraftdream/cc-arch-hands --skill ccheckpoint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ccheckpoint?

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

Security grade badge for Ccheckpoint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/phpcraftdream-ccheckpoint-cc-arch-hands/badge)](https://www.skillsdirectory.com/skills/phpcraftdream-ccheckpoint-cc-arch-hands)

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: ccheckpoint
description: "Save a checkpoint and commit only that file locally via the isolated-index helper, preserving unrelated staged changes. Never pushes."
---
# ccheckpoint

Arguments: take them from the user's request that triggered this skill.

This explicit invocation requests a local checkpoint commit, not a push. Part 1 saves the checkpoint exactly like /checkpoint; Part 2 commits only that file. Stop without committing if Part 1 refuses or fails.

## Part 1 — save the checkpoint

1. Run the Main folder only check below from the original directory; stop if it refuses. Write into the checkpoint directory that section picks (the main folder, or the worktree fallback).
2. Accept one optional slug matching ^[a-z0-9]+(?:-[a-z0-9]+)*$. Without a name use local time YYYY-MM-DD-HHmm. Reject paths, separators and invalid names before writing. A user-chosen name overwrites only that checkpoint. Verify the directory and file are not redirected outside this repository.
3. Call cah_todos. Record the actual tasks, verbatim contents, statuses (pending, in_progress, completed, cancelled), and the dependencies or execution strategy visible in task content and session context. Do not invent IDs or state. Record unavailable data plainly.
4. Write <name>.md with sections Session summary, Active goal, Tasks, Decisions, Open questions and Repo state. Include a useful recap, up to five material decisions, pending user questions and the repo state described in the Main folder only section below (main folder first, then every linked worktree). OpenCode todos have no blocked status: record blockers and external waits as content annotations, distinct from runnable work. If babysit is available, inspect cah_babysit with action: status and record its interval and session-only nature, not a promise to restore its timer. Omit secrets, tokens and large dumps.
5. Report the absolute path of the file written.

## Part 2 — commit only that file

Require the resulting file to be <safe-name>.md in the checkpoint directory Part 1 picked (the main folder's docs/checkpoints/, or the worktree's on the fallback), with basename matching ^[a-z0-9]+(?:-[a-z0-9]+)*\.md$. Invoke Node on the installed helper {{COMMIT_HELPER}} with arguments --name and that basename, from the original caller directory. Pass arguments as data using an argv-capable API (for example Node execFileSync); never interpolate the user label into shell code. The helper resolves the main folder (also from a linked worktree), verifies the repository and filename, uses an isolated index, skips staged checkpoint paths, locks and active Git operations, and preserves unrelated staged changes.

Report the checkpoint path and the helper's actual commit SHA, skip or failure. Never push. A failed commit does not invalidate the saved checkpoint. The helper uses git commit-tree and does not run Git commit hooks.

{{include:checkpoint-main-worktree}}

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.