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.
npx skills add qte77/claude-code-plugins --skill creating-pr-from-branchgit clone --depth 1 https://github.com/qte77/claude-code-pluginsWrote 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.
[](https://agentmods.dev/skills/qte77/claude-code-plugins/creating-pr-from-branch)<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/creating-pr-from-branch"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/creating-pr-from-branch/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.
<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/creating-pr-from-branch"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/creating-pr-from-branch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.00794 |
| Opus 5.5 | $0.00017 | $0.00318 |
| Sonnet 5.5 | $0.00009 | $0.00159 |
| Haiku 4.5 | $0.00004 | $0.00079 |
Grade A, and why
creating-pr-from-branch 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create PR from Current Branch
Base branch: $ARGUMENTS (default: main)
Step 1: Analyze Branch
Run using the Bash tool:
git branch --show-current— current branch namegit log --oneline <base>..HEAD— commits to includegit diff --stat <base>..HEAD— overall diff statsgit remote -v— verify remote exists
If no commits ahead of base, stop and inform the user.
Step 2: Generate PR Title and Body
Title: Derive from commits using conventional commit format.
- Single commit: use commit subject as-is
- Multiple commits: synthesize a summary title (
type[(scope)]: description) - Keep under 72 characters
Body: Use the first PR template found, then populate its sections:
-
Local repo —
pull_request_template.md(any case) in.github/, the repo root, ordocs/; or a file in.github/PULL_REQUEST_TEMPLATE/(ask which one if several). -
Owner-level default — the
<owner>/.githubrepo. GitHub applies it only in the web UI, never togh pr create --body, so fetch it explicitly. The contents API is case-sensitive: try both spellings, and skip on 404 (no repo or no file):OWNER=$(gh repo view --json owner --jq .owner.login) for f in PULL_REQUEST_TEMPLATE.md pull_request_template.md; do t=$(gh api "repos/$OWNER/.github/contents/.github/$f" --jq .content 2>/dev/null) \ && { printf '%s' "$t" | base64 -d; break; } done -
Last resort — this minimal format:
## Summary
<1-3 bullet points describing what and why>
## Commits
<list commits from git log>
Body guidelines:
- Fill template checkboxes where applicable (check items that are done)
- Include
Closes #Nif the branch name contains an issue number - Keep it concise — the diff speaks for itself
Step 3: Pause for Approval
Present the title and body. Ask the user:
- Approve: "yes", "y", "create", "go ahead"
- Edit: Provide changes to title or body
- Cancel: "no", "cancel", "stop"
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.
- 8d ago Changed 9b98afe8cb70
- 2mo ago Changed · +2 lines 287e5979c979
- 2mo ago Changed · +15 lines b23dd371f1d7
- 3mo ago First seen · 84 lines · 43 tokens per session scan A 2e1f94760201
creating-pr-from-branch is a skill published in the GitHub repository qte77/claude-code-plugins (3 stars, last pushed today), licensed Apache-2.0. It adds 43 tokens to every session and 794 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.
creating-pr-from-branch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| creating-pr-from-branchqte77/claude-code-plugins | Skill | 3 | today | Apache-2.0 | A | 43 | Claude Code |
| github-cliand3r817/dot-claude-plugins | Skill | 2 | 2mo ago | MIT | A | 52 | Claude Code |
| release-notesphuryn/pm-skills | Skill | 28k | 22d ago | MIT | A | 57 | Claude Code |
| glabNikiforovAll/claude-code-rules | Skill | 143 | 28d ago | Apache-2.0 | A | 59 | Claude Code |
| version-bumpNikiforovAll/claude-code-rules | Skill | 143 | 28d ago | Apache-2.0 | A | 48 | Claude Code |
| workflowclaude-world/director-mode-lite | Skill | 80 | 1mo ago | MIT | A | 52 | Claude Code |
| smart-commitclaude-world/director-mode-lite | Skill | 80 | 1mo ago | MIT | A | 49 | Claude Code |