docs(opencode): update integration docs for plural dirs and new frontmatter

Reflect the switch to agents/ (plural), hex color codes, mode: subagent,
and @agent-name invocation in both the OpenCode integration README and the
main README's OpenCode section.
This commit is contained in:
Victor Kzam
2026-03-09 13:15:11 +00:00
parent 857e55fa74
commit 43c66a7b89
2 changed files with 22 additions and 18 deletions

View File

@@ -341,7 +341,7 @@ The Agency works natively with Claude Code, and ships conversion + install scrip
- **[Claude Code](https://claude.ai/code)** — native `.md` agents, no conversion needed → `~/.claude/agents/`
- **[Antigravity](https://github.com/google-gemini/antigravity)** — `SKILL.md` per agent → `~/.gemini/antigravity/skills/`
- **[Gemini CLI](https://github.com/google-gemini/gemini-cli)** — extension + `SKILL.md` files → `~/.gemini/extensions/agency-agents/`
- **[OpenCode](https://opencode.ai)** — `.md` agent files → `.opencode/agent/`
- **[OpenCode](https://opencode.ai)** — `.md` agent files → `.opencode/agents/`
- **[Cursor](https://cursor.sh)** — `.mdc` rule files → `.cursor/rules/`
- **[Aider](https://aider.chat)** — single `CONVENTIONS.md``./CONVENTIONS.md`
- **[Windsurf](https://codeium.com/windsurf)** — single `.windsurfrules``./.windsurfrules`
@@ -446,7 +446,7 @@ See [integrations/gemini-cli/README.md](integrations/gemini-cli/README.md) for d
<details>
<summary><strong>OpenCode</strong></summary>
Agents are placed in `.opencode/agent/` in your project root (project-scoped).
Agents are placed in `.opencode/agents/` in your project root (project-scoped).
```bash
cd /your/project
@@ -455,13 +455,13 @@ cd /your/project
Or install globally:
```bash
mkdir -p ~/.config/opencode/agent
cp integrations/opencode/agent/*.md ~/.config/opencode/agent/
mkdir -p ~/.config/opencode/agents
cp integrations/opencode/agents/*.md ~/.config/opencode/agents/
```
Activate in OpenCode:
```
Use the Backend Architect agent to design this API.
@backend-architect design this API.
```
See [integrations/opencode/README.md](integrations/opencode/README.md) for details.