Writing subagents

From scaling-group/eve · View interactive version

Writing subagents is an AI agent skill from the GitHub repository scaling-group/eve. Use when creating new subagents, editing existing subagents, or verifying subagents work before deployment

How to use this skill

Skill file

Writing Subagents

Directory Structure

Put subagent files in guidance/agents/codex/. We have linked .codex/agents/ to this folder, so they can be loaded automatically.

guidance/
  agents/
    codex/
      subagent-name.toml

Subagents File Format

Write TOML files with at least:

name = "subagent-name"
description = "Use when [specific triggering conditions and expected output]"
developer_instructions = '''
# Subagent title

Task-specific instructions here.
'''

Reference docs if deeper format details are needed:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.