Gh org audit
Skills for any AI agent harness, by Mad House
npx -y skills add samhcus/skills --skill gh-org-auditAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Audit one or more GitHub orgs for stale live repos, local clones of archived repos, and repos missing standard files. Use when cleaning up the org, doing a monthly review, or when something feels disorganized. Triggers on "audit github", "audit the org", "org cleanup", "what repos are stale", "org health", "github audit".
SKILL.md
1.4 KB, as published. Nobody here has run it
gh-org-audit
Full health picture of your GitHub orgs: stale repos, missing files, archived repo clutter.
Tools
scripts/audit.sh
Audits all configured orgs and reports: stale live repos, archived repos with local clones, repos missing standard files.
- Input:
AUDIT_ORGS=<"orgname:~/local/path orgname2:~/local/path2">- space-separated org:localpath pairs - Input:
STALE_DAYS=<int>days since last push to consider stale (default: 90) - Output:
{ "orgs": { "<org1>": {stale, missing_standard_files, local_archived_clones}, "<org2>": {...} }, "summary": {live, archived, stale} }
Workflow
- Determine the orgs and their local paths, then run:
AUDIT_ORGS="myorg:~/dev/projects" bash scripts/audit.sh - Report: stale repos first (most actionable), then missing standard files, then local archived clones
- For each stale repo: suggest archive or note active reason
- For each local clone of an archived repo: suggest removing the local dir
- Do NOT delete anything without confirmation