Generate or regenerate all helper scripts used by org automation skills
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.
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 |
~/.claude/scripts/ if it does not existchmod +x on all scripts--help or a quick org name) and report pass/failThe 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:
~/.claude/scripts/_lib.sh for the shared library pattern_lib.sh, use get_gh_org, parse_repo_names)set -euo pipefail and bash 3.2 compatibility (no mapfile, no associative arrays)macOS ships bash 3.2. All scripts MUST:
mapfile — use while IFS= read -r loops insteaddeclare -A) — use parallel indexed arrays|& — use 2>&1 |[[ =~ ]] with literal ) in patterns — use sed for extraction$(( )) for arithmetic, not let< <() works on macOS bash 3.2 but test if unsureAfter generating, run each script and verify:
jq .)Report results as a table:
| Script | Exists | Executable | Valid JSON | Status |
|---|
IMPORTANT: If this command is being run as a standalone request, automatically exit after completing all phases successfully.