Suggested

    Custom agents

    Your own agents and slash commands, as Markdown files.

    On this page

    A custom agent is a prompt with its own model and tools. A command is a message template you run with /. Both are Markdown files with front matter at the top, in the format Claude Code and OpenCode use, so the ones you already have work in Aux.

    Make one#

    Open Settings › Plugins & MCPs › Agents and choose New agent or New command. The same page lists every agent and command Aux found, lets you turn each one off, and shows any file it couldn’t read.

    Where Aux looks#

    • Aux’s own folder, where New agent and New command save. These sync with your Aux account.
    • ~/.agents, ~/.claude and ~/.config/opencode, in their agents and commands folders (OpenCode’s agent and command work too).
    • For a Project’s chats, the Project’s own .agents, .claude and .opencode folders.

    When two files have the same name, your own wins over a Project’s.

    An agent#

    ---
    name: code-reviewer
    description: Reviews diffs
    tools: Read, Grep
    model: sonnet
    ---
    You review code. Report each problem with the line it’s on.

    description is required, and the text under the front matter is the prompt. model picks the model, tools keeps the agent to those tools, and mode says whether it’s a primary agent you chat with, a subagent other agents hand work to, or all. An agent can only narrow what the chat may do, never widen it.

    Pick a primary agent with the Agent button in the message box. Aux also has a built-in review sub-agent that reports defects with evidence.

    A command#

    ---
    description: Open a pull request
    argument-hint: [title]
    ---
    Open a pull request titled $ARGUMENTS.

    Type / and the command’s name at the start of a message. $ARGUMENTS is what you type after the name, and $1 to $9 are its words. A command in a subfolder takes the folder’s name, so git/pr.md runs as /git:pr. Set agent or model to run it as a sub-agent on them.