From bot-automation
Check bot notifications for tasks requested by the repo owner, then execute them using a team
npx claudepluginhub seabbs/skills --plugin bot-automationThis skill uses the workspace's default tool permissions.
Check the bot account's GitHub notifications for issues and PRs where the owner has asked the bot to do something, then execute those tasks.
Verifies tests pass on completed feature branch, presents options to merge locally, create GitHub PR, keep as-is or discard; executes choice and cleans up worktree.
Guides root cause investigation for bugs, test failures, unexpected behavior, performance issues, and build failures before proposing fixes.
Writes implementation plans from specs for multi-step tasks, mapping files and breaking into TDD bite-sized steps before coding.
Check the bot account's GitHub notifications for issues and PRs where the owner has asked the bot to do something, then execute those tasks.
Read the bot and owner accounts from the org's CLAUDE.md ## Automation config table (bot_account and owner_account).
A pre-built script at ~/.claude/scripts/bot-tasks.sh collects unprocessed task requests in one pass.
Run it first to avoid spending tokens on notification parsing.
~/.claude/scripts/bot-tasks.sh > /tmp/bot-tasks.json
If the script is missing or not executable, run /setup-scripts to regenerate it.
The script outputs a JSON object with:
notifications: raw notification listtasks: array of unprocessed task requests with thread_id, repo, type, number, title, url, comment_id, request (the comment body)Tasks are identified by:
When a task request is processed:
gh api -X POST "repos/{repo}/issues/comments/{comment_id}/reactions" -f content=eyes
A cron trigger script at ~/.claude/scripts/cron-bot-tasks.sh polls every 5 minutes.
It only triggers Claude Code if there are new unprocessed requests.
Set up via: crontab -e and add:
*/5 * * * * ~/.claude/scripts/cron-bot-tasks.sh >> ~/.claude/logs/cron-bot-tasks.log 2>&1
Read the tasks array from the JSON.
Skip if empty.
Present a numbered list of tasks found:
Ask the user to confirm which tasks to execute, or proceed with all if invoked with --all.
Spawn a team with one teammate per task (up to 5 concurrent). Each teammate:
For non-code tasks (labelling, closing, commenting):
gh api -X PATCH notifications/threads/{id}Report:
IMPORTANT: If this command is being run as a standalone request, automatically exit after completing all phases successfully.