Skip to content

sanitizer

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

shell
$ npx -y skills add prime-radiant-inc/greenfield --agent claude-code

Ships with greenfield. Installing the plugin gets this agent.

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.
  • You can call itInvoke it directly when you want it.
How auto-invocation works

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.

Read it on GitHub ↗
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, auto-invoked
Stats
239
Stars
0
Views
23
Forks
Active
Maintenance
Apache-2.0
License
19d ago
Last commit
3mo ago
Created

Repo: prime-radiant-inc/greenfield