Thank you for your interest in StatsClaw for Codex! We welcome contributions of all kinds — from bug reports and feature ideas to code and documentation.
No coding required! You can help by:
- Feature requests — Open an issue describing what you'd like
- Bug reports — Report a bug with steps to reproduce
- Use case reports — Share how you used StatsClaw and what could be improved
- Fork the repository
- Clone your fork:
git clone https://github.com/<your-username>/statsclaw-for-codex.git cd statsclaw-for-codex
- Make your changes
- Verify your changes work by running a workflow against a test repository via Codex
- Push and open a Pull Request
- Skills (
skills/) — Improve or add workflow skill protocols - Language profiles (
profiles/) — Add or improve language-specific rules - Templates (
templates/) — Improve runtime artifact templates - Helpers (
helpers/) — Improve Python authoritative executors - Documentation (
docs/) — Improve README, docs, add usage examples and workflow guides
- Keep changes focused — one PR per feature or fix
- Follow existing patterns in the codebase
- Skill and profile files use Markdown — keep them clear and structured
- Python helpers should include type hints and docstrings
- Python helpers should be executable from the project root
StatsClaw supports multiple languages through profiles. To add a new one:
- Create
profiles/<language>.mdfollowing the pattern in existing profiles (e.g.,profiles/r-package.md) - Include at minimum:
- File patterns — How to identify this language in a repo
- Build commands — How to build/install
- Test commands — How to run tests
- Packaging conventions — Package manager, distribution format
- Simulation support level — Whether Monte Carlo workflows are available
- Known limitations — What StatsClaw cannot yet do for this language
- Update the support matrix in
AGENTS.mdandREADME.md - Open a PR with example usage
Skills define execution protocols for roles. To add or modify one:
- Follow the standard section order defined in
docs/skill-format.md:Role / Allowed Inputs / Prohibited Inputs / Outputs / HOLD Policy / Execution Protocol - Optional sections (
Isolation Constraints,Reroute Policy,Known Limitations) may appear after the standard block - Register the skill in
AGENTS.mdif it is a new entry point - Verify the skill works end-to-end with a test workflow
Templates in templates/ define the structure of runtime artifacts. When modifying:
- Preserve the unified frontmatter contract (at minimum:
runId,artifactType,schemaVersion,ownerRole) - Update the corresponding JSON schema in
schemas/if one exists - Verify that helpers consuming the template still parse correctly
- Verify that existing workflows still work
StatsClaw has a local knowledge system where techniques, methods, and patterns discovered during workflows are extracted and stored. When brain mode is enabled:
- The distiller role extracts reusable knowledge from your workflow
- You review the extracted entries and approve or decline — nothing is stored without your explicit consent
- Approved entries are written to the local
.brain/directory - The privacy scrub pipeline removes all identifying information before storage
What gets stored: Mathematical methods, coding patterns, validation strategies, simulation designs — all genericized.
What never gets stored: Repo names, file paths, usernames, proprietary code, data column names, or any identifying information.
StatsClaw for Codex is a framework for OpenAI Codex. To develop:
- Install OpenAI Codex
- Clone this repository
- Ensure Python 3.10+ is available
- Test changes by running workflows against a target repository via Codex
- Describe what your PR does and why
- Reference any related issues
- Keep the diff minimal — don't include unrelated changes
- Include or update tests for changed behavior
- Be responsive to review feedback
- Be respectful and constructive
- Focus on the idea, not the person
- Help newcomers get oriented
- Write in English or Chinese — both are welcome
- Open an issue for bugs or specific feature requests
- Check the Roadmap for planned work
Thank you for helping StatsClaw for Codex grow!