Thanks for your interest in improving spawn-agent! Here's how to contribute.
- Fork this repo
- Create a branch:
git checkout -b my-feature - Make your changes
- Test:
./scripts/spawn-agent.sh --helpshould run without errors - Commit with a clear message:
git commit -m "Add: new template for migration tasks" - Push and open a Pull Request
- New templates — Got a recurring task type? Add a template in
templates/ - Agent support — Adding support for new CLI agents (Aider, Continue, etc.)
- Documentation — Better examples, clearer instructions, typo fixes
- Bug reports — If the script breaks on your setup, let us know
- Keep
SKILL.mdas the single source of truth for the delegation protocol - Templates should be self-contained — a worker agent reads only the filled template
- Shell script must stay POSIX-compatible where possible (bash 4+ is fine)
- Test on both macOS and Linux if you change
spawn-agent.sh
Use clear prefixes:
Add: new template for database migration tasks
Fix: timeout detection on Linux systems
Docs: clarify installation steps for Cursor
Refactor: simplify approval mode mapping
Open an issue — we're happy to chat.