uselink-pr-digest

uselink-pr-digest is a skill for Claude Code from compilet-dev/agent-skill-uselink. It costs 49 tokens per session (1,373 once invoked), scanned A, original, MIT.

A tool that turns a pull request—a proposed set of code changes—into a readable web page and publishes it to Uselink for sharing.

In plain words
What is it for?
Use it to prepare a summary of a pull request for product managers, reviewers, or business stakeholders.
Why use it?
It lets non-developers understand what changed and why without reading a code diff, which shows line-by-line edits.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to prepare a summary of a pull request for product managers, reviewers, or business stakeholders.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/compilet-dev/agent-skill-uselink/uselink-pr-digest
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add compilet-dev/agent-skill-uselink --skill uselink-pr-digest
Clone the repo
git clone --depth 1 https://github.com/compilet-dev/agent-skill-uselink

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for uselink-pr-digest

README.md
[![agentmods](https://agentmods.dev/badge/skills/compilet-dev/agent-skill-uselink/uselink-pr-digest/github.svg)](https://agentmods.dev/skills/compilet-dev/agent-skill-uselink/uselink-pr-digest)
Your own site
<a href="https://agentmods.dev/skills/compilet-dev/agent-skill-uselink/uselink-pr-digest"><img src="https://agentmods.dev/badge/skills/compilet-dev/agent-skill-uselink/uselink-pr-digest/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for uselink-pr-digest

Your own site · 80×15
<a href="https://agentmods.dev/skills/compilet-dev/agent-skill-uselink/uselink-pr-digest"><img src="https://agentmods.dev/badge/skills/compilet-dev/agent-skill-uselink/uselink-pr-digest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,373 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.01373
Opus 5 $0.00024 $0.00687
Sonnet 5 $0.00010 $0.00275
Haiku 4.5 $0.00005 $0.00137

Measured 9d ago against content hash 3224c0534ff9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

uselink-pr-digest scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/uselink-pr-digest/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Turn a pull request into a clean, readable summary page and publish it to uselink. Stakeholders see what changed and why — without reading diffs.

When to Use

  • "Summarize this PR for the PM"
  • "Share PR #42 with the team"
  • "Create a digest of what this branch does"
  • User provides a PR number or URL

Prerequisites

which uselink || echo "MISSING"
test -f ~/.uselink/config.json && echo "OK" || echo "NO_CONFIG"
which gh || echo "GH_MISSING"

If uselink or its config is missing, tell the user to install/configure it. gh CLI is needed for PR metadata.

Workflow

1. Get PR data

From PR number:

gh pr view <number> --json title,body,author,state,additions,deletions,changedFiles,baseRefName,headRefName,mergedAt,createdAt,labels,reviewDecision
gh pr diff <number> --stat
gh pr diff <number> --name-only

From current branch (no PR number given):

gh pr view --json title,body,author,state,additions,deletions,changedFiles,baseRefName,headRefName,mergedAt,createdAt,labels,reviewDecision
git diff origin/main...HEAD --stat
git diff origin/main...HEAD --name-only

From URL: Extract owner/repo and number from the URL pattern github.com/<owner>/<repo>/pull/<number>.

2. Analyze changes

# Get the full diff for analysis
gh pr diff <number>

# Or for current branch
git diff origin/main...HEAD

Read each changed file and categorize changes:

  • New features — new files, new endpoints, new components
  • Bug fixes — error handling changes, condition fixes
  • Refactoring — renamed files, restructured code, no behavior change
  • Config/infra — CI, Docker, dependencies, migrations

3. Generate HTML

Write to /tmp/uselink-pr-digest-<number>-<timestamp>.html.

<!-- PR header -->
<div class="card">
  <h3>{{PR_TITLE}}</h3>
  <p class="muted">{{AUTHOR}} · {{BASE}} ← {{HEAD}} · {{DATE}}</p>
  <div class="summary-grid">
    <div class="summary-stat"><div class="num">{{FILES}}</div><div class="label">Files changed</div></div>
    <div class="summary-stat"><div class="num" style="color:#22c55e">+{{ADDITIONS}}</div><div class="label">Additions</div></div>
    <div class="summary-stat"><div class="num" style="color:#ef4444">-{{DELETIONS}}</div><div class="label">Deletions</div></div>
  </div>
</div>

<!-- What changed (plain English) -->
<h2>What Changed</h2>
<div class="card">
  <ul>
    <li><strong>{{CHANGE_1_TITLE}}</strong> — {{CHANGE_1_DESCRIPTION}}</li>
    <!-- One bullet per logical change, not per file -->
  </ul>
</div>

<!-- Why (from PR description or commit messages) -->
<h2>Why</h2>
<div class="card"><p>{{MOTIVATION}}</p></div>

<!-- Files changed by category -->
<h2>Files Changed</h2>
<table>
  <thead><tr><th>File</th><th>Category</th><th>+/-</th></tr></thead>
  <tbody>
    <tr><td><code>{{FILE}}</code></td><td><span class="tag tag-done">feature</span></td><td>+{{A}}/-{{D}}</td></tr>
  </tbody>
</table>

<!-- Testing notes -->
<h2>How to Test</h2>
<div class="card">
  <ol><li>{{TEST_STEP}}</li></ol>
</div>

<!-- Risks / things to watch -->
<h2>Risks</h2>
<div class="card">
  <ul><li>{{RISK}}</li></ul>
</div>

Read the full file on GitHub · 139 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 139 lines · 49 tokens per session scan A 3224c0534ff9

Subscribe to this mod's changes

uselink-pr-digest is a skill published in the GitHub repository compilet-dev/agent-skill-uselink (2 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 1,373 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

release

Guide through the Cortex TMS release process — version bump, changelog, sync, tag, publish. Every step requires user approval.

cortex-tms/cortex-tms · 29 tokens

surface-after-care

Regelmäßiger Pflegedurchlauf für ein bereits veröffentlichtes GitHub-Repository (Stufe 1, günstig und oft wiederholbar): zuerst alle Distributionsflächen des Projekts ermitteln (npm, PyPI, Registries, Marketplaces, Stores, Website) und Änderungen später dorthin spiegeln, dann Topics setzen, Privacy-Gate, Dokumente auf…

ellmos-ai/skills · 283 tokens

pr-summarizer

Generate clear, complete pull request descriptions from a diff or commit list. Use when user needs to write a PR description, wants to document a change, or asks for a commit summary.

chandrudp29/skillhub · 42 tokens

yolo-finish

Use when a feature is implemented and verified, to land it. Default path is PR + CI check, with the ship gate confirming before the irreversible merge; fast-local is the escape hatch. Includes the risk classifier whose hard triggers always stop for a human. Triggers on "ship it", "land this", "open a PR", or as the…

CoriChui/yolo · 82 tokens

git-workflow

Git workflow automation with conventional commits, merge vs rebase decision trees, worktrees, SSH signing, and monorepo sparse checkout patterns.

medy-gribkov/arcana · 32 tokens

changelog-generator

Generate CHANGELOG.md from git history grouped by Conventional Commit types. Triggers on "generate changelog", "write changelog", "release notes".

luqiang-code/claude-code-skills · 33 tokens