jackchuka/skills/gh-org-chart/SKILL.md
gh-org-chart
Generate an interactive HTML org explorer from a GitHub organization. Surfaces team hierarchy, members, owned repos, and CODEOWNERS path attributions. Two stages: collect.sh writes a canonical JSON, render.py emits a self-contained HTML file. The JSON is the cache (mtime ≤ 24h skips re-collection) and is hand-editable. Triggers: "org chart", "team chart", "visualize github org", "who owns this repo", "github team hierarchy", "/gh-org-chart"
- Source repository stars
- 15
- Declared platforms
- 0
- Static risk flags
- 1
- Last source update
- 2026-07-28
- Source checked
- 2026-07-28
Decision brief
What it does—and where it fits
Produces two artifacts in ${TMPDIR:-/tmp}/gh-org-chart/:
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/jackchuka/skills --skill "gh-org-chart"Inspect the Agent Skill "gh-org-chart" from https://github.com/jackchuka/skills/blob/7b0b33f68b8f11522e43622e5cb3bacd802999d2/gh-org-chart/SKILL.md at commit 7b0b33f68b8f11522e43622e5cb3bacd802999d2. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Phase 1: Intake
1. Resolve org: if provided as argument, use it. Otherwise ask: Which GitHub org should I chart?
Resolve org: if provided as argument, use it. Otherwise ask:Verify auth: run gh auth status. Confirm read:org is in the scopes line. If not, instruct:1. Resolve org: if provided as argument, use it. Otherwise ask: Which GitHub org should I chart? - 02
Phase 2: Decide collect vs. reuse
3. Locate $OUTDIR/-org.json. 4. If --refresh was passed, or the file does not exist, or its mtime is older than 24h, run collect (Phase 3). Otherwise skip to Phase 4.
Locate $OUTDIR/-org.json.If --refresh was passed, or the file does not exist, or its mtime is older than 24h, run collect (Phase 3). Otherwise skip to Phase 4.3. Locate $OUTDIR/-org.json. 4. If --refresh was passed, or the file does not exist, or its mtime is older than 24h, run collect (Phase 3). Otherwise skip to Phase 4. - 03
Phase 3: Collect
5. Run the bundled collect script (handles zsh noclobber via rm -f):
Run the bundled collect script (handles zsh noclobber via rm -f):5. Run the bundled collect script (handles zsh noclobber via rm -f):Where $FLAGS is built from --no-codeowners and --no-members if set. CODEOWNERS scanning is the long pole — expect 1 API call per owned repo. Big orgs (200+ owned repos with rate limiting): consider --no-codeowners. - 04
Phase 4: Render
This writes -org.html next to the JSON (i.e. in $OUTDIR).
Run the renderer:Open it (macOS):This writes -org.html next to the JSON (i.e. in $OUTDIR). - 05
Phase 5: Report
8. Summarize (set JSON="$OUTDIR/$ORG-org.json"): - Teams: jq '.teams | length' "$JSON" - Owned repos (admin or maintain): jq '[.teams[].repos[] | select(.permission == "admin" or .permission == "maintain") | .name] | unique | length' "$JSON" - CODEOWNERS path attributions: jq '[…
Summarize (set JSON="$OUTDIR/$ORG-org.json"):Teams: jq '.teams | length' "$JSON"Owned repos (admin or maintain): jq '[.teams[].repos[] | select(.permission == "admin" or .permission == "maintain") | .name] | unique | length' "$JSON"
Permission review
Static risk signals and limitations
Runs scripts
The documentation asks the agent to run terminal commands or scripts.
Run the bundled collect script (handles zsh `noclobber` via `rm -f`):Runs scripts
The documentation asks the agent to run terminal commands or scripts.
python3 "${CLAUDE_SKILL_DIR:-$HOME/.claude/skills/gh-org-chart}/scripts/render.py" \Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 73/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 15 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- jackchuka/skills
- Skill path
- gh-org-chart/SKILL.md
- Commit
- 7b0b33f68b8f11522e43622e5cb3bacd802999d2
- License
- MIT
- Collected
- 2026-07-28
- Default branch
- main
View the original SKILL.md
GitHub Org Chart
Produces two artifacts in ${TMPDIR:-/tmp}/gh-org-chart/:
<org>-org.json— canonical data: teams, members (with role), repos (witharchivedflag and permission), CODEOWNERS paths. Cache + hand-editable source of truth.<org>-org.html— single self-contained interactive explorer rendered from the JSON. Opens viafile://, works offline.
Set OUT_DIR once at the start of every phase and reuse it:
OUT_DIR="${TMPDIR:-/tmp}/gh-org-chart"
mkdir -p "$OUT_DIR"
Arguments
/gh-org-chart— prompt for org./gh-org-chart <org>— render-if-fresh: if<org>-org.jsonexists andmtimeis within 24h, re-render from it. Otherwise collect, then render./gh-org-chart <org> --refresh— force re-collect./gh-org-chart <org> --no-codeowners— skip CODEOWNERS scan (faster on big orgs)./gh-org-chart <org> --no-members— drop members from collection and output.
Phase 1: Intake
-
Resolve org: if provided as argument, use it. Otherwise ask:
Which GitHub org should I chart?
-
Verify auth: run
gh auth status. Confirmread:orgis in the scopes line. If not, instruct:gh auth refresh -s read:orgthen re-run the skill.
Phase 2: Decide collect vs. reuse
-
Locate
$OUT_DIR/<org>-org.json. -
If
--refreshwas passed, or the file does not exist, or its mtime is older than 24h, run collect (Phase 3). Otherwise skip to Phase 4.Freshness check:
JSON="$OUT_DIR/$ORG-org.json" if [[ "$REFRESH" == "1" ]] || [[ ! -f "$JSON" ]] || \ [[ $(($(date +%s) - $(stat -f %m "$JSON" 2>/dev/null || stat -c %Y "$JSON"))) -gt 86400 ]]; then NEEDS_COLLECT=1 fi
Phase 3: Collect
-
Run the bundled collect script (handles zsh
noclobberviarm -f):rm -f "$OUT_DIR/$ORG-org.json" "${CLAUDE_SKILL_DIR:-$HOME/.claude/skills/gh-org-chart}/scripts/collect.sh" \ "$ORG" $FLAGS > "$OUT_DIR/$ORG-org.json"Where
$FLAGSis built from--no-codeownersand--no-membersif set. CODEOWNERS scanning is the long pole — expect ~1 API call per owned repo. Big orgs (200+ owned repos with rate limiting): consider--no-codeowners.
Phase 4: Render
-
Run the renderer:
python3 "${CLAUDE_SKILL_DIR:-$HOME/.claude/skills/gh-org-chart}/scripts/render.py" \ "$OUT_DIR/$ORG-org.json"This writes
<org>-org.htmlnext to the JSON (i.e. in$OUT_DIR). -
Open it (macOS):
open "$OUT_DIR/$ORG-org.html"Other platforms: report the path so the user can open it themselves.
Phase 5: Report
- Summarize (set
JSON="$OUT_DIR/$ORG-org.json"):- Teams:
jq '.teams | length' "$JSON" - Owned repos (admin or maintain):
jq '[.teams[].repos[] | select(.permission == "admin" or .permission == "maintain") | .name] | unique | length' "$JSON" - CODEOWNERS path attributions:
jq '[.teams[].repos[].codeowner_paths // [] | length] | add // 0' "$JSON" - Member entries:
jq '[.teams[].members[]] | length' "$JSON"(omit if--no-members). - Whether the JSON was freshly collected or reused from cache.
- Teams:
Notes
- Hand-editing the JSON: edits survive across
/gh-org-chart <org>runs because the freshness check reuses the file. Use--refreshwhen you want collection to overwrite your edits. - CODEOWNERS attribution: only
@<org>/<team-slug>owners produce attributions. Individual user owners (@alice) and external orgs (@other-org/team-x) are intentionally ignored — this is a team-ownership view. - No reporting lines: GitHub teams reflect permission grouping, not management hierarchy. Manager → report relationships need a different data source (HRIS).
- Performance: CODEOWNERS scan is restricted to owned repos (permission ≥ maintain) to keep API calls bounded. Collecting roles adds one
?role=maintainercall per team. - Data shape (for hand-editing / jq):
membersis[{login, role}]whereroleis"maintainer"or"member"; each repo carriespermissionand anarchivedflag.--no-membersleavesmembersempty.
Alternatives
Compare before choosing
coreyhaines31/marketingskills
ab-testing
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program
coreyhaines31/marketingskills
churn-prevention
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers o
event4u-app/agent-config
design-review
Use when the user says "review the design", "check the UI", or wants a comprehensive UI/UX review. Uses a 7-phase methodology covering interaction, responsiveness, accessibility, and more.
K-Dense-AI/scientific-agent-skills
dask
Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.