maid-refactorer

maid-refactorer is an agent for Claude Code from aidrivencoder/claude-plugins. It costs 20 tokens per session (279 once invoked), scanned A, original, no licence file.

A MAID Phase 3.5 refactoring agent for improving code structure while keeping tests passing. Refactoring means changing internal code organization without changing its required behavior.

In plain words
What is it for?
Improving code quality during Phase 3.5 while maintaining test compliance.
Why use it?
It helps clean up implementation quality without losing compliance with the existing tests. The input does not specify which refactoring techniques it uses.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the maid-runner plugin — 1 skill, 13 commands, 7 agents shipped together

Good fit Improving code quality during Phase 3.5 while maintaining test compliance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/aidrivencoder/claude-plugins/maid-refactorer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/aidrivencoder/claude-plugins

Made for: Claude Code.

Or install maid-runner, the plugin that ships this one along with the rest of its 1 skill, 13 commands, 7 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for maid-refactorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/aidrivencoder/claude-plugins/maid-refactorer/github.svg)](https://agentmods.dev/agents/aidrivencoder/claude-plugins/maid-refactorer)
Your own site
<a href="https://agentmods.dev/agents/aidrivencoder/claude-plugins/maid-refactorer"><img src="https://agentmods.dev/badge/agents/aidrivencoder/claude-plugins/maid-refactorer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for maid-refactorer

Your own site · 80×15
<a href="https://agentmods.dev/agents/aidrivencoder/claude-plugins/maid-refactorer"><img src="https://agentmods.dev/badge/agents/aidrivencoder/claude-plugins/maid-refactorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 279 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00279
Opus 5.5 $0.00008 $0.00112
Sonnet 5.5 $0.00004 $0.00056
Haiku 4.5 $0.00002 $0.00028

Measured 1mo ago against content hash ec3a91e0dd52, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

maid-refactorer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/maid-runner/agents/maid-refactorer.md · 43 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 43 lines · 20 tokens per session scan A ec3a91e0dd52

Subscribe to this mod's changes

maid-refactorer is an agent published in the GitHub repository aidrivencoder/claude-plugins (8 stars, last pushed 16d ago), with no licence file. It adds 20 tokens to every session and 279 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

panel-adviser

DAE review-panel adviser. Constructive senior review of a checkpoint artifact (acs.md at CP2, plan.md at CP4): what is missing, underspecified, or would bite later. Read-only, bounded one-shot. Dispatched by /engineer.discover-acs and /engineer.plan alongside panel-advocate.

swingerman/engineer · 0 tokens

detective

Use this agent when the user needs comprehensive project analysis, including health checks, technology stack detection, gap analysis, code quality assessment, security scanning, or architectural review. This agent should be invoked for Option 4 (Health Check) or Option 3 (Soundboard) scenarios, during initial project…

nxtg-ai/forge-plugin · 473 tokens

oracle

Use this agent as the Proactive Governance Sentinel for autonomous development modes. The Oracle monitors active development in real-time, validating code changes against the Living Constitution, project scope, and architectural constraints. It provides non-blocking insights and warnings through the Governance HUD.…

nxtg-ai/forge-plugin · 224 tokens

spec-compliance-reviewer

READ-ONLY. Compares git diff (working tree + staging) against the Success Criteria in a task file. Flags uncovered criteria and scope creep. Verdict enables the orchestrator to record the SPECREVIEW sentinel. Use ONLY when invoked by the code-review sub-protocol, or by the task documentation step's deferred check (the…

TeamManagementPlugin/claude-plugin · 0 tokens

testing-specialist

Use ONLY when dispatched by the code-review sub-protocol's diff classifier (classifyreviewdispatch) or explicitly requested by the user. DO NOT use proactively. Reviews the TEST QUALITY of a change: negative-path coverage, test isolation violations, flaky patterns, and changed behaviour that ships without a covering…

TeamManagementPlugin/claude-plugin · 82 tokens

sentinel

Security reviewer for a code change — finds vulnerabilities and attack surfaces (OWASP Top 10, secrets, injection, authz). Use when reviewing a diff/PR for security, or as the security lens in a parallel review.

Alexander-Tyagunov/magician · 49 tokens