pr-author

pr-author is a skill for Claude Code, Codex from AcKeskin/contexture. It costs 80 tokens per session (1,562 once invoked), scanned A, original, MIT.

A drafting assistant for GitHub pull-request titles and descriptions, including a summary, test plan, and closing line.

In plain words
What is it for?
It helps prepare the exact title, body, and gh command needed after a change is ready for review.
Why use it?
It gives pull requests a consistent structure without automatically submitting them to GitHub.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps prepare the exact title, body, and gh command needed after a change is ready for review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ackeskin/contexture/pr-author
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 AcKeskin/contexture --skill pr-author
Clone the repo
git clone --depth 1 https://github.com/AcKeskin/contexture

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-author

README.md
[![agentmods](https://agentmods.dev/badge/skills/ackeskin/contexture/pr-author.svg)](https://agentmods.dev/skills/ackeskin/contexture/pr-author)
Your own site
<a href="https://agentmods.dev/skills/ackeskin/contexture/pr-author"><img src="https://agentmods.dev/badge/skills/ackeskin/contexture/pr-author.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,562 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.00080 $0.01562
Opus 5 $0.00040 $0.00781
Sonnet 5 $0.00016 $0.00312
Haiku 4.5 $0.00008 $0.00156

Measured 3d ago against content hash 72b7f03e5f27, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

pr-author 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 3d 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/pr-author/SKILL.md · 95 lines

How it starts

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

pr-author

Reviewee-side PR drafting. The second of the GitHub reviewee triad; siblings are pre-push and pr-triage.

PR title and body get composed in-place each time with varying quality — title length, summary structure, test plan, base branch all improvised. This skill drafts them to a contract, shows you the draft, and hands you a ready-to-run command. It does not open the PR itself.

No Claude-initiated GitHub writes (triad-wide boundary — see pre-push). This skill drafts the PR and produces the exact gh pr create command for the user to run. Claude never executes gh pr create. Read-only gh / git calls (resolving base, listing commits) run freely.

Auto-fires via this description, not a hook (per skill-auto-fire).

When to run

Auto-fire when:

  • About to run gh pr create (any form) — intercept and draft first.
  • Just after a successful first push (git push -u origin <branch>) to a non-default branch that has no open PR (the pre-push handoff moment).
  • The user says "open a PR", "create the pull request", "let's PR this", or equivalent.

Skip when:

  • The user says "draft only, don't post" — still draft the title/body and surface it, but don't produce the run-it prompt; just hand over the text.
  • The current branch is the default branch (nothing to PR from).

Manual trigger: /pr-author.

Procedure

1. Resolve PR context

All read-only:

  • Branchgit rev-parse --abbrev-ref HEAD.
  • Base branchgit symbolic-ref refs/remotes/origin/HEAD (strip refs/remotes/origin/); fall back to mainmastertrunk by checking which exists on the remote.
  • Fork casegh repo view --json parent. If the repo has a parent (the user is contributing via a fork), the base is upstream's default branch, not origin's. Adjust and note it in the draft.
  • Commits in rangegit log <base>..HEAD --oneline.
  • Diff statsgit diff --stat <base>..HEAD.
  • Linked issues — scan commit messages in range for #NNN references.

Read the full file on GitHub · 95 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. 3d ago First seen · 95 lines · 80 tokens per session scan A 72b7f03e5f27

Subscribe to this mod's changes

pr-author is a skill published in the GitHub repository AcKeskin/contexture (2 stars, last pushed 1mo ago), licensed MIT. It adds 80 tokens to every session and 1,562 once invoked, about $0.0004 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-09-03.

Related

Other skills, from other repositories

core-workflow

Detailed development workflow patterns, checklists, and standards. Auto-loads for complex tasks, planning, debugging, testing, or when explicit patterns are needed. Contains session protocols, git conventions, security checklists, testing strategy, and communication standards.

travisjneuman/.claude · 53 tokens

debug-systematic

Systematic 4-phase debugging methodology for complex, intermittent, or mysterious issues. Use when investigating bugs, race conditions, or unexplained failures.

travisjneuman/.claude · 33 tokens

auto-claude

Autonomous multi-agent coding with git worktree isolation, QA validation, and memory. Use for complex features requiring autonomous implementation.

travisjneuman/.claude · 30 tokens

OCR Review-to-Approval Loop

Drive a PR to an approved code review by looping OCR's multi-agent review and address steps. Runs /ocr:review then /ocr:address repeatedly until the review verdict is APPROVE, then one final /ocr:address for leftover suggestions, posting every review and every address round to the GitHub PR as comments. Use when the…

spencermarx/open-code-review · 178 tokens

audit-pr

Audit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the current review-change REVIEW-PASS receipt instead of re-running review axes; posts a SHA-bound ready comment; never edits or merges. Triggers: "audit-pr", "is this PR ready", "merge gate".

gtrabanco/agentic-workflow · 71 tokens

resolve-repository-state

Resolve an explicit Normalized Repository State contradiction. This is the sole writer allowed to update frozen repository facts or accepted decisions. Triggers: "resolve repository state", "resolve contradiction", "update a frozen repository fact".

gtrabanco/agentic-workflow · 48 tokens