Purpose: Context files specific to the OpenAgents Control repository
Last Updated: 2026-02-04
| Function | Files | Purpose |
|---|---|---|
| Standards | 2 files | Agent creation standards |
| Concepts | 6 files | Core ideas and principles |
| Examples | 9 files | Working code samples |
| Guides | 14 files | Step-by-step workflows |
| Lookup | 11 files | Quick reference tables |
| Errors | 2 files | Common issues + solutions |
| Features | 3 files | Feature documentation and refactoring |
| Plugins | Context plugin system | Plugin architecture and capabilities |
| File | Topic | Priority |
|---|---|---|
standards/agent-frontmatter.md |
Valid OpenCode YAML frontmatter | ⭐⭐⭐⭐⭐ |
standards/subagent-structure.md |
Standard subagent file structure | ⭐⭐⭐⭐⭐ |
When to read: Before creating or modifying any agent files
| File | Topic | Priority |
|---|---|---|
concepts/compatibility-layer.md |
Adapter pattern for AI coding tools | ⭐⭐⭐⭐⭐ |
concepts/subagent-testing-modes.md |
Standalone vs delegation testing | ⭐⭐⭐⭐⭐ |
concepts/hooks-system.md |
User-defined lifecycle commands | ⭐⭐⭐⭐ |
concepts/agent-skills.md |
Skills that teach Claude tasks | ⭐⭐⭐⭐ |
concepts/subagents-system.md |
Specialized AI assistants | ⭐⭐⭐⭐ |
When to read: Before testing any subagent or working with tool adapters
| File | Topic | Priority |
|---|---|---|
examples/baseadapter-pattern.md |
Template Method pattern for tool adapters | ⭐⭐⭐⭐⭐ |
examples/zod-schema-migration.md |
Migrating TypeScript to Zod schemas | ⭐⭐⭐⭐ |
examples/subagent-prompt-structure.md |
Optimized subagent prompt template | ⭐⭐⭐⭐ |
When to read: When creating adapters, schemas, or optimizing subagent prompts
| File | Topic | Priority |
|---|---|---|
guides/compatibility-layer-workflow.md |
Developing compatibility layer for AI tools | ⭐⭐⭐⭐⭐ |
guides/testing-subagents.md |
How to test subagents standalone | ⭐⭐⭐⭐⭐ |
guides/adding-agent-basics.md |
How to add new agents (basics) | ⭐⭐⭐⭐ |
guides/adding-agent-testing.md |
How to add agent tests | ⭐⭐⭐⭐ |
guides/adding-skill-basics.md |
How to add OpenCode skills | ⭐⭐⭐⭐ |
guides/creating-skills.md |
How to create Claude Code skills | ⭐⭐⭐⭐ |
guides/creating-subagents.md |
How to create Claude Code subagents | ⭐⭐⭐⭐ |
guides/testing-agent.md |
How to test agents | ⭐⭐⭐⭐ |
guides/external-libraries-workflow.md |
How to handle external library dependencies | ⭐⭐⭐⭐ |
guides/github-issues-workflow.md |
How to work with GitHub issues and project board | ⭐⭐⭐⭐ |
guides/npm-publishing.md |
How to publish package to npm | ⭐⭐⭐ |
guides/updating-registry.md |
How to update registry | ⭐⭐⭐ |
guides/debugging.md |
How to debug issues | ⭐⭐⭐ |
guides/resolving-installer-wildcard-failures.md |
Fix wildcard context install failures | ⭐⭐⭐ |
guides/creating-release.md |
How to create releases | ⭐⭐ |
When to read: When performing specific tasks
| File | Topic | Priority |
|---|---|---|
lookup/tool-feature-parity.md |
AI coding tool feature comparison | ⭐⭐⭐⭐⭐ |
lookup/compatibility-layer-structure.md |
Compatibility package file structure | ⭐⭐⭐⭐⭐ |
lookup/subagent-test-commands.md |
Subagent testing commands | ⭐⭐⭐⭐⭐ |
lookup/hook-events.md |
All hook events reference | ⭐⭐⭐⭐ |
lookup/skill-metadata.md |
SKILL.md frontmatter fields | ⭐⭐⭐⭐ |
lookup/skills-comparison.md |
Skills vs other options | ⭐⭐⭐⭐ |
lookup/builtin-subagents.md |
Default subagents (Explore, Plan) | ⭐⭐⭐⭐ |
lookup/subagent-frontmatter.md |
Subagent configuration fields | ⭐⭐⭐⭐ |
lookup/file-locations.md |
Where files are located | ⭐⭐⭐⭐ |
lookup/commands.md |
Available slash commands | ⭐⭐⭐ |
When to read: Quick command lookups and feature comparisons
| File | Topic | Priority |
|---|---|---|
errors/tool-permission-errors.md |
Tool permission issues | ⭐⭐⭐⭐⭐ |
errors/skills-errors.md |
Skills not triggering/loading | ⭐⭐⭐⭐ |
When to read: When tests fail with permission errors
| File | Topic | Priority |
|---|---|---|
core-concepts/agents.md |
How agents work | ⭐⭐⭐⭐⭐ |
core-concepts/evals.md |
How testing works | ⭐⭐⭐⭐⭐ |
core-concepts/registry.md |
How registry works | ⭐⭐⭐⭐ |
core-concepts/categories.md |
How organization works | ⭐⭐⭐ |
When to read: First time working in this repo
concepts/subagent-testing-modes.md (understand modes)guides/testing-subagents.md (step-by-step)lookup/subagent-test-commands.md (commands)errors/tool-permission-errors.mdstandards/agent-frontmatter.md (valid YAML frontmatter)standards/subagent-structure.md (file structure)core-concepts/agents.md (understand system)guides/adding-agent-basics.md (step-by-step)guides/external-libraries-workflow.md (fetch docs)examples/subagent-prompt-structure.md (if subagent)guides/testing-agent.md (validate)guides/github-issues-workflow.md (understand workflow)guides/debugging.md (general approach)errors/lookup/file-locations.md (find files)All files follow MVI principle (<200 lines):
../core/ - Core system context (standards, patterns)../core/context-system/ - Context management systemquick-start.md - 2-minute repo orientation../content-creation/navigation.md - Content creation principlesplugins/context/navigation.md - Plugin system contextfeatures/navigation.md - Feature documentation and refactoring guidesWhen adding new context files:
/context validate