One-click install
npx skills add https://github.com/sethihq/guide --skill context-sethihq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context
Source: https://github.com/sethihq/guide/tree/main/public/kit/skills/context
Command: npx skills add https://github.com/sethihq/guide --skill context-sethihq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps manage the AI's context window, preventing it from becoming full and ensuring efficient operation by providing tools to monitor usage, create handoffs, and compact the context.

Core Features & Use Cases

  • Monitor Context Usage: Check the current percentage of the context window being used.
  • Create Handoffs: Save the current task state, decisions, modified files, and next steps before making significant changes to the context.
  • Compact Context: Summarize earlier parts of the conversation to free up space in the context window.
  • Resume Handoff: Restore the context from a previously saved handoff file.
  • Use Case: When working on a long-running task, you notice the context usage is getting high. You use the 'create-handoff' command to save your progress, then 'compact' the context to make space, and finally 'resume-handoff' to continue your work seamlessly.

Quick Start

Check the current context usage by running the command /context.

Frequently Asked Questions about context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage my AI's context window when conversation history gets too long?

Manage your AI's context window by monitoring usage, creating handoffs to save state, and compacting past interactions. This prevents context overload and maintains performance during long-running tasks.

What is context compaction and how does it free up space in the context window?

Context compaction summarizes earlier parts of your conversation to free up space in the context window. It reduces past interaction history into a concise summary while retaining essential task state.

How do I save my AI task state before making significant changes to the context?

Save your AI task state by creating a handoff. This records current decisions, modified files, and next steps before significant context changes, allowing you to resume work seamlessly later.

Can I check the current percentage of the context window being used during a task?

Check the current percentage of the context window being used by running the command /context. This monitors your conversation history size to help you decide when to compact or create handoffs.

When should I use context handoffs instead of just summarizing conversation history?

Use context handoffs when you need to save exact task state, decisions, modified files, and next steps before altering the context. Summarizing conversation history only compacts past interactions without preserving structured state.