maid-refactorer

maid-refactorer is an agent for coding agents 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

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.

agentmods
npx agentmods add agents/aidrivencoder/claude-plugins/maid-refactorer
Clone the repo
git clone --depth 1 https://github.com/aidrivencoder/claude-plugins

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00020 $0.00279
Opus 5 $0.00010 $0.00139
Sonnet 5 $0.00004 $0.00056
Haiku 4.5 $0.00002 $0.00028

Measured 3d ago against content hash ec3a91e0dd52, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 yesterday), with no licence file. It adds 20 tokens to every session and 279 once invoked, about $0.0001 per session on Opus 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

leave-tracker

Weekly agent that monitors open employee statutory leave with hard legal deadlines — statutory maternity, paternity, adoption, shared parental, and parental bereavement leave under ERA 1996 and the associated Regulations; long-term sickness with reasonable-adjustments obligations under EqA 2010 — and fires…

uk-agents/uk-legal-plugins · 130 tokens

playbook-monitor

Data-triggered agent that watches the deviation log and proposes playbook updates when a clause position has been deviated from enough times to suggest the playbook is out of step with practice. Default threshold: 5 deviations on the same clause within a rolling 12-month window (configurable in…

uk-agents/uk-legal-plugins · 115 tokens

deal-debrief

Weekly agent that surfaces recently signed agreements containing playbook deviations and prompts the solicitor to log context while memory is fresh. Runs weekly by default (Monday morning). Also runs on-demand. Trigger phrases: "deal debrief", "log deviations", "debrief last week's deals", "what did we sign this…

uk-agents/uk-legal-plugins · 71 tokens

renewal-watcher

Scheduled agent that checks the renewal register and posts what's coming up. Runs weekly by default. Posts to the channel named in /.claude/plugins/config/uk-legal-plugins/commercial-legal-uk/CLAUDE.md → House style → Renewal alerts. Trigger phrases: "what's renewing", "check renewals", "renewal report", or on…

uk-agents/uk-legal-plugins · 107 tokens

dataroom-watcher

Monitors the VDR for new document uploads and posts closing checklist status on schedule. Flags new uploads that match high-priority categories. Trigger: "what's new in the data room", "VDR updates", or on schedule.

uk-agents/uk-legal-plugins · 53 tokens

brand-guardian

Invoke when marketing content needs quality control review — brand voice consistency checks, regulatory compliance verification (GDPR, CAN-SPAM, CCPA, HIPAA, FTC, industry-specific), accessibility auditing (WCAG 2.2), inclusive language review, or brand safety assessment. Automatically invoked as a final review step…

indranilbanerjee/digital-marketing-pro · 74 tokens