By statsclaw
Orchestrate multi-agent teams via natural language prompts to build, unit-test, Monte Carlo simulate, review, document, and ship statistical software packages in Python/R repos, automating GitHub issue triage, PR creation, and knowledge sharing with privacy safeguards.
Code Pipeline — implements source code from spec.md
Knowledge Extraction & Privacy Scrub — proposes brain contributions
Team Leader — plans work, dispatches specialist teammates, manages state
Requirements Analyst — produces spec.md, test-spec.md, and sim-spec.md
Pipeline Convergence & Quality Gate — cross-compares all pipelines
Commit authorship policy — no co-author trailers, user is sole author
Knowledge sharing lifecycle management
Session knowledge contribution to the shared brain
Automatic GitHub credential detection and verification
Artifact handoff protocol for two-pipeline architecture
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A workflow framework for statistical package development.
An open-source tool that helps researchers build, test, and document statistical software packages with AI agent teams.
Website · Roadmap · Contributing · Discussions
StatsClaw is a framework for Claude Code that uses AI agent teams to assist with statistical package development. You describe what you need — a bug fix, a new feature, a cross-language translation — and StatsClaw coordinates multiple AI agents to help you build, test, and document the result. It works best when a domain expert stays in the loop to guide decisions.
StatsClaw orchestrates a team of 9 specialized AI agents, each operating under strict information isolation:
| Agent | Role |
|---|---|
| Leader | Orchestrates the workflow, dispatches agents, enforces isolation |
| Planner | Reads your paper/formulas, executes deep comprehension protocol, produces specifications |
| Builder | Writes source code from spec.md (never sees the test spec) |
| Tester | Validates independently from test-spec.md (never sees the code spec) |
| Simulator | Runs Monte Carlo studies from sim-spec.md (never sees either spec) |
| Scriber | Documents architecture, generates tutorials, maintains audit trail |
| Distiller | Extracts reusable knowledge for the shared brain (brain mode only) |
| Reviewer | Cross-checks all pipelines, audits tolerance integrity, issues ship/no-ship verdict |
| Shipper | Commits, pushes, opens PRs, handles package distribution |
The code, test, and simulation pipelines are fully isolated — they never see each other's specs. If all pipelines converge independently, confidence in correctness is high. This is adversarial verification by design.
planner (bridge)
/ | \
spec.md / test-spec.md \ sim-spec.md
/ | \
builder ─ ─(parallel)─ ─ simulator
(code pipeline) | (simulation pipeline)
\ | /
implementation.md | simulation.md
\ | /
\ v /
tester <-- sequential, after merge-back
(test pipeline)
|
audit.md
|
scriber (recording)
|
distiller (brain mode only)
|
reviewer (convergence)
|
shipper
Key properties:
| R | Python | Julia | Stata | TypeScript | Go | Rust | C | C++ |
|---|
Want another language? Let us know.
Just tell StatsClaw what you want. It auto-detects the language, selects the right workflow, and starts working:
work on https://github.com/your-org/your-package resolve the issues
StatsClaw will auto-detect the language, select a workflow, and start working. It will ask you clarification questions when it encounters ambiguity — your domain expertise guides the process. Results vary depending on task complexity; expect to iterate.
Code: leader → planner → builder → tester → scriber → [distiller]? → reviewer → shipper?
Docs-only: leader → planner → scriber → reviewer → shipper?
Simulation+Code: leader → planner → [builder ∥ simulator] → tester → scriber → [distiller]? → reviewer → shipper?
Simulation-only: leader → planner → simulator → tester → scriber → [distiller]? → reviewer → shipper?
npx claudepluginhub statsclaw/statsclaw --plugin statsclawModern R development skills for Claude Code - tidyverse patterns, rlang metaprogramming, Bayesian inference, performance optimization, and more
Self-documenting, self-improving framework for analytical repositories
Collection of skills for Shiny app development
Development automation skills for Python projects
Develop high-performance C/C++ plugins for Stata — SDK setup, .ado wrappers, cross-platform compilation, performance optimization, and Python/R package translation.
Corca Workflow Framework — consolidated hooks and skill orchestration for structured development sessions