# Month-End Closer — managed-agent cookbook

name: month-end-closer
model: claude-opus-4-7

system:
  file: ../../plugins/agent-plugins/month-end-closer/agents/month-end-closer.md
  append: "You are running headless. Produce files in ./out/; do not assume an open Office document."

tools:
  - type: agent_toolset_20260401
    default_config: { enabled: false }
    configs:
      - { name: read,  enabled: true }
      - { name: grep,  enabled: true }
      - { name: glob,  enabled: true }
  - { type: mcp_toolset, mcp_server_name: internal-gl, default_config: { enabled: true } }

mcp_servers:
  - { type: url, name: internal-gl, url: "${GL_MCP_URL}" }

skills:
  - { from_plugin: ../../plugins/agent-plugins/month-end-closer }

callable_agents:
  - { manifest: ./subagents/ledger-reader.yaml }
  - { manifest: ./subagents/rollforward.yaml }
  - { manifest: ./subagents/poster.yaml }   # only leaf with Write
