Checkpoint
Convert OpenAPI/Swagger into Agent Skills–compatible packages (SKILL.md + scripts + reference) for Claude, Cursor, and other skill hosts — .NET NuGet CLI with auth-aware dispatcher.
npx -y skills add angpysha/api2skill --skill checkpointAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 25 days oldThe repository was created 25 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Read/write hierarchical SDLC checkpoints in _code_agent/{session}/. Save artifacts to disk (save/read/ls/link) instead of pasting large content in chat. JSON source of truth; TOON projections for token-efficient resume. Commands: start, done, save, read, ls, link, log, input, output, gate, resume, view, metrics.
SKILL.md
4.5 KB, as published. Nobody here has run it
Checkpoint Skill
Local, resumable memory for pipeline progress. Design: docs/reference/agent-checkpoints.md.
Token rule: persist bulky content as files under artifacts/ and pass paths in
chat. Use resume / ls / view (metadata) / read --max-chars — never paste full
build logs, code plans, or gate output into the conversation.
Storage is JSON (source of truth) plus TOON projections for token-efficient resume in a new chat.
Session path: _code_agent/{YYYYMMDD-slug}/
Hierarchy
_code_agent/{session}/
state.json # snapshot + artifacts_index (paths + bytes only)
events.jsonl
artifacts/ # session files — write here, not in chat
sdlc/ # working SDLC docs (REQ, SDD, plan, API, TEST, ADR)
requirements/
design/
api/
adr/
test-reports/
closeout/
tasks/{task-id}/code-plan.md
spike/
gates/
ado/ # Azure DevOps TOON queries (optional)
steps/{phase}/{step}/
step.json # includes artifact path refs
input.md | output.md | logs.md # short summaries only
views/resume.toon # TOON projection for resume
Commands
Requires PowerShell Core (pwsh). From repo root:
$CP = '.cursor/skills/checkpoint/scripts/checkpoint.ps1'
# or after minimal install: $CP = '.agents/scripts/checkpoint.ps1'
# Step lifecycle
pwsh $CP start <session> <phase> <step> <agent> "<short summary>"
pwsh $CP input <session> <phase> <step> "<brief — paths to artifacts, not full docs>"
pwsh $CP log <session> <phase> <step> "<one-line log; pipe build output to a file instead>"
pwsh $CP output <session> <phase> <step> "<short result + artifact paths>"
pwsh $CP done <session> <phase> <step> "<summary>" [artifact-rel-path...]
# Artifact files (token-efficient)
pwsh $CP save <session> <artifact-rel> --from <source-file>
pwsh $CP save <session> <artifact-rel> --text "<small snippet>"
pwsh $CP link <session> <phase> <step> <artifact-rel>
pwsh $CP ls <session> [prefix]
pwsh $CP read <session> <artifact-rel> [--max-chars 4096]
# Resume / inspect
pwsh $CP resume <session>
pwsh $CP view <session> <phase> <step>
pwsh $CP view <session> <phase> <step> full [--max-chars 8000]
pwsh $CP gate <session> pass|fail "<gate-name>" [task-id]
pwsh $CP metrics <session>
Token-saving workflow
| Instead of… | Do… |
|---|---|
| Pasting a code plan in chat | Write to artifacts/tasks/{id}/code-plan.md, then link + cite path |
| Pasting build/test output | save … --from /tmp/build.log or redirect to artifacts/gates/dev.log |
| Pasting full step input/output | One-line summary in input/output; details in artifact file |
| Loading entire artifact on resume | resume (index only) → read --max-chars 2000 if needed |
view with huge logs | Default view = metadata; view … full only when debugging |
Example — developer code plan
$CP = '.cursor/skills/checkpoint/scripts/checkpoint.ps1'
$Session = '20260610-rate-limit'
$Task = 'task-142'
# 1. Write file with editor/Write tool (not in chat):
# _code_agent/$Session/artifacts/tasks/$Task/code-plan.md
# 2. Register + brief the coordinator
pwsh $CP link $Session 7 7.3 "tasks/$Task/code-plan.md"
pwsh $CP output $Session 7 7.3 "Code plan ready: artifacts/tasks/$Task/code-plan.md"
Example — gate log
$CP = '.cursor/skills/checkpoint/scripts/checkpoint.ps1'
$Session = '20260610-rate-limit'
dotnet test 2>&1 | Tee-Object -FilePath /tmp/test.log
pwsh $CP save $Session gates/test.log --from /tmp/test.log
pwsh $CP gate $Session pass test-gate task-142
Coordinator usage
- On every step boundary:
start→ (save/linkas needed) → shortinput/output→doneorgate. - SDLC docs: write to
_code_agent/{session}/artifacts/sdlc/during phases; coordinator publishes todocs/sdlc/after Phase 9. - Resume across chats:
resume <session>→ read TOON → cite artifact paths →readonly what you need. - Never store secrets in checkpoint files.