diff --git a/packages/web/src/content/docs/agents.mdx b/packages/web/src/content/docs/agents.mdx index ea1f779cd37..38ee1087546 100644 --- a/packages/web/src/content/docs/agents.mdx +++ b/packages/web/src/content/docs/agents.mdx @@ -157,10 +157,10 @@ Configure agents in your `opencode.json` config file: You can also define agents using markdown files. Place them in: -- Global: `~/.config/opencode/agents/` -- Per-project: `.opencode/agents/` +- Global: `~/.config/opencode/agent/` +- Per-project: `.opencode/agent/` -```markdown title="~/.config/opencode/agents/review.md" +```markdown title="~/.config/opencode/agent/review.md" --- description: Reviews code for quality and best practices mode: subagent @@ -419,7 +419,7 @@ You can override these permissions per agent. You can also set permissions in Markdown agents. -```markdown title="~/.config/opencode/agents/review.md" +```markdown title="~/.config/opencode/agent/review.md" --- description: Code review without edits mode: subagent @@ -637,7 +637,7 @@ Do you have an agent you'd like to share? [Submit a PR](https://github.com/anoma ### Documentation agent -```markdown title="~/.config/opencode/agents/docs-writer.md" +```markdown title="~/.config/opencode/agent/docs-writer.md" --- description: Writes and maintains project documentation mode: subagent @@ -659,7 +659,7 @@ Focus on: ### Security auditor -```markdown title="~/.config/opencode/agents/security-auditor.md" +```markdown title="~/.config/opencode/agent/security-auditor.md" --- description: Performs security audits and identifies vulnerabilities mode: subagent