Agent skill

PR Summary

by sd0xdev in sd0xdev/sd0x-harness

List open PRs, filter automation PRs, group by ticket ID, format as Markdown.

MITAuto-check passedDocuments & Office

Install PR Summary

skills CLI
$ npx skills add sd0xdev/sd0x-harness --skill pr-summary -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sd0xdev/sd0x-harness pr-summary --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sd0xdev/sd0x-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/pr-summary .claude/skills/pr-summary && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pr-summary
GitHub stars
192
Token cost
~638 tokens
SKILL.md length
199 words
Files
2 (incl. scripts)
Skills in repo
91
Repo updated
First seen
Licence
MIT

At a glance

List open PRs, filter automation PRs, group by ticket ID, format as Markdown.

  • Works in 3 steps: Run Script → Display Results → Provide Copy Instructions
  • : user asks for PR summary
  • SKILL.md covers When NOT to Use, Input, Workflow and Output Format, plus 2 more sections
  • Runs Shell scripts from its folder; calls gh and bash; reaches github.com

What it does

PR Summary is an agent skill from sd0xdev/sd0x-harness. List open PRs, filter automation PRs, group by ticket ID, format as Markdown. Use when: user asks for PR summary, PR status, or /pr-summary

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/pr-summary.sh`).

It sits in Documents & Office, covering Markdown. It works with Snyk. The repository describes itself as: The harness layer for Claude Code — a reference implementation of harness engineering with hook-enforced dual review, state-machine gates that survive context compaction, and… The licence is MIT.

When your agent uses it

  • : user asks for PR summary
  • Tasks that involve Markdown

Example prompts

  • “/pr-summary”

Requirements

  • A Bash shell
  • Pre-approved tools (allowed-tools): Bash(git:*), Bash(gh:*), Bash(bash:*)

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Run Script
  2. Display Results
  3. Provide Copy Instructions

What it can do on your machine

Read from SKILL.md and the folder at commit c9a2036. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(git:*)
    • Bash(gh:*)
    • Bash(bash:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • gh
    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

PR Summary loads about 638 tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 199 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~638

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from sd0xdev/sd0x-harness at commit c9a2036, republished under its MIT licence (© sd0xdev). 199 words, ~638 tokens.

Download SKILL.mdSave it as .claude/skills/pr-summary/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
pr-summary
description
List open PRs, filter automation PRs, group by ticket ID, format as Markdown. Use when: user asks for PR summary, PR status, or /pr-summary
allowed-tools
Bash(git:*), Bash(gh:*), Bash(bash:*)

PR Summary

List open PRs, filter automation PRs (dependabot/snyk), group by ticket ID, output formatted summary.

When NOT to Use

ScenarioUse Instead
Create a new PR/create-pr
Review PR code/codex-review
View single PR detailsgh pr view <N>
Pre-merge analysis/merge-prep

Input

/pr-summary [--author <user>] [--label <label>]

ArgumentDescriptionDefault
--author <user>Filter by authorAll
--label <label>Filter by labelAll

Workflow

1. Run Script
bash
bash skills/pr-summary/scripts/pr-summary.sh [--author <user>] [--label <label>]

The script automatically:

StepAction
Fetchgh pr list --json to get open PRs (max 200)
FilterExclude dependabot/* and snyk-*
GroupGroup by ticket ID ({TICKET_PATTERN} or [A-Z]+-\d+)
DetectIdentify stacked PRs (base is not main/master/develop)
OutputWrite formatted text to /tmp/pr-summary.md
2. Display Results

Read /tmp/pr-summary.md and display to user.

3. Provide Copy Instructions
Content written to /tmp/pr-summary.md
Copy: cat /tmp/pr-summary.md | pbcopy

Output Format

Markdown (default)
markdown
**PROJ-520**

https://github.com/user/repo/pull/123
> fix: Add Redis cache for contract codes

https://github.com/user/repo/pull/124
> fix: Tune server timeouts (stacked on fix/PROJ-520)

**PROJ-123**

https://github.com/user/repo/pull/99
> feat: Add DeFi portfolio tracking
Grouping Rules
ConditionStrategy
Same ticket IDSame group
Stacked PR (base is feature branch)Same group, annotate (stacked on <base>)
No ticket / unrelatedStandalone entry
Filter Rules
PR SourceAction
dependabot/*Exclude
snyk-*Exclude
OthersKeep

References

FilePurpose
pr-summary.shPR fetch, filter, group, format script

Verification

  • Lists all open PRs (excluding dependabot/snyk)
  • PRs grouped by ticket ID
  • Stacked PRs annotated with dependency
  • Output format is valid Markdown
  • /tmp/pr-summary.md written

© sd0xdev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in skills/pr-summary of sd0xdev/sd0x-harness.

  • SKILL.md
  • scripts/pr-summary.sh

Open the folder on GitHubat commit c9a2036

Compare with similar skills

PR Summary next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

PR Summary compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PR Summary this skillsd0xdev/sd0x-harness192—~638Automated safety check: PassMIT
Markdown Article FormatterJimLiu/baoyu-skills26k6 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
Gzh Designisjiamu/gzh-design-skill3.9k1 repos~2.2kAutomated safety check: PassAGPL-3.0
Crosspostingwasp-lang/wasp19k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    26k GitHub starsUsed in 6 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed
  • Crossposting

    wasp-lang/wasp

    Crosspost Wasp blog articles (MDX) to DEV.to and Medium. An agent skill from wasp-lang/wasp.

    19k GitHub stars~1.1k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Segment Docs

    JanDeDobbeleer/oh-my-posh

    Reference mapping between Oh My Posh Go segment source code and MDX documentation.

    24k GitHub stars~1.1k tokensUpdated today
    Documents & OfficeAuto-check passed

More from sd0xdev/sd0x-harness

All 91 skills in this repo
  • Adr

    sd0xdev/sd0x-harness

    Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as docs/features/<feature/adr-<NNN-<title.md with a 3-digit zero-padded…

    192 GitHub stars~4.8k tokensUpdated yesterday
    Auto-check passed
  • Load PR Review

    sd0xdev/sd0x-harness

    Load GitHub PR review comments into AI session — analyze, triage, plan.

    192 GitHub stars~4.4k tokensUpdated yesterday
    Auto-check passed
  • Next Step

    sd0xdev/sd0x-harness

    Change-aware next step advisor. An agent skill from sd0xdev/sd0x-harness.

    192 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Obsidian CLI

    sd0xdev/sd0x-harness

    Obsidian vault integration via official CLI. An agent skill from sd0xdev/sd0x-harness.

    192 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Orchestrate

    sd0xdev/sd0x-harness

    Agent-driven workflow orchestration (v1 report-only). An agent skill from sd0xdev/sd0x-harness.

    192 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • PR Comment

    sd0xdev/sd0x-harness

    Post friendly review comments to a GitHub PR — prepare locally, preview, then submit as atomic review.

    192 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about PR Summary

What does PR Summary do?

List open PRs, filter automation PRs, group by ticket ID, format as Markdown. PR Summary is an agent skill from sd0xdev/sd0x-harness. List open PRs, filter automation PRs, group by ticket ID, format as Markdown.

When should I use PR Summary?

PR Summary fits situations like: : user asks for PR summary; tasks that involve Markdown.

How do I install PR Summary in Claude Code?

Run `npx skills add sd0xdev/sd0x-harness --skill pr-summary -a claude-code`. Or copy the skill folder (skills/pr-summary in sd0xdev/sd0x-harness) into .claude/skills/pr-summary in your project. Claude Code loads it when a task matches its description.

How do I install PR Summary in Codex?

Run `npx skills add sd0xdev/sd0x-harness --skill pr-summary -a codex`. Or copy the skill folder (skills/pr-summary in sd0xdev/sd0x-harness) into .agents/skills/pr-summary in your project. Codex loads it when a task matches its description.

Can I use PR Summary in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sd0xdev/sd0x-harness --skill pr-summary -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-summary, .gemini/skills/pr-summary, .github/skills/pr-summary and .opencode/skills/pr-summary in your project.

What does PR Summary need to run?

Going by SKILL.md and its folder, PR Summary needs a shell for the scripts in its folder and the command-line tools its instructions call (gh and bash). Our summary lists: A Bash shell. Its frontmatter pre-approves these tools: Bash(git:*), Bash(gh:*), Bash(bash:*).

Does PR Summary access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is PR Summary safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does PR Summary use?

PR Summary is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does PR Summary use?

About 638 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to PR Summary?

Skills that share tags, products or a category with PR Summary: Markdown Article Formatter (JimLiu/baoyu-skills, 26k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and Gzh Design (isjiamu/gzh-design-skill, 3.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PR Summary?

sd0xdev (a GitHub user) maintains it in sd0xdev/sd0x-harness, which has 192 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on October 6, 2026.

Source: sd0xdev/sd0x-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.