Agent skill

Update PRs

by fastrepl in fastrepl/anarlog

Use only in the Anarlog repository when the active checkout branch is exactly gitbutler/workspace.

MITAuto-check passed

Install Update PRs

skills CLI
$ npx skills add fastrepl/anarlog --skill update-prs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install fastrepl/anarlog update-prs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/fastrepl/anarlog.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/update-prs .claude/skills/update-prs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
update-prs
GitHub stars
9.5k
Token cost
~1.3k tokens
SKILL.md length
672 words
Files
1
Skills in repo
32
Repo updated
First seen
Licence
MIT

At a glance

Use only in the Anarlog repository when the active checkout branch is exactly gitbutler/workspace.

  • Works in 4 steps: Read but status --json and map applied… → For each PR, retrieve its current… → Read all changed areas and relevant… → …
  • SKILL.md covers Applicability, Read the complete changes and Rewrite and save
  • Calls git

What it does

Update PRs is an agent skill from fastrepl/anarlog. Use only in the Anarlog repository when the active checkout branch is exactly gitbutler/workspace. Update titles and descriptions of all active PRs in the current GitButler workspace from each PR's complete published diff, including follow-up fixes, while preserving GitButler stack metadata and repository templates.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Open source Granola AI Alternative. The licence is MIT.

Example prompts

  • “/update-prs”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Read but status --json and map applied branches to live open PRs by exact
  2. For each PR, retrieve its current title/body, base/head refs and SHAs,
  3. Read all changed areas and relevant review fixes to understand the final
  4. Use published changes as the source of truth. Local-only fixes are not yet

What it can do on your machine

Read from SKILL.md and the folder at commit 385e117. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Update PRs loads about 1.3k tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 672 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from fastrepl/anarlog at commit 385e117, republished under its MIT licence (© fastrepl). 672 words, ~1,274 tokens.

Download SKILL.mdSave it as .claude/skills/update-prs/SKILL.md (or your agent's skills folder).
name
update-prs
description
Use only in the Anarlog repository when the active checkout branch is exactly gitbutler/workspace. Update titles and descriptions of all active PRs in the current GitButler workspace from each PR's complete published diff, including follow-up fixes, while preserving GitButler stack metadata and repository templates.

Update workspace PR titles and descriptions

Applicability

Use only in the Anarlog repository or its checkouts/worktrees when the active checkout branch is exactly gitbutler/workspace. Before running this workflow, check with git symbolic-ref --quiet --short HEAD (a read-only branch check). On any other branch or detached HEAD, skip this skill and use the normal Git workflow. Do not initialize GitButler or switch branches to activate the skill. Use this checkout's skills, not a global copy or another checkout's skills.

Use this skill when asked to refresh active PR titles and descriptions in the Anarlog GitButler workspace.

Read the repository-local but skill and the active repository's AGENTS.md and workflow skill when present. Use but to inspect workspace branches and stack relationships, and the repository's preferred authenticated forge tools for PR metadata. Derive the repository from the current workspace.

Invoking this workflow authorizes editing titles and descriptions of scoped PRs. Creating the skill alone does not execute it. Do not publish commits, create or merge PRs, change bases/draft state, or modify reviewers, labels or milestones.

Read the complete changes

  1. Read but status --json and map applied branches to live open PRs by exact head repository and full branch name, including drafts. Exclude unrelated repository PRs and closed/merged PRs. Honor a narrower user selection and report ambiguous mappings rather than editing a guessed PR.
  2. For each PR, retrieve its current title/body, base/head refs and SHAs, complete commit list and full base-to-head diff. Paginate files and commits; detect omitted/truncated patches and inspect those files through authenticated repository contents or available but inspection. Use the PR's actual base, which may be an earlier stack branch, not the workspace's combined diff.
  3. Read all changed areas and relevant review fixes to understand the final implementation. Cover the entire PR, not just its latest commit, original description, or this chat's edits. In stacked PRs, describe the incremental contribution and material dependencies without claiming ancestors' work.
  4. Use published changes as the source of truth. Local-only fixes are not yet part of the PR; report that gap instead of describing them as shipped or pushing them during a metadata-only task. Record validation evidence with its SHA. Old CI or local workspace tests do not prove the current PR passed.
Show full SKILL.md (300 more words)Show less

Rewrite and save

  • Write a concise title naming the final change's intent. Lead the description with the concrete problem and resulting behavior. Explain notable decisions, relevant validation, and material risks/limitations in proportion to the PR. Use a before/after example when it makes behavior clearer.
  • Rewrite around the complete final implementation, removing stale scope and superseded claims. Omit conversational history, abandoned approaches and a commit-by-commit diary. Do not add agent attribution or imply merge/deployment.
  • Preserve the repository template's required sections, useful issue links, checklists, and unrelated reviewer notes. Update a checklist only with evidence. Preserve GitButler-generated stack footers/markers verbatim and retain native stack metadata; do not replace the body wholesale with prose that loses those relationships.
  • Prepare all requested updates before writing. Immediately before each edit, re-read state, head/base SHAs and body. If the PR closed, skip it; if its code or body changed concurrently, recompute the description and preserve the new content. Skip already-accurate titles/descriptions so reruns avoid churn.
  • Use a supported GitButler metadata command if the installed version provides one. Otherwise use the authenticated forge's PR edit API or CLI for title/body only; version-control writes still belong to but. For a CLI body, use a temporary UTF-8 file outside the repo and --body-file, with proper shell quoting for the title/path. Prefer structured API arguments to shell interpolation. Do not invent but pr edit flags.
  • Re-read each edited PR to confirm exact title/body, preserved stack text and unchanged base/head. If code changed during the write, refresh the summary from that head before declaring it current. On an uncertain write result, inspect the saved metadata before retrying. Attach updated PRs through mcp__codex_app__attach_artifact when available.

Report updated PR links, unchanged PRs skipped, and any incomplete coverage or unpublished changes. This workflow requires no source commit unless separately requested source edits were made.

© fastrepl, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/update-prs of fastrepl/anarlog.

Open the folder on GitHubat commit 385e117

Compare with similar skills

Update PRs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Update PRs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Update PRs this skillfastrepl/anarlog9.5k—~1.3kAutomated safety check: PassMIT
Checkoutremotion-dev/remotion62k—~166Automated safety check: PassCustom licence
Shepherd PRsflutter/flutter179k—~1.7kAutomated safety check: PassBSD-3-Clause
Summarize Activityalpinejs/alpine32k—~1.6kAutomated safety check: NotesMIT
Branchesredis/RedisInsight8.9k—~409Automated safety check: PassCustom licence
Conventional Branchgithub/awesome-copilot40k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Checkout

    remotion-dev/remotion

    Official

    Checkout a requested branch or ref in the Remotion repo, rename the current task to the associated PR title when running in Codex, then install dependencies and build.

    62k GitHub stars~166 tokensUpdated today
    Media & CreativeAuto-check passed
  • Shepherd PRs

    flutter/flutter

    Automate shepherding, checking status, updating branches, and landing open PRs or approved third-party contributor PRs in the flutter/flutter repository using the gh CLI.

    179k GitHub stars~1.7k tokensUpdated today
    MobileAuto-check passed
  • Summarize Activity

    alpinejs/alpine

    Summarize recent GitHub activity — discussions, PRs, issues, events, traffic — into an actionable report so you can stay on top of the project without reading everything.

    32k GitHub stars~1.6k tokensUpdated 2 days ago
    Backend & APIsAuto-check: notes
  • Branches

    redis/RedisInsight

    Official

    Create and name git branches following project conventions. An agent skill from redis/RedisInsight.

    8.9k GitHub stars~409 tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Conventional Branch

    github/awesome-copilot

    Official

    Create Git branches following the Conventional Branch specification (feature/, bugfix/, hotfix/, release/, chore/).

    40k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed

More from fastrepl/anarlog

All 32 skills in this repo
  • But

    fastrepl/anarlog

    Use only in the Anarlog repository when the active checkout branch is exactly gitbutler/workspace.

    9.5k GitHub stars~5.8k tokensUpdated today
    Auto-check passed
  • Create PRs

    fastrepl/anarlog

    Use only in the Anarlog repository when the active checkout branch is exactly gitbutler/workspace.

    9.5k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Fix Ready PRs

    fastrepl/anarlog

    Inspect every open non-draft PR for CI failures and unresolved Cursor Bugbot findings, then fix them on the existing PR branches.

    9.5k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • No Use Effect

    fastrepl/anarlog

    Avoid direct React useEffect usage when writing or reviewing React components and hooks.

    9.5k GitHub stars~825 tokensUpdated today
    Auto-check passed
  • QA Critical UX

    fastrepl/anarlog

    QA Anarlog's critical Pro user journey on a signed staging candidate — onboarding, responsive launch, microphone and system-audio capture, automated summaries, and cloud sync.

    9.5k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Reactive Sqlite UI

    fastrepl/anarlog

    Build SQLite-backed reactive UI in apps/desktop using stable patterns for reads, selection, forms, writes, and loading states.

    9.5k GitHub stars~699 tokensUpdated today
    Auto-check passed

Questions about Update PRs

What does Update PRs do?

Use only in the Anarlog repository when the active checkout branch is exactly gitbutler/workspace. Update PRs is an agent skill from fastrepl/anarlog. Use only in the Anarlog repository when the active checkout branch is exactly gitbutler/workspace.

How do I install Update PRs in Claude Code?

Run `npx skills add fastrepl/anarlog --skill update-prs -a claude-code`. Or copy the skill folder (.agents/skills/update-prs in fastrepl/anarlog) into .claude/skills/update-prs in your project. Claude Code loads it when a task matches its description.

How do I install Update PRs in Codex?

Run `npx skills add fastrepl/anarlog --skill update-prs -a codex`. Or copy the skill folder (.agents/skills/update-prs in fastrepl/anarlog) into .agents/skills/update-prs in your project. Codex loads it when a task matches its description.

Can I use Update PRs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fastrepl/anarlog --skill update-prs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/update-prs, .gemini/skills/update-prs, .github/skills/update-prs and .opencode/skills/update-prs in your project.

What does Update PRs need to run?

Going by SKILL.md and its folder, Update PRs needs the command-line tools its instructions call (git).

Does Update PRs access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Update PRs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Update PRs use?

Update PRs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Update PRs use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Update PRs?

Skills that share tags, products or a category with Update PRs: Checkout (remotion-dev/remotion, 62k stars), Shepherd PRs (flutter/flutter, 179k stars), Summarize Activity (alpinejs/alpine, 32k stars) and Branches (redis/RedisInsight, 8.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Update PRs?

fastrepl (a GitHub organization) maintains it in fastrepl/anarlog, which has 9,452 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 8, 2026.

Source: fastrepl/anarlog on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.