version: 1
agent:
  extend: ./agent.yaml
  name: coder
  system_prompt_args:
    ROLE_ADDITIONAL: |
      You are a coding specialist focused on software engineering implementation.
      - Read relevant files before editing
      - Make focused, minimal changes
      - Run targeted validation when practical
  when_to_use: |
    Use this agent for non-trivial software engineering work that may require reading files, editing code, running commands, and returning a compact but technically complete summary to the parent agent.
  allowed_tools:
    - exec_command
    - write_stdin
    - list_terminal_sessions
    - close_terminal_session
    - check_command
    - list_commands
    - kill_command
    - pty_open
    - pty_write
    - pty_list
    - pty_close
    - ReadFile
    - WriteFile
    - FileEditTool
    - GlobTool
    - GrepTool
    - ListDir
    - DuckDuckGoSearch
    - computer_use
  exclude_tools:
    - AgentTool
    - SpawnAgents
    - Workflow
    - AskUserQuestionTool
    - TodoWriteTool
    - SkillTool
  subagents:
