update-pr

update-pr is a skill for Claude Code, Codex from frostney/GocciaScript. It costs 45 tokens per session (454 once invoked), scanned A, original, MIT.

A workflow for updating an existing pull request, which is a proposed code change submitted for review.

In plain words
What is it for?
Use it to run the project's checks, commit relevant changes, merge an updated base when needed, push the branch, and refresh pull-request metadata.
Why use it?
It keeps the branch, commits, checks, pull-request details, and remote base branch aligned while limiting changes to the relevant work.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/frostney/gocciascript/update-pr
Any agent
npx skills add frostney/GocciaScript --skill update-pr
Clone the repo
git clone --depth 1 https://github.com/frostney/GocciaScript

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/frostney/gocciascript/update-pr.svg)](https://agentmods.dev/skills/frostney/gocciascript/update-pr)
Your own site
<a href="https://agentmods.dev/skills/frostney/gocciascript/update-pr"><img src="https://agentmods.dev/badge/skills/frostney/gocciascript/update-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 454 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00045 $0.00454
Opus 5 $0.00023 $0.00227
Sonnet 5 $0.00009 $0.00091
Haiku 4.5 $0.00005 $0.00045

Measured 3d ago against content hash 744821922f34, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

.agents/skills/update-pr/SKILL.md · 43 lines

What it actually says

Update PR

The request authorizes the repository's declared PR gate, relevant commits, a plain push to the current PR branch, and metadata reconciliation. It does not authorize unrelated changes.

When the current PR belongs to a native GitHub stack, read ../git-workflow/references/github-stacks.md.

  1. Inspect repository state, recent commits, the remote default branch, and the current PR.
  2. Stop if on the base branch or no open PR exists; report the required next workflow.
  3. When an ordinary branch is behind the remote base, merge it into the branch. For a verified native stack, capture remote heads and use the guarded gh stack sync or narrower official stack operation; never use raw rebase or force-push commands.
  4. Run the repository's declared PR gate unless it already passed on the unchanged current diff.
  5. Stage only relevant files and commit them with a concise Conventional Commit subject. Never amend and never skip hooks.
  6. Push an ordinary branch normally, setting upstream when needed. Push a verified stack only through the guarded official stack workflow.
  7. Reconcile the PR title and body with the current commits, scope, linked issues, and observed verification. Keep the title a Conventional Commit subject for the whole change; the squash merge makes it the commit subject on the base branch, so widened scope may also change its type. Preserve the project template or existing body structure and omit filler or repeated summaries.
  8. Report the commit, branch, PR URL, native stack position when applicable, metadata changes, rewritten stack branches if any, and observed validation.
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 · 43 lines · 45 tokens per session scan A 744821922f34

Subscribe to this mod's changes

update-pr is a skill published in the GitHub repository frostney/GocciaScript (20 stars, last pushed 7d ago), licensed MIT. It adds 45 tokens to every session and 454 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

git-step-commit

Analyze Git changes, split them into coherent commits, infer message language and format, optionally close supplied GitHub issues, and execute safely. Manage persistent global or repository preferences for review versus direct submission and automatic or specified commit-message language through native Git config.…

bosens-China/tc39-atlas · 134 tokens

git-workflow

Applies the user's git defaults: branch from the remote default, merge rather than rebase, never amend or force-push, and squash-merge pull requests. Use when branching, syncing, committing, pushing, or merging in the user's repos.

frostney/pascal-mcp-sdk · 54 tokens

submit-pr-from-current-changes

Create a branch, commit existing local changes, push them, and open a pull request. Use when submitting current work as a PR.

alibaba/page-agent · 34 tokens

commit

Create a git commit with optional automatic Linear issue linking. Use when the user asks to commit.

dinerojs/dinero.js · 21 tokens

session-wrapup

End-of-session checkpoint — append diary, update active sprint doc with interim results/retro, write tech-lead handoff, commit and push. Use before /compact or at end-of-day. Distinct from sprint-wrap-up which closes a sprint.

loopdive/js2 · 54 tokens

qcad

Use when editing DXF files with a professional open-source 2D CAD application — CAM output, part libraries, isometric projection. QCAD: open-source 2D CAD with DXF as native format, scriptable via ECMAScript.

znlgis/opengis-skills · 53 tokens