Route GitHub, cron, Slack and Feishu events to Claude Code and Codex on your own machines, with human approval only for the actions you list. Zero dependencies.
# Add to your Claude Code skills
git clone https://github.com/XixianWasTaken/dispatchboxGuides for using ai agents skills like dispatchbox.
See how dispatchbox compares with popular alternatives.
dispatchbox is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by XixianWasTaken. Route GitHub, cron, Slack and Feishu events to Claude Code and Codex on your own machines, with human approval only for the actions you list. Zero dependencies. It has 50 GitHub stars.
dispatchbox's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/XixianWasTaken/dispatchbox" and add it to your Claude Code skills directory (see the Installation section above).
dispatchbox is primarily written in Python. It is open-source under XixianWasTaken on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh dispatchbox against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
dispatchbox is a lightweight hub-and-worker daemon (~2,700 lines of dependency-free Python) that turns Claude Code (claude) and OpenAI Codex CLI (codex) from interactive terminal tools into event-driven background workers running on your own hardware.
Incoming signals—GitHub webhooks, 5-field cron schedules, Slack or Feishu mentions, or any POST /events payload—are normalized, deduplicated, and matched against a hot-reloading JSON rules file. Workers on your macOS or Linux machines long-poll the hub over outbound HTTP, execute claude or codex in allowed local directories using your existing CLI login, and report structured results, token usage, and session IDs.
When an agent reaches an operation you classified as sensitive (such as delete_data or spend_money), it pauses and sends an interactive decision prompt to Slack, Feishu, or the built-in web dashboard. Clicking an option emits a decision.made event; a follow-up rule matching it resumes the same agent session (claude --resume / codex exec resume), optionally with wider tool permissions to finish the job.
git clone https://github.com/XixianWasTaken/dispatchbox.git && cd dispatchbox
python3 -m dispatchbox check --rules examples/hello.json
Most developers already have claude or codex signed in on their workstation with access to local repositories, toolchains, and credentials. Automating those agents on background events usually forces an unpleasant trade-off:
Bash permissions on your machine is dangerous, while requiring approval on every tool call defeats the purpose of background automation.claude -p do not deduplicate webhook bursts, serialize concurrent runs on the same branch, detect silent permission failures when a CLI exits 0, or preserve session state across human approvals.dispatchbox solves all three with a minimal, inspectable architecture:
dispatchbox. Workers invoke the stock claude and codex binaries already installed on your macOS or Linux machines.--allowed-tools Read,Glob,Grep). When the agent asks for approval and you confirm, the follow-up rule resumes the same session ID with targeted write permissions (e.g., Bash(rm:*)).GET /claim long polling. Your workstation or Mac mini behind home NAT never needs an open inbound port.Prerequisites:
pip install required).claude) or Codex CLI (codex) installed and signed in. examples/hello.json uses claude; for Codex, use examples/hello-codex.json in the commands below.From the repository root, create a ./demo directory with two sample files and generate a DISPATCHBOX_TOKEN:
mkdir -p demo && echo "stale" > demo/old.log && echo "# notes" > demo/notes.md
export DISPATCHBOX_TOKEN="$(python3 -c 'import secrets; print(secrets.token_urlsafe(32))')"
The bundled examples/hello.json defines require_decision_for: ["delete_data"] and three rules:
ask: read-only (--allowed-tools Read,Glob,Grep)tidy: read-only initially; must ask before deleting any fileafter-decision: triggered on dispatchbox/decision.made; resumes the session with Read,Glob,Grep,Bash(rm:*)python3 -m dispatchbox hub --rules examples/hello.json
In a second terminal (with the same DISPATCHBOX_TOKEN exported), start a worker restricted to ./demo:
export DISPATCHBOX_TOKEN="<paste-same-token>"
python3 -m dispatchbox worker --name local --allow-dir ./demo
In a third terminal (with the same DISPATCHBOX_TOKEN exported), send a read-only question and a file-deletion request:
export DISPATCHBOX_TOKEN="<paste-same-token>"
python3 -m dispatchbox send manual ask --summary "What files are here?"
python3 -m dispatchbox send manual tidy --summary "Delete old.log"
Both events are routed immediately:
{"event_id": 1, "status": "routed", "runs": [1], "coalesced_into": []}
{"event_id": 2, "status": "routed", "runs": [2], "coalesced_into": []}
In the hub terminal log, run #1 finishes on its own, while run #2 pauses at the delete_data boundary:
NOTIFY [dispatchbox] run #1 ask: succeeded | The directory holds two small files, notes.md and old.log, and nothing else. | Open: /runs/1
NOTIFY [dispatchbox] run #2 tidy: awaiting_decision | Question: Delete old.log from the working directory? | Options: Delete old.log / Keep old.log | Context: Found old.log (6 bytes, modified Nov 3 04:55) in the demo directory next to notes.md; no deletion has been performed. | Open: /runs/2
Open http://127.0.0.1:8787 in your browser, click run #2, and click Delete old.log. Your choice emits a decision.made event, queuing run #3 (after-decision), which resumes run #2's Claude session with Bash(rm:*) enabled:
NOTIFY [dispatchbox] run #3 after-decision: succeeded | Deleted old.log from the demo directory after owner approval and verified only notes.md remains. | Open: /runs/3
dispatchbox is on PyPI and has no dependencies:
pip install dispatchbox # or: uv tool install dispatchbox
dispatchbox --version
The installed dispatchbox command is the same as python3 -m dispatchbox in the quick start. The quick start runs from a clone because it uses the bundled examples/hello.json. To decrypt Feishu events signed with an Encrypt Key, install the optional extra: pip install "dispatchbox[feishu-encryption]".
GitHub webhooks (pull_request, issues, issue_comment, pull_request_review_comment, push, workflow_run), built-in 5-field cron schedules, Slack mentions/DMs, Feishu messages, and POST /events calls all normalize into a single event schema (source, type, subject, summary, link, payload, dedupe_key).
dedupe_window (default 10m, or 24h for chat events) are dropped automatically.group is still queued, they merge into that queued run so the agent handles the full batch in one pass.Instead of approving individual bash commands, you declare high-level risk categories in require_decision_for (e.g., ["delete_data", "spend_money", "send_external_message"]).
DISPATCHBOX_DECISION: line and exits cleanly.awaiting_decision and renders interactive option buttons in Slack, Feishu, or the web UI.dispatchbox/decision.made event carrying the run's run_id and session_id. If a rule matches that event (like after-decision in the examples), its run invokes claude --resume <session_id> or `codex exec resume