darrenhinde/openagentscontrol
Overview
This skill provides comprehensive context management for development projects, offering discovery, fetching, harvesting, extraction, compression, organization, cleanup, and guided workflows. It focuses on safe, incremental operations and clear guidance so teams can maintain an accurate, discoverable project context.
How this skill works
The skill inspects repository and temporary directories to discover and categorize context files, fetches external documentation when requested, and harvests key concepts from summary files into persistent context. It offers extraction of targeted information, compresses large files, reorganizes context by concern, cleans up stale artifacts, and runs step-by-step workflows with confirmations and recovery options.
When to use it
- When you need to map or inventory all context files in a repo
- When you want to fetch and cache live external documentation for team use
- When converting temporary analyses or notes into permanent context
- When extracting specific standards, patterns, or summaries for subagents
- When compressing or archiving large context files to save space
- When cleaning up stale or temporary files to reclaim space and reduce noise
Best practices
- Run discover regularly to keep an up-to-date map of context sources
- Organize by concern (feature/topic) rather than by function for easier consumption
- Lazy-load files: discover first, then read only the files needed
- Ask for confirmation and create backups before destructive cleanup or moves
- Harvest summary documents to permanent context and update navigation files
- Validate integrity and update manifests after reorganization or compression
Example use cases
- Discover all authentication-related context, extract auth patterns, and produce a concise reference for subagents
- Fetch documentation for an external library (e.g., Drizzle ORM), persist it, and add references for developers
- Harvest key concepts from DEVELOPER_PROFILE_ANALYSIS.md into structured context files and remove temporary notes
- Compress .opencode/context/ files above 100KB before packaging a distribution
- Run a guided process to organize development context, show proposed structure, and execute moves with backups
FAQ
The skill asks for explicit confirmation, creates backups when appropriate, and provides recovery instructions and integrity checks after operations.
When should I fetch external docs?
Fetch only when you need version-specific docs or plan to reference them in persistent context; prefer lazy loading to avoid stale caches.
2 skills
This skill helps you manage project context end-to-end, discovering, fetching, harvesting, extracting, organizing, compressing, cleaning, and guiding workflows.
This skill lets you embody iconic movie characters with configurable missions and themed workflows to create engaging, personalized automation experiences.