From oac
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].
How this skill is triggered — by the user, by Claude, or both
Slash command
/oac:context-discoveryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Discover project standards and patterns before implementing features. Context-scout resolves the context root using the [OAC Context Discovery Protocol](./context-discovery-protocol.md), then finds and ranks relevant files based on your request.
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.
npx claudepluginhub darrenhinde/openagentscontrol --plugin oacAnalyzes project structure, tech stack, test frameworks, code conventions, and architecture to generate a compact context file for downstream dev-* skills.
Guides writing enforceable conventions, stack declarations, and context for HARNESS.md to help LLMs follow project standards and aid team onboarding.
Hierarchical context loading strategy for AI coding agents. Loads rules, architecture, source, errors, and conversation in priority order to maximize signal per token.