---
name: gh-summary
description: >-
  Roadmap snapshot of the current GitHub repo — epics, milestones with descriptions and completion percentages, critical/blocked issues, recent releases, plus a short LLM-written summary of recently updated issues. Trigger this skill whenever the user types /gh-summary, says "show me the roadmap", "roadmap summary", "what's the state of the repo", "completion rates", "critical issues", "blocked work", "recent releases", "summarize this repo", "high-level overview", "what's making progress", or any similar request for a high-altitude view of the repo's open work. Hybrid: deterministic script output + a one-paragraph LLM summary of recent issue activity.
title: gh-summary
canonical_url: https://skilld.dev/gh/glitchwerks/claude-github-tools/gh-summary
last_updated: 2026-09-27T08:37:38.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [triggers.yml](https://skilld.dev/api/skills-raw/glitchwerks/claude-github-tools/gh-summary/triggers.yml).
>
> If the user asked to install this Skill, run `npx skilld install glitchwerks/claude-github-tools/gh-summary`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/gh-summary`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/glitchwerks/claude-github-tools/gh-summary) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/gh-summary`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/gh-summary --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/gh-summary --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# /gh-summary

Two-step recipe. The script emits the deterministic roadmap snapshot —
Epics, Milestones (with descriptions), Critical / blocked issues, and
Recent releases — from `gh api` and `gh release list`. The LLM-summary
step then reads the N most recently updated open issues and writes a
short prose paragraph about themes, momentum, and anything that looks
load-bearing. Step 1 is zero-LLM; step 2 is the only place LLM tokens
are spent.

## Step 1 — Run the deterministic script

Run the script and surface its stdout verbatim:

```bash
PY="${CLAUDE_PLUGIN_DATA}/venv/Scripts/python.exe"
[ -f "$PY" ] || PY="${CLAUDE_PLUGIN_DATA}/venv/bin/python"
"$PY" "${CLAUDE_PLUGIN_ROOT}/scripts/gh-summary.py"
```

Paste the script's output directly into the conversation without
modification or interpretation. If the script exits non-zero, surface
its stderr and stop.

The script supports `--critical-labels blocked,security,bug` (default
shown) to override which labels qualify an issue as critical. Pass it
through if the user has asked for a different critical set.

## Step 2 — Summarize recent issue activity

Step 1's script output already includes the 10 most recently updated open
issues — no separate `gh` call needed. Look for an
`<!-- recent-issues-json ... -->` HTML comment block appended after the
markdown report; parse the JSON array inside it (each item has `number`,
`title`, `updatedAt`, `labels`, `body`). This is emitted by
`fetch_recent_issues()` in `scripts/gh-summary.py`, which internally runs
`gh issue list --state open --limit 10 --search "sort:updated-desc" --json
number,title,updatedAt,labels,body` (NOT the `/issues` API endpoint — that
includes PRs). The `--search "sort:updated-desc"` is load-bearing: without
it, `gh issue list` orders by `CREATED_AT` (its default), and the result
would be the 10 newest-created open issues rather than the 10 most recently
updated — a different set, and not the one the prose summary contract
promises. Do not re-run `gh issue list` yourself in this step; the script
already did it.

Then write a short prose paragraph (3–5 sentences) covering:

- **Themes** — what areas of the repo are seeing activity (auth, CI, harness, scripts, etc.)
- **Momentum** — which issues look fresh / actively-being-worked vs. dormant updates
- **Load-bearing items** — anything in the recent set that looks like it would block other work, has a `blocked` label, or names a critical contract

Render as a section titled `### Recent issue activity` below the
script's output. Keep it under 6 sentences — the script section is
where the structural detail lives; this section adds narrative on top.

If the parsed JSON array is empty, render the section as a single line:
`_No open issues with recent activity._`

## Notes

- Step 1's output is the structural source of truth; do not paraphrase
  or re-render it from the JSON. Pasting verbatim is the whole point of
  having a deterministic script.
- Step 2 must not double-count items already surfaced by the script's
  "Critical / blocked issues" subsection. If an item appears in both,
  reference it by `#N` only in step 2 — do not restate the title /
  labels that step 1 already rendered.
