Discovers and ranks project files for coding standards, security patterns, and conventions using context-scout. Loads critical/high/medium priority files before implementation. Invoke via /context-discovery [topic].
From oacnpx claudepluginhub darrenhinde/openagentscontrol --plugin oacThis skill uses the workspace's default tool permissions.
context-discovery-protocol.mdSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides idea refinement into designs: explores context, asks questions one-by-one, proposes approaches, presents sections for approval, writes/review specs before coding.
Discover project standards and patterns before implementing features. Context-scout resolves the context root using the OAC Context Discovery Protocol, then finds and ranks relevant files based on your request.
Announce at start: "I'm using the context-discovery skill to find relevant standards for [feature/task]."
Run the skill with your implementation topic:
/context-discovery [what you're implementing]
Examples:
/context-discovery JWT authentication/context-discovery React form validation/context-discovery database migration workflowRead EVERY file marked Critical Priority (paths returned by context-scout, relative to the resolved context root):
Read: {context_root}/core/standards/code-quality.md
Read: {context_root}/core/standards/security-patterns.md
These are mandatory—proceed only after loading.
Read files marked High Priority:
Read: {context_root}/core/workflows/approval-gates.md
These are strongly recommended for your implementation.
Read Medium Priority files for additional context:
Read: {context_root}/project-intelligence/architecture.md
These are optional but helpful.
When invoking subagents, pass discovered context files:
Invoke coder-agent:
Task: Implement JWT service
Context to load:
- .opencode/context/core/standards/code-quality.md
- .opencode/context/core/standards/security-patterns.md
Instructions: Follow functional patterns and security best practices.
"No context files found"
/install-context to download context first"Too many files returned"
"Which files do I load?"
Task: Discover context files for $ARGUMENTS
Follow navigation-driven discovery and return ranked recommendations.