Agent skill

PR Create

by strands-agents in strands-agents/harness-sdk

Creates a GitHub pull request using the gh CLI. An agent skill from strands-agents/harness-sdk.

Apache-2.0Auto-check passedDevelopment

Install PR Create

skills CLI
$ npx skills add strands-agents/harness-sdk --skill pr-create -a claude-code

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

GitHub CLI
$ gh skill install strands-agents/harness-sdk pr-create --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/strands-agents/harness-sdk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pr-create .claude/skills/pr-create && 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
pr-create
GitHub stars
8.7k
Token cost
~593 tokens
SKILL.md length
335 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Creates a GitHub pull request using the gh CLI. An agent skill from strands-agents/harness-sdk.

  • Works in 4 steps: Get the PR Description → Pre-flight Checks → Push the Branch (if needed) → …
  • The user asks to create
  • SKILL.md covers Process and Rules
  • Calls npm, gh and cargo

What it does

PR Create is an agent skill from strands-agents/harness-sdk. Creates a GitHub pull request using the gh CLI. Use when the user asks to create, open, or submit a PR on GitHub.

Its SKILL.md is about 590 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. It works with GitHub. The repository describes itself as: Build an agent harness and control it end-to-end. Open-source SDK for production AI agents in Python & TypeScript - any model, any cloud. The licence is Apache-2.0.

When your agent uses it

  • The user asks to create
  • Submit a PR on GitHub

Example prompts

  • “Use the pr-create skill to create a GitHub pull request using the gh CLI. An agent skill from strands-agents/harness-sdk”
  • “/pr-create”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Get the PR Description
  2. Pre-flight Checks
  3. Push the Branch (if needed)
  4. Create the PR

What it can do on your machine

Read from SKILL.md and the folder at commit e519d67. 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:

    • npm
    • gh
    • cargo
    • bash

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

  • Network

    No URLs in SKILL.md. Its commands use npm 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

PR Create loads about 593 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 335 words of instructions outside code blocks.

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

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 strands-agents/harness-sdk at commit e519d67, republished under its Apache-2.0 licence (© strands-agents). 335 words, ~593 tokens.

Download SKILL.mdSave it as .claude/skills/pr-create/SKILL.md (or your agent's skills folder).
name
pr-create
description
Creates a GitHub pull request using the gh CLI. Use when the user asks to create, open, or submit a PR on GitHub.

GitHub PR Create Skill

Process

1. Get the PR Description
  • Check for .local/pr-body.md. If it exists, re-read it fresh and sanity-check that its content matches the current branch's changes (e.g. the description references files, features, or issues consistent with the current diff). If it looks stale or unrelated to the current changes, warn the user and offer to regenerate it.
  • Else if the user already generated a PR description earlier in the conversation, use that.
  • Otherwise, fall back to the pr-writer skill to generate the title and body.
2. Pre-flight Checks

Check for CONTRIBUTING.md (at the repo root or in docs/) and .github/PULL_REQUEST_TEMPLATE.md. Scan them for any recommended steps before opening a PR — common examples:

  • Running a linter or formatter (e.g. npm run lint, cargo fmt)
  • Running tests (e.g. npm test, pytest)
  • Building the project
  • Updating documentation or changelogs

If you find any such steps, list them and ask the user which ones they'd like you to run. Run whichever the user approves. If any step fails, show the output and ask how to proceed before continuing.

If neither file exists or they contain no actionable pre-PR steps, skip this and move on.

To run the local equivalent of the CI merge gate before opening the PR (lint, format, type-check, tests for the areas the change touches), use the pre-push skill — bash .agents/skills/pre-push/run-checks.sh.

3. Push the Branch (if needed)

Check whether the current branch has an upstream tracking branch with all commits pushed. If not, push before creating the PR. If the push fails, show the error and stop.

4. Create the PR

Ensure the final PR body is written to .local/pr-body.md (create .local/ if needed), overwriting any earlier draft. Then create the PR:

bash
gh pr create \
  --title "<title>" \
  --body-file .local/pr-body.md \
  --draft
  • Default to --draft. Only omit it if the user explicitly asks for a non-draft PR.
  • Do NOT pass --repo — let gh infer the upstream from the git remotes so the PR targets the correct upstream repository.

Rules

  • If gh is not authenticated or the command fails, show the error and stop.

© strands-agents, Apache-2.0. 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/pr-create of strands-agents/harness-sdk.

Open the folder on GitHubat commit e519d67

Compare with similar skills

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

PR Create compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PR Create this skillstrands-agents/harness-sdk8.7k—~593Automated safety check: PassApache-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • 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
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed

More from strands-agents/harness-sdk

All 14 skills in this repo
  • Docs Audit

    strands-agents/harness-sdk

    Assess a published or in-progress documentation page for quality, accuracy, and voice compliance.

    8.7k GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Docs Planner

    strands-agents/harness-sdk

    Identify documentation gaps and prioritize the docs backlog.

    8.7k GitHub stars~821 tokensUpdated today
    Auto-check passed
  • Docs Reviewer

    strands-agents/harness-sdk

    Review documentation drafts for voice consistency, structure, and terminology before PR submission.

    8.7k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Docs Writer

    strands-agents/harness-sdk

    Draft or rewrite Strands Agents documentation pages. An agent skill from strands-agents/harness-sdk.

    8.7k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • PR Feedback

    strands-agents/harness-sdk

    Fetches PR review feedback and inline comments, categorizes them, and presents options to the user.

    8.7k GitHub stars~675 tokensUpdated today
    Auto-check passed
  • PR Writer

    strands-agents/harness-sdk

    Generates pull request titles and descriptions. An agent skill from strands-agents/harness-sdk.

    8.7k GitHub stars~2.1k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about PR Create

What does PR Create do?

Creates a GitHub pull request using the gh CLI. An agent skill from strands-agents/harness-sdk. PR Create is an agent skill from strands-agents/harness-sdk. Creates a GitHub pull request using the gh CLI.

When should I use PR Create?

PR Create fits situations like: the user asks to create; submit a PR on GitHub.

How do I install PR Create in Claude Code?

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

How do I install PR Create in Codex?

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

Can I use PR Create 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 strands-agents/harness-sdk --skill pr-create -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-create, .gemini/skills/pr-create, .github/skills/pr-create and .opencode/skills/pr-create in your project.

What does PR Create need to run?

Going by SKILL.md and its folder, PR Create needs the command-line tools its instructions call (npm, gh, cargo and bash).

Does PR Create access the network?

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

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

PR Create is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does PR Create use?

About 593 tokens (SKILL.md is roughly 2.4k 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 PR Create?

Skills that share tags, products or a category with PR Create: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PR Create?

strands-agents (a GitHub organization) maintains it in strands-agents/harness-sdk, which has 8,731 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 7, 2026.

Source: strands-agents/harness-sdk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.