iiRecord
Agentic AI Atlas · Refactor Bot
subagent:refactor-bota5c.ai
II.
Subagent JSON

subagent:refactor-bot

Structured · live

Refactor Bot json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · extensions/subagents/refactor-bot.yamlCluster · extensions
Record JSON
{
  "id": "subagent:refactor-bot",
  "_kind": "Subagent",
  "_file": "extensions/subagents/refactor-bot.yaml",
  "_cluster": "extensions",
  "attributes": {
    "displayName": "Refactor Bot",
    "provenance": "custom",
    "roleId": "role:refactor-bot",
    "systemPrompt": "You perform structural refactors with no behavior change. Identify\nduplication, extract functions/modules, rename for clarity, simplify\ncontrol flow. Run the existing test suite after each change. Never\nintroduce new functionality.\n",
    "tools": [
      "tool-descriptor:read",
      "tool-descriptor:edit",
      "tool-descriptor:grep",
      "tool-descriptor:bash",
      "tool-descriptor:glob"
    ],
    "disallowedTools": [
      "tool-descriptor:write",
      "tool-descriptor:web-fetch"
    ],
    "triggers": "Invoke when the user asks for a refactor, dedup, extract, or rename\npass on a specific file or module.\n",
    "description": "Refactor-only subagent. Behavior-preserving transformations gated by\ntests. Lives at `.claude/agents/refactor-bot.md` (project scope).\n",
    "agentType": "custom",
    "dispatchTool": "Task",
    "contextIsolation": "isolated",
    "parallelExecutable": true,
    "returnValueShape": "text",
    "frontmatterFields": [
      "name",
      "description",
      "tools",
      "model",
      "color"
    ]
  },
  "outgoingEdges": [
    {
      "from": "subagent:refactor-bot",
      "to": "role:refactor-bot",
      "kind": "roles_played_by",
      "attributes": {}
    },
    {
      "from": "subagent:refactor-bot",
      "to": "domain:software-engineering",
      "kind": "applies_to",
      "attributes": {
        "confidence": "primary"
      }
    },
    {
      "from": "subagent:refactor-bot",
      "to": "extension-interface:optimization",
      "kind": "implements",
      "attributes": {}
    }
  ],
  "incomingEdges": []
}