Thanks for your interest in contributing to AlphaClaw. This document covers how we work, what we value, and how to get your changes merged.
AlphaClaw makes OpenClaw accessible: easy to deploy, easy to monitor, easy to repair, easy to keep running. Self-managed and open source, always.
One-click deployment templates come and go. The self-managed aspect is what makes this durable.
- UX over features. Usability matters more than feature count. Every interaction should feel considered.
- Smart defaults. AlphaClaw is opinionated. We bootstrap hooks, prompt hardening, and sensible configs so the out-of-box experience is good without manual tuning.
- Complement, don't replicate. OpenClaw's Gateway dashboard is exhaustive. We surface the most common workflows and add net-new value, not duplicate switches.
- Always ejectable. AlphaClaw is not a dependency. Remove it and your OpenClaw instance keeps running. Nothing proprietary, nothing to migrate.
- Reliability is a feature. The watchdog, auto-repair, crash-loop recovery - these matter as much as any UI improvement.
- Bug fixes
- Reliability improvements (watchdog, crash recovery, gateway management)
- Test coverage
- Documentation fixes and clarifications
- UX changes and small features
- New integrations or wizard steps
- Bootstrap prompt improvements
- Large features or architectural changes
- New paradigms (e.g., plugin system changes, new deployment targets)
- Anything that changes the default experience significantly
For big changes, open an issue describing what you want to build, why, and your proposed approach. This saves everyone time.
- Node.js >= 22.14.0
- Git
git clone https://github.com/chrysb/alphaclaw.git
cd alphaclaw
npm installnpm test # Run all tests
npm run test:watch # Watch mode
npm run test:coverage # With coverage reportAlphaClaw uses Vitest for testing.
bin/- CLI entrypoint (alphaclaw.js)lib/- Core library (gateway manager, watchdog, setup UI, webhooks, etc.)tests/- Test suites
- Fork the repo and create a branch from
main. - Make your changes. Write tests if applicable.
- Run
npm testand make sure everything passes. - Write a clear PR description: what changed, why, and how to test it.
- Sign off your commits (see DCO below).
Keep them clear and concise. Prefix with the area when it helps:
watchdog: recover from port conflict on restart
setup-ui: fix credential validation for Gemini provider
docs: clarify Railway deployment steps
- Match the existing style. If something looks inconsistent, follow what the majority of the codebase does.
- No unnecessary dependencies. AlphaClaw ships lean on purpose.
We use the DCO to certify that contributors have the right to submit their code under this project's MIT license.
Add a sign-off line to each commit:
Signed-off-by: Your Name <your.email@example.com>
Git makes this easy:
git commit -s -m "your commit message"The -s flag adds the sign-off automatically using your configured user.name and user.email.
We follow the Contributor Covenant (v2.1).
The short version: be respectful, be constructive, assume good intent. We're building something useful together.
Open an issue or start a discussion on the repo. We're happy to help you find the right place to contribute.
By contributing, you agree that your contributions will be licensed under the MIT License.