Agent skill

Create PRs

by fastrepl in fastrepl/anarlog

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

MITAuto-check passedDevelopment

Install Create PRs

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

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

GitHub CLI
$ gh skill install fastrepl/anarlog create-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/create-prs .claude/skills/create-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
create-prs
GitHub stars
9.5k
Token cost
~1.2k tokens
SKILL.md length
624 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 to map applied… → Verify each branch against live forge… → Inspect each missing branch's complete… → …
  • Publish workspace PRs that do not exist yet
  • SKILL.md covers Applicability, Discover missing PRs and Create and verify
  • Calls git and gh

What it does

Create PRs is an agent skill from fastrepl/anarlog. Use only in the Anarlog repository when the active checkout branch is exactly gitbutler/workspace. Create missing pull requests for branches in the current GitButler workspace, preserving stack bases and skipping existing PRs. Use when asked to open or publish workspace PRs that do not exist yet.

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

It sits in Development, covering Pull requests. The repository describes itself as: Open source Granola AI Alternative. The licence is MIT.

When your agent uses it

  • Publish workspace PRs that do not exist yet
  • Tasks that involve Pull requests

Example prompts

  • “/create-prs”

Workflow steps

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

  1. Read but status --json to map applied branches, their commits, existing
  2. Verify each branch against live forge state using the exact head repository
  3. Inspect each missing branch's complete changes relative to its intended PR
  4. Check the actual push destinations with but push --dry-run

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
    • gh

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

  • Network

    No URLs in SKILL.md. Its commands use git and gh, 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

Create PRs loads about 1.2k tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 624 words of instructions outside code blocks.

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

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). 624 words, ~1,182 tokens.

Download SKILL.mdSave it as .claude/skills/create-prs/SKILL.md (or your agent's skills folder).
name
create-prs
description
Use only in the Anarlog repository when the active checkout branch is exactly gitbutler/workspace. Create missing pull requests for branches in the current GitButler workspace, preserving stack bases and skipping existing PRs. Use when asked to open or publish workspace PRs that do not exist yet.

Create missing GitButler PRs

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 create missing PRs for branches 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 for version control and stack-aware PR creation, and the repository's preferred authenticated forge tools for reads. Derive the repository, push remote, and target from the current workspace.

Invoking this workflow authorizes creating missing PRs and the in-scope pushes that creation requires. Creating this skill alone does not run that workflow. Do not merge PRs, enable auto-merge, or publish unrelated work.

Discover missing PRs

  1. Read but status --json to map applied branches, their commits, existing review IDs, and dependencies from base to tip. Scope defaults to all applied branches; honor a narrower user selection. Exclude trunk, workspace/internal refs, empty branches, and branches already merged upstream.
  2. Verify each branch against live forge state using the exact head repository and full head branch name. A cached review ID is only a lead. Include drafts as existing PRs and paginate results. Skip branches with an open matching PR. Investigate a closed/merged PR before treating the branch as new work; do not automatically reopen it or publish already-landed commits. Report ambiguous matches instead of guessing.
  3. Inspect each missing branch's complete changes relative to its intended PR base with but show / but diff, including all commits. For a stacked PR, describe that branch's contribution and dependency rather than repeating ancestors' changes. Preserve unrelated uncommitted changes; do not commit everything merely to publish PRs.
  4. Check the actual push destinations with but push <branch-name> --dry-run where publishing could include ancestors or unfamiliar tracking. Never push a feature branch into trunk. If creation would publish unrelated ancestor work or rewrite shared history without authorization, finish independent PRs and report the specific blocked branch. Keep hooks and push protections on.
Show full SKILL.md (248 more words)Show less

Create and verify

  • Work from base toward tip. Recheck for an open matching PR immediately before each creation to make reruns safe. If none are missing, report that and stop.

  • Prepare the title and description from the full branch diff, repository PR template, and verified validation. Lead with the problem and resulting behavior; include material limitations and existing issue links. Keep it succinct, without agent attribution or unsupported test/shipping claims.

  • Write a temporary UTF-8 message file outside the repo: first line is the title, then a blank line and the body. Use:

    sh
    but pr new <full-branch-name> -F <message-file>

    This already pushes the branch and its ancestors. Do not push separately or use gh pr create, which loses GitButler's stack base/metadata handling. Add --draft when requested or the work is knowingly incomplete; preserve the state of existing PRs. Prefer individual creation in base order when every new PR needs its own accurate description. Whole-stack -t creation gives ancestors default messages and needs a subsequent metadata pass.

  • Inspect creation output for partial success. On an error or uncertain result, re-query matching PRs and remote heads before retrying. A stack-sync warning can follow a successful creation; repair/report that gap rather than create a duplicate.

  • Verify each created PR's URL, open state, published head, base and stack relationship through the forge. Attach every created PR using mcp__codex_app__attach_artifact when available.

Report created PR links, existing PRs skipped, and any blocked branches. PR creation does not establish green CI, approval, merge, or deployment.

© 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/create-prs of fastrepl/anarlog.

Open the folder on GitHubat commit 385e117

Compare with similar skills

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

Create PRs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create PRs this skillfastrepl/anarlog9.5k—~1.2kAutomated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT

Similar skills

  • 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
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k 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
  • 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
  • Sqlite Schema Design

    fastrepl/anarlog

    Design or review schemas for crates/cloudsync using SQLite Sync constraints, not generic SQLite advice.

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

Categories

Questions about Create PRs

What does Create PRs do?

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

When should I use Create PRs?

Create PRs fits situations like: publish workspace PRs that do not exist yet; tasks that involve Pull requests.

How do I install Create PRs in Claude Code?

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

How do I install Create PRs in Codex?

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

Can I use Create 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 create-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/create-prs, .gemini/skills/create-prs, .github/skills/create-prs and .opencode/skills/create-prs in your project.

What does Create PRs need to run?

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

Does Create PRs access the network?

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

Is Create 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 Create PRs use?

Create 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 Create PRs use?

About 1.2k tokens (SKILL.md is roughly 4.7k 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 Create PRs?

Skills that share tags, products or a category with Create PRs: Finishing a Development Branch (obra/superpowers, 296k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create 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.