unifi-mcp: Skill for Claude Code

.agents/skills/pr-draft-summary/SKILL.md

pr-draft-summary is a skill for Claude Code, Codex from pproenca/unifi-mcp. It costs 42 tokens per session (529 once invoked), scanned A, original, MIT.

A procedure for producing a short, ready-to-paste pull request summary after substantial code changes. A pull request is a proposed change for review before it is merged into a shared codebase.

In plain words
What is it for?
Use it after changes to runtime code, tests, behavior-affecting documentation, or build configuration. It gathers the branch, changed files, commits, release tag, and comparison base before drafting the summary.
Why use it?
It ensures the final handoff records what changed, suggests a branch and title, describes the work, and notes compatibility risks. It also tells the agent when this summary is unnecessary for trivial tasks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is pproenca/unifi-mcp's own configuration. It tells Claude Code and Codex how to work on unifi-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything unifi-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pproenca/unifi-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pproenca/unifi-mcp/master/.agents/skills/pr-draft-summary/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pproenca/unifi-mcp

Made for: Claude Code, Codex.

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 pr-draft-summary

README.md
[![agentmods](https://agentmods.dev/badge/skills/pproenca/unifi-mcp/pr-draft-summary/github.svg)](https://agentmods.dev/skills/pproenca/unifi-mcp/pr-draft-summary)
Your own site
<a href="https://agentmods.dev/skills/pproenca/unifi-mcp/pr-draft-summary"><img src="https://agentmods.dev/badge/skills/pproenca/unifi-mcp/pr-draft-summary/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 pr-draft-summary

Your own site · 80×15
<a href="https://agentmods.dev/skills/pproenca/unifi-mcp/pr-draft-summary"><img src="https://agentmods.dev/badge/skills/pproenca/unifi-mcp/pr-draft-summary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 529 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.00042 $0.00529
Opus 5.5 $0.00017 $0.00212
Sonnet 5.5 $0.00008 $0.00106
Haiku 4.5 $0.00004 $0.00053

Measured 1mo ago against content hash 21eff4849e96, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-draft-summary 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 1mo 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.

.agents/skills/pr-draft-summary/SKILL.md · 55 lines

What it actually says

PR Draft Summary

Purpose

Produce the PR-ready summary after substantive code work: a concise summary plus a PR title and draft description. The block should be ready to paste into a PR.

When to Trigger

  • The task is finished and it touched runtime code (src/), tests, docs with behavior impact, or build configuration.
  • Default final handoff step for substantive code work.
  • Skip for trivial or conversation-only tasks, or when the user says not to.

Inputs to Collect Automatically

  • Current branch: git rev-parse --abbrev-ref HEAD
  • Working tree: git status -sb
  • Untracked files: git ls-files --others --exclude-standard
  • Changed files: git diff --name-only and git diff --name-only --cached
  • Latest release tag: git tag -l 'v*' --sort=-v:refname | head -n1
  • Base reference: git rev-parse --abbrev-ref --symbolic-full-name @{upstream} 2>/dev/null || echo origin/main
  • Commits ahead: git log --oneline --no-merges ${BASE_COMMIT}..HEAD

Workflow

  1. Run the commands above without asking the user.
  2. If no changes detected, say so and skip the block.
  3. Classify as feature, fix, refactor, or docs and flag backward-compatibility risk against the latest release tag.
  4. Summarize changes in 1-3 sentences using key paths and diff stats.
  5. Choose the lead verb: feature → adds, fix → fixes, refactor → improves, docs → updates.
  6. Suggest a branch name if on main: feat/<slug>, fix/<slug>, or docs/<slug>.
  7. Draft using the template below.

Output Format

# Pull Request Draft

## Branch name suggestion

git checkout -b <kebab-case, e.g., feat/add-firewall-tools>

## Title

<single-line imperative title, e.g., "feat: add firewall management tools">

## Description

<Start with "This pull request adds/fixes/improves ...", explain the change, any behavior changes or considerations. No need to list tests.>
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. 1mo ago First seen · 55 lines · 42 tokens per session scan A 21eff4849e96

Subscribe to this mod's changes

pr-draft-summary is a skill published in the GitHub repository pproenca/unifi-mcp (2 stars, last pushed 6mo ago), licensed MIT. It adds 42 tokens to every session and 529 once invoked, about $0.0002 per session on Opus 5.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-pr-review

Review pass on an open release PR (release/ → main) — the step between git-wrapup and release-and-publish when a project releases in gated release PR mode. Reads the PR's commit range through the code-simplifier lens plus a correctness review, verifies whatever an automated reviewer left on the PR, lands fixes as…

cyanheads/toolkit-mcp-server · 136 tokens

release-pr-review

Review pass on an open release PR (release/ → main) — the step between git-wrapup and release-and-publish when a project releases in gated release PR mode. Reads the PR's commit range through the code-simplifier lens plus a correctness review, verifies whatever an automated reviewer left on the PR, lands fixes as…

cyanheads/obsidian-mcp-server · 136 tokens

github-commenting

How to post clean, rich, deduplicated GitHub PR review comments — suggestion blocks, multi-line anchors, markers, formatting rules. Load before posting or fixing any PR comment.

juspay/neurolink · 41 tokens

gh-address-comments

This skill should be used when addressing GitHub pull request review comments systematically with mandatory resolution tracking. Use when user says "address PR comments", "fix review feedback", "handle PR review", "resolve PR threads", or needs to ensure all review comments are addressed before merging. Fetches…

jmagar/claude-homelab · 85 tokens

pr

Create a pull request using the Dedalus PR template. Injects git state, commit history, and diff stats automatically.

Kevin-Liu-01/Agent-Machines · 26 tokens

pr-review

Review PR comments from GitHub. Fetches inline review comments and issue comments, classifies by review.md prefix semantics (blocking vs non-blocking), and summarizes actionable items. Use when the user asks to check PR feedback, see reviewer comments, or address PR review.

Kevin-Liu-01/Agent-Machines · 57 tokens