Skraft - Brownfield Refactorer

Skraft - Brownfield Refactorer is an agent for Claude Code from SebastienDegodez/skraft-plugin. It costs 141 tokens per session (1,412 once invoked), scanned A, original, GPL-3.0.

A refactoring workflow for a brownfield component, meaning an existing part of a system that already has users or dependencies. It uses the Mikado Method or Strangler Fig approach while keeping tests passing after each commit.

In plain words
What is it for?
It is for gradually restructuring an existing component in small, verified steps.
Why use it?
It helps change old code safely without losing the working behaviour protected by its existing tests.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter.

Part of the skraft plugin — 36 skills, 15 agents, 5 hooks shipped together

Good fit It is for gradually restructuring an existing component in small, verified steps.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sebastiendegodez/skraft-plugin/brownfield-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/SebastienDegodez/skraft-plugin

Made for: Claude Code.

Or install skraft, the plugin that ships this one along with the rest of its 36 skills, 15 agents, 5 hooks.

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 Skraft - Brownfield Refactorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/sebastiendegodez/skraft-plugin/brownfield-refactorer/github.svg)](https://agentmods.dev/agents/sebastiendegodez/skraft-plugin/brownfield-refactorer)
Your own site
<a href="https://agentmods.dev/agents/sebastiendegodez/skraft-plugin/brownfield-refactorer"><img src="https://agentmods.dev/badge/agents/sebastiendegodez/skraft-plugin/brownfield-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 Skraft - Brownfield Refactorer

Your own site · 80×15
<a href="https://agentmods.dev/agents/sebastiendegodez/skraft-plugin/brownfield-refactorer"><img src="https://agentmods.dev/badge/agents/sebastiendegodez/skraft-plugin/brownfield-refactorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 141 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,412 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.00141 $0.01412
Opus 5 $0.00071 $0.00706
Sonnet 5 $0.00028 $0.00282
Haiku 4.5 $0.00014 $0.00141

Measured yesterday against content hash 68e31aec3b72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

Skraft - Brownfield 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 yesterday.

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/skraft-framework/agents/brownfield-refactorer.agent.md · 125 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

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. yesterday Changed · +67 lines · +103 tokens per session 68e31aec3b72
  2. 9d ago First seen · 58 lines · 38 tokens per session scan A 9fcf3e19a542

Subscribe to this mod's changes

Skraft - Brownfield Refactorer is an agent published in the GitHub repository SebastienDegodez/skraft-plugin (8 stars, last pushed yesterday), licensed GPL-3.0. It adds 141 tokens to every session and 1,412 once invoked, about $0.0007 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

assistant

You are the agent-toolkit Dev Companion. Ensure all work follows agent-toolkit standards and conventions.

ulises-jeremias/agent-toolkit · 35 tokens

reviewer

Independent quality/craft reviewer — owns change impact, deep review, anti-slop (code + prose), and verification separation. Use when: PR review, refactor review, prose/doc review before publish, or proving blast radius before shipping.

ulises-jeremias/agent-toolkit · 51 tokens

implementer

Implementation specialist — feature/bug/refactoring delivery, build/test loop, TDD-aware scaffolding and docs generation. Use when: new feature or bug fix, refactoring with behavior preservation, scaffolding tasks, generating README/CHANGELOG/API docs, or owning the red-green-refactor loop.

ulises-jeremias/agent-toolkit · 62 tokens

architect

Software architecture and system design specialist. Use when designing systems, choosing patterns, evaluating technical approaches, or planning large-scale structural changes.

ulises-jeremias/agent-toolkit · 28 tokens

e2e-runner

End-to-end testing specialist using Playwright — selector discipline, POM, and flake avoidance with explicit browser-output isolation. Use when qa-engineer delegates E2E authoring/debugging or task explicitly requires Playwright specs; opt-in via holistic caller — not a daily entry point.

ulises-jeremias/agent-toolkit · 64 tokens

ndv-refactor

Code transformation specialist. Use when renaming, extracting, restructuring, or modernizing syntax. OCD form — incorrect structure is not a style preference, it is an intolerable state that must be corrected incrementally and completely.

emb715/neurodiveragents · 49 tokens