Skills

Context Manager

Context management skill providing discovery, fetching, harvesting, extraction...

Install

npx skills add darrenhinde/OpenAgentsControl --skill context-manager -g -a claude-code -y
Category
Engineering
Updated
9d ago
License
MIT
Context cost
Mediumabout 3,000 tokens
Runs scripts
Yes, review before use

What it does

Context management skill providing discovery, fetching, harvesting, extraction, compression, organization, cleanup, and guided workflows for project context

Context Manager Skill

Purpose: Comprehensive context management operations with clear guidance, lazy loading, and safe operations for discovering, organizing, and maintaining project context.


What I Do

I provide 8 powerful operations for managing context:

  1. DISCOVER - Find context files by topic or path
  2. FETCH - Get external documentation from libraries
  3. HARVEST - Extract context from summary files
  4. EXTRACT - Pull specific information from context
  5. COMPRESS - Reduce large file sizes
  6. ORGANIZE - Restructure context by concern
  7. CLEANUP - Remove stale or temporary files
  8. PROCESS - Guided workflow for context operations

Quick Start

1. Discover Context

bash .opencode/skills/context-manager/router.sh discover authentication

Finds all context files related to authentication patterns.

2. Fetch External Documentation

bash .opencode/skills/context-manager/router.sh fetch "Drizzle ORM" "modular schemas"

Retrieves live documentation from external libraries.

3. Harvest Context

bash .opencode/skills/context-manager/router.sh harvest ANALYSIS.md

Extracts key concepts from summary files into permanent context.

4. Extract Information

bash .opencode/skills/context-manager/router.sh extract code-quality.md "naming conventions"

Pulls specific information from context files.

5. Compress Files

bash .opencode/skills/context-manager/router.sh compress .opencode/context/ 100KB

Reduces large context files to save space.

6. Organize Context

bash .opencode/skills/context-manager/router.sh organize .opencode/context/

Restructures context by concern for better organization.

7. Cleanup Stale Files

bash .opencode/skills/context-manager/router.sh cleanup .tmp/ 7

Removes temporary or old files (older than 7 days).

Read the whole SKILL.md on GitHub

More in Engineering