automation-health-dashboard
Skill1 starsChanged 4 months agoApache-2.0View on GitHub
Generate an executive-facing automation health dashboard combining metrics from all automation programs (link-health, dep-bump). Produces a markdown report showing cumulative impact, trends, coverage, and cron health.
- Installs packages
In this repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- byo-rossoctl-cortexSkill
- dep-bump-fixerSkill
- dep-bump-scannerSkill
- github-pr-reviewSkill
- github-weekly-reportSkill
- hypershift-cleanupSkill
- hypershift-clusterSkill
- hypershift-debugSkill
- hypershift-preflightSkill
- hypershift-quotasSkill
- hypershift-setupSkill
- hypershiftSkill
- link-health-fixerSkill
- link-health-scannerSkill
- repo-syncSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 60
Disk-derived fallback: when no registry file exists, the dashboard falls back to probing the known report subdirs (link-health/, dep-bump/) …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
Automation Health Dashboard
Generate a unified executive-facing dashboard combining link-health and dep-bump program metrics into docs/automation-health.md. Answers "what did automation save us?" with cumulative numbers and trend data.
Run scripts with --help first to see full usage and options.
Prerequisites
bash4+ (macOS ships 3.2; usebrew install bashfor 4+)gh(GitHub CLI, authenticated with org access)jq(JSON processor)
Requirements (machine-readable)
- pat_scopes: [repo]
- labels_required: []
- labels_applied: []
- programs: [dashboard]
Before Running
1. Ensure program reports exist
The dashboard reads from report files produced by other programs. At minimum one of:
$REPORTS_DIR/link-health/latest.json(from link-health scanner)$REPORTS_DIR/dep-bump/latest.json(from dep-bump scanner)
2. Set environment variables
export REPORTS_DIR=~/reports # base dir containing link-health/ and dep-bump/ subdirs
export MAIN_REPO_DIR=~/my-org/main-repo # path to the report-target repo clone (overrides the REPOS_DIR-derived default; for live mode)Note: the dashboard script calls repoman_config unconditionally, so
~/.repoman/config.json (with repos_dir and fork_owner set) is required
even for --dry-run runs. This script is no longer standalone the way earlier
versions were.
3. Program discovery (how the dashboard knows which sections to render)
The dashboard discovers which programs to render from a _index.json program
registry rather than a hardcoded program list. Each scanner registers itself in
the registry after writing its reports, recording its display_name,
report_path, and last_run.
- By default the registry is read from
<reports-dir>/_index.json. Override it with--index PATHor theREPOMAN_INDEX_FILEenvironment variable. - Each registered program's
display_namebecomes its section heading, so the heading follows the registry rather than a constant in the script. - Disk-derived fallback: when no registry file exists, the dashboard falls
back to probing the known report subdirs (
link-health/,dep-bump/) directly, so setups that predate the registry keep working unchanged.
Running the Dashboard
Always run with --dry-run first:
bash scripts/automation-health-dashboard.sh --dry-runThis generates the dashboard markdown and prints it to stdout without pushing.
To point at a specific registry (otherwise <reports-dir>/_index.json):
bash scripts/automation-health-dashboard.sh --dry-run --index /path/to/_index.jsonLive run (commits and pushes to fork PR):
bash scripts/automation-health-dashboard.sh --live --main-repo-dir /path/to/automationDashboard Sections
- Executive Summary — total issues created/resolved, PRs opened, estimated hours saved
- Link Health — broken links by type, trend table, cumulative issues
- Dependency Bumps — stale PRs by tier, SLA compliance, median TTM, coverage
- Cross-Program Coverage — which repos are under which programs
- Cron Health — job schedules and last run status
Graceful Degradation
If only one program's reports are available, the dashboard generates with partial data. A registered program whose report_path is missing its latest.json/history.json is skipped with a note rather than failing the whole run; if no program is renderable at all, the dashboard exits with an error naming the reports it expected.
Known Limitations (v1)
- Which programs render is discovered from the
_index.jsonregistry (with a disk-derived fallback); a program only has a dashboard section if the script also carries an extraction block for it (link-health, dep-bump), so a registry entry for any other id is skipped with a note rather than rendered - The report-target repo is hardcoded (
REPORT_TARGET_REPO="rossoctl/automation"); the fork owner comes fromrepoman_config(~/.repoman/config.json), not from a CLI flag — there is no--org/--fork-owneroption - Cron health table has static entries (does not read from jobs.json)
- Hours-saved heuristic is fixed at 15 min/issue
Safety
- The dashboard is read-only — it does not modify program reports or create issues
--dry-runis the default mode- Live mode only writes to
docs/automation-health.mdvia a standing fork-based PR
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.

