--no-stats: Skip line count fetching (faster for large repos)
Examples
# PRs merged in last 30 days
node {baseDir}/dist/insights/cli.js --action prs-merged
# Leaderboard for last week
node {baseDir}/dist/insights/cli.js --action leaderboard --days 7
# Time to merge analysis
node {baseDir}/dist/insights/cli.js --action time-to-merge --days 30
# Review participation
node {baseDir}/dist/insights/cli.js --action reviews --days 30
# PR size analysis with bottleneck detection
node {baseDir}/dist/insights/cli.js --action pr-size --days 30
# Time to first review
node {baseDir}/dist/insights/cli.js --action first-review --days 30
# Review balance (given vs received)
node {baseDir}/dist/insights/cli.js --action review-balance --days 30
# Reverts and hotfixes tracking
node {baseDir}/dist/insights/cli.js --action reverts --days 30
# Rubber stamp detection
node {baseDir}/dist/insights/cli.js --action review-depth --days 30
# Review cycles (rounds of feedback)
node {baseDir}/dist/insights/cli.js --action review-cycles --days 30
Interpreting User Requests
User Says
Action
Options
"show PRs merged"
prs-merged
default 30 days
"who merged the most PRs"
leaderboard
-
"team activity last week"
activity
--days 7
"how long do PRs take to merge"
time-to-merge
-
"who is reviewing code"
reviews
-
"are big PRs slowing us down"
pr-size
-
"PR bottlenecks"
pr-size
-
"how long until first review"
first-review
-
"is review load balanced"
review-balance
-
"any reverts or hotfixes"
reverts
-
"are reviews thorough"
review-depth
-
"rubber stamp reviews"
review-depth
-
"how many review rounds"
review-cycles
-
"run all reports"
all
-
"full team analysis"
all
-
Output
The script outputs markdown tables ready for display. No additional formatting needed.
Prerequisites
Must be run from within a git repository
Requires gh CLI authenticated (gh auth status)
Requires npm run build to have been run (compiles TypeScript to dist/)
CLI Reference
If unsure about available actions or flags, run:
node {baseDir}/dist/insights/cli.js --help
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: kwiggen-claude-code-plugin-github-insights3description: GitHub Insights Skill4---56# GitHub Insights Skill78Analyze team GitHub activity for the current repository.910## Available Actions1112| Action | Description |13|--------|-------------|14| `prs-merged` | List all PRs merged in a time period |15| `leaderboard` | Rank contributors by PR count and lines changed |16| `activity` | Summary stats + leaderboard + day/hour breakdown |17| `time-to-merge` | Merge velocity per developer (avg/median) |18| `reviews` | Who reviews whose code |19| `pr-size` | Size distribution and bottleneck detection |20| `first-review` | Time to first review per developer |21| `review-balance` | Reviews given vs received ratio |22| `reverts` | Track reverts and hotfixes |23| `review-depth` | Detect rubber stamp reviews |24| `review-cycles` | Rounds of feedback before merge |25| `all` | Run all reports with visual separators |2627## Usage2829Run the compiled TypeScript CLI from the dist directory:3031```bash32node {baseDir}/dist/insights/cli.js --action <ACTION> [OPTIONS]33```3435### Options3637- `--action` (required): One of the actions above38- `--days N`: Look back N days (default: 30)39- `--start YYYY-MM-DD`: Start date for custom range40- `--no-stats`: Skip line count fetching (faster for large repos)4142### Examples4344```bash45# PRs merged in last 30 days46node {baseDir}/dist/insights/cli.js --action prs-merged4748# Leaderboard for last week49node {baseDir}/dist/insights/cli.js --action leaderboard --days 75051# Time to merge analysis52node {baseDir}/dist/insights/cli.js --action time-to-merge --days 305354# Review participation55node {baseDir}/dist/insights/cli.js --action reviews --days 305657# PR size analysis with bottleneck detection58node {baseDir}/dist/insights/cli.js --action pr-size --days 305960# Time to first review61node {baseDir}/dist/insights/cli.js --action first-review --days 306263# Review balance (given vs received)64node {baseDir}/dist/insights/cli.js --action review-balance --days 306566# Reverts and hotfixes tracking67node {baseDir}/dist/insights/cli.js --action reverts --days 306869# Rubber stamp detection70node {baseDir}/dist/insights/cli.js --action review-depth --days 307172# Review cycles (rounds of feedback)73node {baseDir}/dist/insights/cli.js --action review-cycles --days 3074```7576## Interpreting User Requests7778| User Says | Action | Options |79|-----------|--------|---------|80| "show PRs merged" | `prs-merged` | default 30 days |81| "who merged the most PRs" | `leaderboard` | - |82| "team activity last week" | `activity` | `--days 7` |83| "how long do PRs take to merge" | `time-to-merge` | - |84| "who is reviewing code" | `reviews` | - |85| "are big PRs slowing us down" | `pr-size` | - |86| "PR bottlenecks" | `pr-size` | - |87| "how long until first review" | `first-review` | - |88| "is review load balanced" | `review-balance` | - |89| "any reverts or hotfixes" | `reverts` | - |90| "are reviews thorough" | `review-depth` | - |91| "rubber stamp reviews" | `review-depth` | - |92| "how many review rounds" | `review-cycles` | - |93| "run all reports" | `all` | - |94| "full team analysis" | `all` | - |9596## Output9798The script outputs markdown tables ready for display. No additional formatting needed.99100## Prerequisites101102- Must be run from within a git repository103- Requires `gh` CLI authenticated (`gh auth status`)104- Requires `npm run build` to have been run (compiles TypeScript to dist/)105106## CLI Reference107108If unsure about available actions or flags, run:109110```bash111node {baseDir}/dist/insights/cli.js --help112```113114---115> Converted and distributed by [TomeVault](https://tomevault.io/claim/kwiggen) — claim your Tome and manage your conversions.116<!-- tomevault:4.0:skill_md:2026-04-13 -->
Run npx skillmds@latest add tomevault-io/kwiggen-claude-code-plugin-github-insights in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
GitHub Insights Skill It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.