grackle: Skill for Claude Code

.claude/skills/create-pr/SKILL.md

create-pr is a skill for Claude Code from nick-pape/grackle. It costs 30 tokens per session (1,041 once invoked), scanned A, original, MIT.

A pull-request creation workflow that syncs the current branch, checks the build, creates Rush change files when needed, captures screenshots for visual changes, and opens a GitHub pull request linked to an issue. Rush is a tool for managing projects in a shared code repository.

In plain words
What is it for?
Use it to turn the current branch into a reviewable pull request, including issue references, build verification, Rush change files, and screenshots when the change affects the interface.
Why use it?
It collects the repository's required PR checks and supporting files in one process. This reduces missed issue links, change records, screenshots, or branch checks.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is nick-pape/grackle's own configuration. It tells Claude Code how to work on grackle 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 grackle configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nick-pape/grackle. 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/nick-pape/grackle/main/.claude/skills/create-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nick-pape/grackle

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 create-pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nick-pape/grackle/create-pr"><img src="https://agentmods.dev/badge/skills/nick-pape/grackle/create-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,041 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.00030 $0.01041
Opus 5.5 $0.00012 $0.00416
Sonnet 5.5 $0.00006 $0.00208
Haiku 4.5 $0.00003 $0.00104

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

Security

Grade A, and why

create-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 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.

.claude/skills/create-pr/SKILL.md · 125 lines

How it starts

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

Create PR — Pull Request Creation Workflow

This skill creates a pull request for the current branch: syncs with main, builds, generates Rush change files if needed, captures screenshots for visual changes, and opens the PR with proper issue linking.

Step 0: Detect Context

Determine the issue number using this priority:

  1. If an argument was provided, use it as ISSUE_NUMBER
  2. Otherwise, extract from the branch name (pattern: <user>/<issue>-<feature>, e.g., nick-pape/149-agent-subtask-creation → ISSUE_NUMBER=149)
  3. If neither yields a number, set ISSUE_NUMBER="" (no issue linked — the PR will be created without a Closes reference)

Set variables for subsequent steps:

OWNER=$(gh repo view --json owner --jq '.owner.login')
REPO=$(gh repo view --json name --jq '.name')
BRANCH=$(git branch --show-current)

If ISSUE_NUMBER is set, fetch the issue title for use in the PR title:

gh issue view $ISSUE_NUMBER --json title --jq '.title'

Step 1: Verify Branch State

  1. Ensure not on main — if on main, tell the user to create a feature branch and stop
  2. Check for uncommitted changes (git status --porcelain) — if any, ask the user whether to commit or stash them
  3. Check for unpushed commits (git log @{u}..HEAD or if no upstream, note that push is needed)
  4. Check if a PR already exists for this branch:
    gh pr view --json number,url 2>/dev/null
    
    If a PR already exists, report its URL and stop. Suggest using /pr-fixup instead.

Step 2: Sync with Main

git fetch origin
git merge origin/main

If merge conflicts arise:

  1. List conflicted files with git diff --name-only --diff-filter=U
  2. Read each conflicted file and resolve the conflicts intelligently
  3. Stage the resolved files and commit the merge

Step 3: Build Verification

rush build

If the build fails, fix the errors, commit the fixes, and re-run. Only proceed once the build succeeds.

Step 4: Generate Change Files (if needed)

Read the full file on GitHub · 125 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. 1mo ago First seen · 125 lines · 30 tokens per session scan A 2f8031104e83

Subscribe to this mod's changes

create-pr is a skill published in the GitHub repository nick-pape/grackle (22 stars, last pushed 4mo ago), licensed MIT. It adds 30 tokens to every session and 1,041 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-30.

Related

Other skills, from other repositories

configure-coddy

Change Coddy's own configuration when the user asks for it: edit settings, providers, models, logging, permissions, or find, install, update, and remove MCP servers and skills. Stages UCI-style commands for config.yaml and commits only after the user confirms saving; MCP servers are entries of the mcp.json files. Load…

coddy-project/coddy-agent · 120 tokens

crossreview

Run when the user invokes /crossreview (or /crossreview:setup to choose the reviewers) or asks for a cross-review, a quorum review or a second opinion from other agents or models: fan a code review (uncommitted work, a branch, a commit range, files, a plan or a document) out to several console code agents (Claude…

coddy-project/coddy-agent · 204 tokens

vhs-e2e-gif

Record a test run, a TUI session, or any terminal command as a GIF with VHS and attach it to a GitHub PR as a release-hosted asset, never a repo commit. Use when asked to record an e2e run, demo a fix on a PR, attach a GIF or screen recording to a pull request, show a test passing visually, or produce a terminal…

dimetron/pi-go · 106 tokens

check-linters-before-commit

Before any commit, run linters, vet, tests, and build verification; do not commit until checks pass.

dimetron/pi-go · 30 tokens

rpa-init

Run when the user invokes /rpa-init or asks to onboard or warm up context on a repository. The agent studies code, reads documentation and test code, sets up the dev environment as the project expects, runs tests, and writes a short project report. No extra user brief is required.

coddy-project/coddy-agent · 63 tokens

rpa-gen-rules

Use when the user invokes /rpa-gen-rules or asks to create, refresh, audit, or synchronize project instructions such as root AGENTS.md, Cursor .cursor/rules, or Claude Code .claude/rules, especially when existing rule trees have drifted.

coddy-project/coddy-agent · 61 tokens