Setup Scripts
Generate or regenerate all helper scripts used by org automation skills
by seabbs · MIT
The skill
Generate or regenerate all helper scripts used by org automation skills
Setup Helper Scripts
Generate all shell scripts in ~/.claude/scripts/ used by the org automation skills.
Run this after a fresh install, or to regenerate scripts if they go missing.
Script inventory
All scripts live in ~/.claude/scripts/ and must be executable.
They share a common library _lib.sh with functions for parsing CLAUDE.md files.
| Script | Used by | Purpose |
|---|---|---|
_lib.sh |
All scripts | Shared: get_gh_org, parse_repo_names, parse_repo_names_with_type |
org-ci-health.sh |
/org-ci-health |
CI run status + action versions per repo |
org-deps.sh |
/org-deps |
DESCRIPTION/Project.toml deps + release tags |
org-releases.sh |
/org-releases |
Release tags, commit counts, NEWS status |
org-maintenance.sh |
/org-maintenance |
Non-main worktrees + open PRs with status |
daily-summary.sh |
/daily-summary |
Bot PRs, issues, commits, blockers for a date |
weekly-plan.sh |
/weekly-plan |
Daily logs, open PRs, assigned issues, commit counts |
org-standards.sh |
/org-standards |
Config files, CI workflows, badges per repo |
org-issues-scan.sh |
/org-issues-tidy, /org-issues-do |
Open issues with metadata and bot comment status |
bot-tasks.sh |
/bot-tasks |
Unprocessed bot notifications with comment context |
cron-bot-tasks.sh |
cron | Poll for new bot requests, trigger if needed |
Procedure
- Create
~/.claude/scripts/if it does not exist - For each script in the inventory above, check if it exists and is executable
- If missing, read the current version from this skill's embedded templates below and write it
- If it exists, check its version comment against the template — offer to update if outdated
- Run
chmod +xon all scripts - Smoke test each script (run with
--helpor a quick org name) and report pass/fail
Templates
The templates for each script are maintained in the script files themselves.
This skill should read the existing scripts at ~/.claude/scripts/*.sh to verify they exist.
If any are missing, regenerate them by:
- Reading
~/.claude/scripts/_lib.shfor the shared library pattern - Following the same pattern (source
_lib.sh, useget_gh_org,parse_repo_names) - Outputting JSON to stdout
- Using
set -euo pipefailand bash 3.2 compatibility (nomapfile, no associative arrays)
Bash 3.2 compatibility rules
macOS ships bash 3.2. All scripts MUST:
- Not use
mapfile— usewhile IFS= read -rloops instead - Not use associative arrays (
declare -A) — use parallel indexed arrays - Not use
|&— use2>&1 | - Not use
[[ =~ ]]with literal)in patterns — usesedfor extraction - Use
$(( ))for arithmetic, notlet - Process substitution
< <()works on macOS bash 3.2 but test if unsure
Validation
After generating, run each script and verify:
- Exit code 0
- Output is valid JSON (pipe through
jq .) - No bash syntax errors
Report results as a table:
| Script | Exists | Executable | Valid JSON | Status |
|---|
Auto-Exit When Standalone
IMPORTANT: If this command is being run as a standalone request, automatically exit after completing all phases successfully.
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: seabbs/setup-scripts-67862070395.
Details
- Publisher
- seabbs
- Category
- Software Development › Developer docs & tooling
- License
- MIT
- Updated
- 2026-08-25
References
More from seabbs
- Julia Repl Evaluate Julia through the warm AgentREPL MCP session rather than `julia -e`, hot-reload edits wi…
- Add Bot Add the bot account as a collaborator with push permissions to a repository
- Bot Report Report on what the unattended agent bots have been doing — what the review bot has posted, what i…
- Bot Tasks Check bot notifications for tasks requested by the repo owner, then execute them using a team