Get the FREE Ultimate OpenClaw Setup Guide →

context-management

npx machina-cli add skill aiskillstore/marketplace/context-management --openclaw
Files (1)
SKILL.md
2.5 KB

Context Management

This skill manages context across multi-agent workflows and long-running tasks, ensuring coherent state preservation and efficient context distribution.

When to Use This Skill

  • When coordinating multiple agents in a workflow
  • When preserving context across sessions
  • When managing long-running projects
  • When compressing context for efficiency
  • When distributing context to specific agents
  • When creating context checkpoints

What This Skill Does

  1. Context Capture: Extracts key decisions and rationale
  2. Context Distribution: Prepares relevant context for each agent
  3. Memory Management: Stores critical project decisions
  4. Context Compression: Reduces context size while preserving key information
  5. Context Indexing: Creates indexes for quick retrieval
  6. State Preservation: Maintains coherent state across sessions

How to Use

Manage Context

Capture the key context from this conversation
Prepare context for the next agent in this workflow

Specific Tasks

Create a context checkpoint for this project milestone

Context Formats

Quick Context (< 500 tokens)

  • Current task and immediate goals
  • Recent decisions affecting current work
  • Active blockers or dependencies

Full Context (< 2000 tokens)

  • Project architecture overview
  • Key design decisions
  • Integration points and APIs
  • Active work streams

Archived Context

  • Historical decisions with rationale
  • Resolved issues and solutions
  • Pattern library
  • Performance benchmarks

Best Practices

Context Management

  1. Relevance Over Completeness: Include only what's needed
  2. Key Decisions: Capture rationale, not just outcomes
  3. Compression: Reduce context while preserving meaning
  4. Indexing: Create searchable context indexes
  5. Checkpoints: Save context at major milestones

Reference Files

  • references/patterns.md - Context management patterns, handoff templates, and multi-agent coordination

Related Use Cases

  • Multi-agent coordination
  • Long-running project management
  • Context preservation across sessions
  • Workflow state management
  • Project knowledge management

Source

git clone https://github.com/aiskillstore/marketplace/blob/main/skills/89jobrien/context-management/SKILL.mdView on GitHub

Overview

This skill manages context across multi-agent workflows and long-running tasks, ensuring coherent state preservation and efficient context distribution. It captures key decisions and rationale, compresses context for efficiency, and creates quick-access indexes to speed retrieval and handoffs.

How This Skill Works

It provides a structured pipeline: Capture the key context from conversations, distribute relevant context to each agent, and preserve memory for future sessions. It includes context compression, indexing, and state preservation to maintain continuity across sessions and milestones.

When to Use It

  • Coordinating multiple agents in a workflow
  • Preserving context across sessions
  • Managing long-running projects
  • Compressing context for efficiency
  • Distributing context to specific agents

Quick Start

  1. Step 1: Capture the key context from this conversation
  2. Step 2: Prepare context for the next agent in this workflow
  3. Step 3: Create a context checkpoint for this project milestone

Best Practices

  • Relevance over completeness: include only what's needed
  • Capture key decisions with rationale, not just outcomes
  • Compress context to reduce size while preserving meaning
  • Create searchable context indexes for quick retrieval
  • Save context at major milestones as checkpoints

Example Use Cases

  • An AI orchestration system coordinating data processing agents across a complex pipeline
  • A software project with long running experiments where context must persist across sessions
  • Cross agent decision logs that preserve rationale for audit and handoffs
  • Context checkpointing at milestone goals to enable rollback or progress tracking
  • Indexing design decisions and APIs for rapid retrieval by new agents joining a workflow

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers