Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add prime-radiant-inc/greenfield/plugin install greenfieldWrote 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.
[](https://agentmods.dev/commands/prime-radiant-inc/greenfield/analyze)<a href="https://agentmods.dev/commands/prime-radiant-inc/greenfield/analyze"><img src="https://agentmods.dev/badge/commands/prime-radiant-inc/greenfield/analyze.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.17298 |
| Opus 5 | $0.00008 | $0.08649 |
| Sonnet 5 | $0.00003 | $0.03460 |
| Haiku 4.5 | $0.00002 | $0.01730 |
Grade A, and why
analyze 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 1,397 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/analyze - Reverse Engineering
Target: $ARGUMENTS
THE APPROACH
Analyze deeply. Output behaviorally.
- Analysis: Tear apart the target through every available intelligence source. Trace every code path. Observe every runtime behavior. Read every public document.
- Output: Write specs using behavioral language. No source identifiers. Every claim carries provenance.
You READ Ab2() and trace what it does.
You WRITE "entry point parses arguments and routes to mode handler."
EXHAUSTIVE READING (NON-NEGOTIABLE)
Every line of code must be read. Every routine must be identified.
- Do NOT skim code. Do NOT skip "boring" sections.
- Grep patterns are for INDEXING - they are NOT a substitute for reading.
- If you haven't read a line, you don't know what it does.
- If you haven't traced a code path, you can't document its behavior.
Agents MUST use the Read tool on every source file. Head/tail samples are not enough.
CLI INTERFACE
/analyze path # Discover and consume everything available
/analyze path --exclude source # Black-box analysis (skip source code)
/analyze path --exclude git-history,tests # Skip git mining and test suite analysis
EXIT CODES
| Code | Meaning |
|---|---|
| 0 | Success. Analysis completed, all gates passed. |
| 1 | Failure. Gate failure, workspace conflict, container unavailable, etc. |
| 2 | Invalid arguments. Bad mode name, missing path, etc. |
OUTPUT STRUCTURE
workspace/
├── .git/ # Git repository (initialized by /analyze)
├── .gitignore # Exclusions
├── workspace.json # Workspace metadata
├── inventory.md # Intelligence source inventory (from discovery)
│
├── public/ # PUBLIC: From public sources only
│ ├── docs/ # Official documentation findings
│ ├── standards/ # RFC/standard mappings
│ ├── ecosystem/ # SDK analysis, test mining
│ ├── community/ # Tutorials, reviews, forums, issues
│ └── contracts/ # Machine-readable contract definitions
│
├── raw/ # RAW: Source-derived analysis artifacts
│ ├── source/ # Source code analysis artifacts
│ │ ├── chunks/ # Bundle decomposition output
│ │ ├── analysis/ # Per-chunk analysis files
│ │ ├── functions/ # Extracted function analyses
│ │ ├── manifests/ # Bundle manifests
│ │ ├── exploration/ # Targeted-extractor output per focus area
│ │ └── decompiled/ # Decompiled binary/bytecode output
│ │
│ ├── runtime/ # Runtime observation artifacts
│ │ ├── cli/ # CLI interaction transcripts
│ │ ├── web/ # Web UI screenshots, state maps
│ │ ├── behaviors/ # Observed behaviors
│ │ ├── ux/ # UX capture (output formats, errors, prompts)
│ │ └── visual/ # Visual exploration output
│ │ ├── screenshots/ # Key screen captures
│ │ └── flows/ # UI flow sequences
│ │
│ ├── binary/ # Binary analysis artifacts
│ │ ├── survey/ # Initial triage output
│ │ └── analysis/ # Deep analysis output
│ │
│ ├── project-history/ # Git archaeology findings
│ │
│ ├── test-evidence/ # Test suite analysis output
│ │
│ ├── synthesis/ # Layer 2 synthesized findings
│ │ ├── features/ # Aggregated feature inventory
│ │ ├── architecture/ # Synthesized architecture
│ │ ├── api/ # Synthesized API surface
│ │ └── module-map.md # All modules identified
│ │
│ ├── specs/ # Layer 3+4 raw specs (pre-sanitization)
│ │ ├── modules/ # Per-module behavioral specs (analysis organization)
│ │ ├── journeys/ # End-to-end user flows
│ │ ├── contracts/ # External interfaces
│ │ ├── protocols/ # Wire protocols
│ │ ├── ui/ # User-visible text
│ │ ├── tests/ # Test specifications
│ │ ├── test-vectors/ # Concrete input/output pairs
│ │ └── validation/ # Acceptance criteria
│ │
│ └── audit/ # Detailed per-finding audit reports from Layers 6 and 7
│
├── output/ # Sanitized specs for the implementer
│ ├── specs/
│ │ ├── domains/ # Behavioral specs merged by domain (NOT original modules)
│ │ ├── journeys/ # Sanitized user journey specs
│ │ └── contracts/ # External contracts + behavioral integration requirements
│ ├── test-vectors/ # Output test vectors
│ ├── validation/ # Output acceptance criteria
│ ├── audit/ # Top-level PASS/FAIL summaries of Layers 6 and 7
│ └── implementation/ # Implementation output
│
└── provenance/ # AUDIT: Trail and citations
├── sessions/ # Subagent JSONL copies
└── audit-log.md # Human-readable audit log
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.
- 8d ago First seen · 1,397 lines · 15 tokens per session scan A a0a9039fb6b4
analyze is a command published in the GitHub repository prime-radiant-inc/greenfield (273 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 15 tokens to every session and 17,298 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-30.
Other commands, from other repositories
linkerd
Linkerd-specific diagnostics — mTLS verification, proxy injection issues, authorization policy debugging, traffic management, and multi-cluster connectivity problems.
debug
Systematic debugging with hypotheses and evidence gathering.
ia-report-bug
Report a bug in the whetstone plugin.
data-flow-analysis
Trace how data flows through the system from input to output.
duck-off
Turn off Rubber Duck mode and answer normally.
bug
Reproduce then TDD-fix a ready-for-agent bug ticket in this checkout. Web bugs get a browser repro first.