sandbox-pal-action
CLAUDE.md2 starsChanged 3 months agoMITView on GitHub
Reusable infrastructure for running Claude Code agents on GitHub issues via GitHub Actions. Run /setup to configure this toolkit for your project. Required tools: jq, shellcheck, BATS-Core (git submodule) Run bash scripts/check-test-prereqs.sh to detect missing tools with platform-specific install instructions. All tests should pass when prerequisites are met.
- Reads credentials
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- discord-bot/AGENTS.mdAGENTS.md
- prompts/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- slack-bot/AGENTS.mdAGENTS.md
- discord-bot/CLAUDE.mdCLAUDE.md
- prompts/CLAUDE.mdCLAUDE.md
- scripts/CLAUDE.mdCLAUDE.md
- slack-bot/CLAUDE.mdCLAUDE.md
- setupSkill
- sp-post-mergeSkill
- sp-reviseSkill
- sp-statusSkill
- sp-workSkill
- testSkill
- troubleshootSkill
- updateSkill
- sp-cleanupSkill
- sp-implementSkill
- sp-reviewSkill
- sp-reviseSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Run /setup to configure this toolkit for your project.
- Very specific: line 12
All settings and their defaults: see docs/configuration.md
- Very specific: line 28
All shell scripts must pass shellcheck with zero warnings
- Very specific: line 31
Use /test skill for local testing (handles prerequisites and platform differences)
- Very specific: line 33
Use set -euo pipefail in all scripts
- Distinctive: line 34
Keep functions focused — one purpose per function
- Very specific: line 41
Run bash scripts/check-test-prereqs.sh to detect missing tools with platform-specific install instructions.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Claude Agent Dispatch
Reusable infrastructure for running Claude Code agents on GitHub issues via GitHub Actions.
For New Users
Run /setup to configure this toolkit for your project.
Key Documentation
- System design, label state machine, and event flows: see
docs/architecture.md - All settings and their defaults: see
docs/configuration.md - Custom prompts, tools, and project-specific setup: see
docs/customization.md - Threat model and safety mechanisms: see
docs/security.md - Common issues and solutions: see
docs/troubleshooting.md
Architecture
scripts/sandbox-pal-dispatch.sh— Main dispatch entry point, sourceslib/modulesscripts/lib/— Modular functions: logging, labels, worktrees, data fetching, defaultsprompts/— Default agent prompts (triage, implement, reply, review).github/workflows/sandbox-pal-*.yml— Reusable workflows called by consuming reposconfig.defaults.env— Project defaults, committed (seeconfig.defaults.env.example)config.env— Sensitive overrides, gitignored (seeconfig.env.example)
Development
- All shell scripts must pass
shellcheckwith zero warnings - Tests use BATS-Core (git submodules in
tests/) - Run checks:
shellcheck scripts/*.sh scripts/lib/*.sh && ./tests/bats/bin/bats tests/ - Use
/testskill for local testing (handles prerequisites and platform differences) - CI runs both ShellCheck and BATS on every push and PR
- Use
set -euo pipefailin all scripts - Keep functions focused — one purpose per function
- Bug fix? Add a
REGRESSION vX.Y.Z:test to prevent recurrence
Local Test Prerequisites
Required tools: jq, shellcheck, BATS-Core (git submodule)
Run bash scripts/check-test-prereqs.sh to detect missing tools with platform-specific install instructions. All tests should pass when prerequisites are met.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

