Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions packages/web/src/content/docs/agents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down