thomas-lecocq/software-clone-factory
A factory for verified clones of closed-source software: agents build, code judges
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 36/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit thomas-lecocq/software-clone-factory/.claude ./rig-software-clone-factory # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit thomas-lecocq/software-clone-factory/.claude/skills/replicate-slice .claude/skills/replicate-slice $ curl -fsSL --create-dirs -o .claude/agents/analyst.md https://raw.githubusercontent.com/thomas-lecocq/software-clone-factory/main/.claude/agents/analyst.md $ curl -fsSL --create-dirs -o .claude/agents/breaker.md https://raw.githubusercontent.com/thomas-lecocq/software-clone-factory/main/.claude/agents/breaker.md $ curl -fsSL --create-dirs -o .claude/agents/builder.md https://raw.githubusercontent.com/thomas-lecocq/software-clone-factory/main/.claude/agents/builder.md $ curl -fsSL --create-dirs -o .claude/agents/recorder.md https://raw.githubusercontent.com/thomas-lecocq/software-clone-factory/main/.claude/agents/recorder.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"hooks": {
"PreToolUse": [
{
"matcher": "Read|Write|Edit|MultiEdit|NotebookEdit|Bash|Grep|Glob|WebFetch|WebSearch",
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/harness/hooks/guard-oracle.sh"
}
]
}
]
}
} Skills (1)
Subagents (4)
| analyst model: opus | Analyses why a clone failed cases of a spent holdout batch, without changing anything but its report. Proposes rules and dev probes; never fixes the clone. |
| breaker model: opus | Read-only skeptic. Looks for target behaviour that the recorded fixtures do not pin down, and proposes new probes to record. Never judges pass or fail. |
| builder model: opus | Implements a target's clone under targets/<t>/clone/ until the dev fixtures pass. Cannot touch the evaluator and cannot see the holdout. |
| recorder model: opus | Owns the specification side of a slice - rules.json and probes.ts - and runs recordings on the real target. The only role allowed to add fixtures. |
Hooks (1)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Read|Write|Edit|MultiEdit|NotebookEdit|Bash|Grep|Glob|WebFetch|WebSearch | "$CLAUDE_PROJECT_DIR"/harness/hooks/guard-oracle.sh |
Similar rigs
brenocq/capcom
Mission control for your Claude Code spend
Orchestrator 2.1k tok · · Q8
bi-boo/claude-code-config
我的 Claude Code 个人配置——CLAUDE.md 规则、Agent、记忆机制,以及 Ghostty 终端配置
YOLO Cowboy 1.4k tok · · Q16
lahma/claude-roslyn-lsp
Roslyn C# language server adapter for Claude Code and other agents (LSP + MCP), .NET 10 Native AOT
Pragmatist 36.5k tok · · Q8
Gildaciolopes/agentic-dev-stack
Smart vibe coding with Claude Code: multi-agent orchestration (Opus plans; Sonnet, Haiku, Gemini, Codex and free models execute), Spec Kit SDD, caveman + RTK + graphify token savings, sandboxed secrets, self-healing free models and a Hermes
Minimalist 1.2k tok · · Q10