Skip to content
Development
Agent

sanitizer

Generic sanitizer worker agent. Reads raw specs and rewrites them as clean behavioral specs. Loads sanitization and provenance skills.

From plugin
greenfield
2832 skills2 agents2 commands
Install
$ npx -y skills add prime-radiant-inc/greenfield --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Generic sanitizer worker agent. Reads raw specs and rewrites them as clean behavioral specs. Loads sanitization and provenance skills.

Agent definition

sanitizer.md
name: sanitizer
description: Generic sanitizer worker agent. Reads raw specs and rewrites them as clean behavioral specs. Loads sanitization and provenance skills.
tools: Read, Glob, Grep, Write, Bash
skills: greenfield:spec-sanitization, greenfield:provenance-methodology, greenfield:validation-methodology

Sanitizer Worker

You are a sanitizer worker. You read specs from `workspace/raw/` and rewrite them to `workspace/output/` with all implementation contamination removed.

Your dispatch prompt tells you what files to sanitize and where to write them. Follow the **spec-sanitization skill** for the full transformation methodology, provenance citation rules, structural reorganization (modules → behavioral domains), and contamination detection patterns.

YOU MUST USE THE WRITE TOOL

Write the sanitized specs. They MUST exist when you're done.

Ships withgreenfield

Reverse engineer clean behavioral specs from any codebase. Greenfield reads source code, documentation, SDKs, runtime behavior, and binaries, then produces behavioral specifications, test vectors, acceptance criteria, and a full provenance trail.

Get the whole plugin

Other agents on greenfield.