butgo-specdrive-lab: Skill for Codex

.agents/skills/github-pr/SKILL.md

github-pr is a skill for Codex from butgo/butgo-specdrive-lab. It costs 24 tokens per session (610 once invoked), scanned A, original, MIT.

A workflow for preparing a GitHub pull request, which is a proposed code change for others to review. It checks the repository and branch before drafting the request.

In plain words
What is it for?
Use it to inspect GitHub and Git status, choose a base branch, check readiness, and prepare a pull-request title and description.
Why use it?
It helps catch common problems before a pull request is opened, such as using the wrong branch, unpushed commits, uncommitted work, or an existing request.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); $skill-name invocation.

This is butgo/butgo-specdrive-lab's own configuration. It tells Codex how to work on butgo-specdrive-lab 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 butgo-specdrive-lab configures →

Reuse

Borrowing it

Nothing to install: this file belongs to butgo/butgo-specdrive-lab. 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/butgo/butgo-specdrive-lab/main/.agents/skills/github-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/butgo/butgo-specdrive-lab

Made for: 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 github-pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/butgo/butgo-specdrive-lab/github-pr"><img src="https://agentmods.dev/badge/skills/butgo/butgo-specdrive-lab/github-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 610 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.00024 $0.00610
Opus 5.5 $0.00010 $0.00244
Sonnet 5.5 $0.00005 $0.00122
Haiku 4.5 $0.00002 $0.00061

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

Security

Grade A, and why

github-pr 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 2mo 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/github-pr/SKILL.md · 99 lines

How it starts

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

GitHub PR

Use this skill to prepare and optionally create a GitHub pull request safely.

Preferred argument-based invocation:

$git pr

Read First

Run read-only checks first:

  1. GitHub remote repository
  2. current branch
  3. git status --short
  4. whether the current branch is the base branch
  5. whether commits are pushed
  6. GitHub CLI authentication status
  7. existing PR for the current branch
  8. likely base branch
  9. recent commits and relevant diff

Prefer gh for GitHub state when available.

Stop Conditions

Stop and ask the user what to do if:

  • the current branch appears to be the base branch
  • there are uncommitted changes that should be committed first
  • commits are not pushed
  • gh auth status fails
  • an existing PR already exists for the branch
  • the base branch is ambiguous

Output Before Execution

Reply with:

  1. remote repository
  2. head branch
  3. base branch recommendation
  4. local status summary
  5. push / commit readiness
  6. existing PR status
  7. PR title candidates
  8. PR body draft
  9. approval prompt

Keep the output concise. Draft the PR title in English unless the repository convention says otherwise. Draft the PR body in Korean when the current project workflow is Korean.

Include a copyable approval sentence in the approval prompt. Use this shape and fill in the recommended base, head, and title:

승인. base <base-branch>, head <head-branch>, title은 "<pr-title>" 로 PR 생성해줘.

Approval Gate

Do not run gh pr create until the user explicitly approves the PR title, body, base branch, and head branch.

Before execution, show the exact gh pr create command or an equivalent summary.

Execution

After approval:

  1. Run gh pr create with the approved base/head/title/body.
  2. Confirm the generated PR URL.
  3. Report the result briefly.
  4. Include a merge guidance note for the user.

Use this shape for the merge guidance:

머지는 GitHub PR 화면에서 직접 확인 후 진행해줘.

1. PR 페이지를 연다: <pr-url>
2. 변경 파일과 설명을 확인한다.
3. 문제가 없으면 GitHub에서 Merge pull request 를 누른다.
4. 필요하면 merge 후 원격 브랜치를 삭제한다.

Read the full file on GitHub · 99 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 99 lines · 24 tokens per session scan A 8c6ca427644f

Subscribe to this mod's changes

github-pr is a skill published in the GitHub repository butgo/butgo-specdrive-lab (1 stars, last pushed 6mo ago), licensed MIT. It adds 24 tokens to every session and 610 once invoked, about $0.0001 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

github-pr compared with skills from other repositories

github-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-prbutgo/butgo-specdrive-labSkill16mo agoMITA24Codex
static-site-release-verificationsuryast/free-ai-agent-skillsSkill214d agoMITA44Claude Code, Codex
git-guardiansuryast/free-ai-agent-skillsSkill214d agoMITB62Claude Code, Codex
release-noteskangminhyuk1111/agentsSkill29mo agononeA43Claude Code, Codex
gitasgeirtj/system_prompts_leaksSkill71k2d agoCC0-1.0A163Claude Code
agent-merge-conflict-arbiterNousResearch/hermes-agentSkill261kyesterdayMITA19Claude Code, Codex
mem0-test-integrationmem0ai/mem0Skill68k2d agoApache-2.0A207Claude Code, Codex