autonomous-discovery
Layer 1 intelligence source discovery - auto-detect available sources, search for public information, negotiate with user, produce inventory manifest
Reverse engineering - multi-source product intelligence analysis with provenance tracking. Master methodology for all analysis agents.
$ npx -y skills add prime-radiant-inc/greenfield --skill analysis-pipeline --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/analysis-pipelineContext preview
The summary Claude sees to decide when to auto-load this skill.
Reverse engineering - multi-source product intelligence analysis with provenance tracking. Master methodology for all analysis agents.
name: analysis-pipeline description: Reverse engineering - multi-source product intelligence analysis with provenance tracking. Master methodology for all analysis agents.
You analyze targets from multiple perspectives. You output behavioral specifications with provenance.
**Analyze deeply. Output behaviorally. Track provenance. Analyze COMPLETELY.**
**You MUST read every single line of code. You MUST identify every single routine.**
digraph pipeline {
rankdir=TB;
"Start analysis" [shape=doublecircle];
"Layer 1: Gather intelligence" [shape=box];
"Layer 2: Synthesize and map modules" [shape=box];
"Layer 3: Write deep behavioral specs" [shape=box];
"Gate 1: Verification passed?" [shape=diamond];
"Gate 1b: Source-to-spec completeness" [shape=diamond];
"Layer 4: Generate test vectors and acceptance criteria" [shape=box];
"Gate 2: Spec review passed?" [shape=diamond];
"Layer 5: Sanitize raw specs to output/" [shape=box];
"Layer 6: Second-pass review passed?" [shape=diamond];
"Layer 7: Fidelity validation passed?" [shape=diamond];
"Analysis complete" [shape=doublecircle];
"Remediate Gate 1 findings" [shape=box];
"Remediate Gate 2 findings" [shape=box];
"Remediate Layer 6 findings" [shape=box];
"Remediate Layer 7 findings" [shape=box];
"STOP: Gate 1 failed after 3 attempts" [shape=octagon, style=filled, fillcolor=red, fontcolor=white];
"STOP: Gate 2 failed after 3 attempts" [shape=octagon, style=filled, fillcolor=red, fontcolor=white];
"STOP: Layer 6 failed after 3 attempts" [shape=octagon, style=filled, fillcolor=red, fontcolor=white];
"STOP: Layer 7 failed after 3 attempts" [shape=octagon, style=filled, fillcolor=red, fontcolor=white];
"Start analysis" -> "Layer 1: Gather intelligence";
"Layer 1: Gather intelligence" -> "Layer 2: Synthesize and map modules";
"Layer 2: Synthesize and map modules" -> "Layer 3: Write deep behavioral specs";
"Layer 3: Write deep behavioral specs" -> "Gate 1: Verification passed?";
"Gate 1: Verification passed?" -> "Gate 1b: Source-to-spec completeness" [label="yes"];
"Gate 1: Verification passed?" -> "Remediate Gate 1 findings" [label="no"];
"Remediate Gate 1 findings" -> "Gate 1: Verification passed?" [label="attempt < 3"];
"Remediate Gate 1 findings" -> "STOP: Gate 1 failed after 3 attempts" [label="attempt >= 3"];
"Gate 1b: Source-to-spec completeness" -> "Layer 4: Generate test vectors and acceptance criteria" [label="pass"];
"Gate 1b: Source-to-spec completeness" -> "Remediate Gate 1 findings" [label="gaps found"];
"Layer 4: Generate test vectors and acceptance criteria" -> "Gate 2: Spec review passed?";
"Gate 2: Spec review passed?" -> "Layer 5: Sanitize raw specs to output/" [label="yes"];
"Gate 2: Spec review passed?" -> "Remediate Gate 2 findings" [label="no"];
"Remediate Gate 2 findings" -> "Gate 2: Spec review passed?" [label="attempt < 3"];
"Remediate Gate 2 findings" -> "STOP: Gate 2 failed after 3 attempts" [label="attempt >= 3"];
"Layer 5: Sanitize raw specs to output/" -> "Layer 6: Second-pass review passed?";
"Layer 6: Second-pass review passed?" -> "Layer 7: Fidelity validation passed?" [label="yes"];
"Layer 6: Second-pass review passed?" -> "Remediate Layer 6 findings" [label="no"];
"Remediate Layer 6 findings" -> "Layer 6: Second-pass review passed?" [label="attempt < 3"];
"Remediate Layer 6 findings" -> "STOP: Layer 6 failed after 3 attempts" [label="attempt >= 3"];
"Layer 7: Fidelity validation passed?" -> "Analysis complete" [label="yes"];
"Layer 7: Fidelity validation passed?" -> "Remediate Layer 7 findings" [label="no"];
"Remediate Layer 7 findings" -> "Layer 7: Fidelity validation passed?" [label="attempt < 3"];
"Remediate Layer 7 findings" -> "STOP: Layer 7 failed after 3 attempts" [label="attempt >= 3"];
}Layer 1 auto-discovers available intelligence sources and consumes all of them by default:
| Source Type | Agent Roles | Output Location | Origin | |------------|------------|----------------|-------------| | Source Code | bundle-splitter, chunk-analyzer, function-analyzer | workspace/raw/source/ | RAW | | Decompiled Binaries | decompiler → chunk-analyzer | workspace/raw/source/decompiled/ | RAW | | Public Docs | doc-researcher | workspace/public/docs/ | PUBLIC | | SDK/Ecosystem | sdk-analyzer, integration-test-miner | workspace/public/ecosystem/ | PUBLIC | | Community | community-analyst | workspace/public/community/ | PUBLIC | | Runtime Observation | cli-explorer, web-ui-explorer, behavior-observer, ux-documenter | workspace/raw/runtime/ | RAW | | Visual Exploration | visual-explorer | workspace/raw/runtime/visual/ | RAW | | Binary Analysis | binary-surveyor, binary-deep-analyzer | workspace/raw/binary/ | RAW | | Git History | git-archaeologist | workspace/raw/project-history/ | RAW | | Test Suites | test-reader, test-runner | workspace/raw/test-evidence/ | RAW | | Machine-Readable Contracts | contract-parser | workspace/public/contracts/ | PUBLIC |
Sources are auto-discovered. Use `--exclude`
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.
Repo: prime-radiant-inc/greenfield
Layer 1 intelligence source discovery - auto-detect available sources, search for public information, negotiate with user, produce inventory manifest
Layer 3 deep documentation methodology. Per-module behavioral specifications, external and behavioral integration contracts, behavior documentation, end-to-end…
Layer 1 methodology for extracting behavioral intelligence from compiled binaries, bytecode archives, managed assemblies, and bundled applications. Covers…
Layer 1 skill for community intelligence gathering. Search channels, extraction methodology, consensus analysis, version-aware behavioral changes, structural…
Infrastructure skill for containerized target execution. Runtime detection, container lifecycle, security restrictions, interaction patterns.
Layer 1 skill for parsing machine-readable API contracts. OpenAPI/Swagger, GraphQL, Protobuf/gRPC, and JSON Schema detection, extraction, and behavioral claim…