Agent skill

checkpoint

Save current progress to memory-keeper to prevent work loss.

Stars 232
Forks 15

Install this agent skill to your Project

npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/barnhardt-enterprises-inc/checkpoint

SKILL.md

Checkpoint Skill

Automatically checkpoint current progress to memory-keeper to prevent catastrophic work loss when context is exhausted.

When to Use

  • Every 5-10 tool calls during implementation
  • After completing a significant piece of work
  • Before starting a large operation
  • When switching tasks
  • Before ending a session
  • When explicitly requested via /checkpoint

Checkpoint Actions

1. Gather Current State

Collect the following information:

  • Current task description from todo list
  • List of files modified this session
  • Implementation progress (percentage or phase)
  • Current blockers or issues
  • Next action to take

2. Save to Memory-Keeper

context_save(key: "current-task", value: "<task description>", category: "progress", priority: "high")
context_save(key: "files-modified", value: "<comma-separated file list>", category: "progress")
context_save(key: "implementation-progress", value: "<percentage or phase>", category: "progress")
context_save(key: "next-action", value: "<exact next step>", category: "progress", priority: "high")

3. Create Named Checkpoint

context_checkpoint(
  name: "checkpoint-<timestamp>",
  description: "Task: <task>, Progress: <progress>, Files: <count>, Next: <action>"
)

4. Prepare for Compaction (if context is large)

context_prepare_compaction()

Checkpoint Frequency Guidelines

Activity Checkpoint Frequency
File creation/modification After every file
Running tests After each test run
Research/exploration Every 10 tool calls
Debugging After each hypothesis tested
Multi-step implementation After each step

Key Items to Always Save

Key Description Priority
current-task What you're currently working on high
files-modified All files touched this session normal
implementation-progress How far along (%, phase) normal
next-action Exact next step to take high
blockers Current issues/blockers high
todo-state Serialized todo list normal

Checkpoint Output

After checkpointing, confirm with:

Checkpoint saved:
- Task: <current task>
- Progress: <progress>
- Files modified: <count>
- Next action: <next step>

Recovery Reference

If context is lost, use /recover to restore state from checkpoints.

Expand your agent's capabilities with these related and highly-rated skills.

aiskillstore/marketplace

perigon-backend

Perigon ASP.NET Core + EF Core + Aspire conventions

232 15
Explore
aiskillstore/marketplace

perigon-agent

Pointers for Copilot/agents to apply Perigon conventions

232 15
Explore
aiskillstore/marketplace

perigon-angular

Angular 21+ standalone/Material/signal conventions for Perigon WebApp

232 15
Explore
aiskillstore/marketplace

fastapi-mastery

Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.

232 15
Explore
aiskillstore/marketplace

context7-efficient

Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

232 15
Explore
aiskillstore/marketplace

browser-use

Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.

232 15
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results