Agent skill

Create PR

by Emiyaaaaa in Emiyaaaaa/HiveMind

Create a GitHub pull request with gh pr create. An agent skill from Emiyaaaaa/HiveMind.

Custom licenceAuto-check passedDevelopment

Install Create PR

skills CLI
$ npx skills add Emiyaaaaa/HiveMind --skill create-pr -a claude-code

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

GitHub CLI
$ gh skill install Emiyaaaaa/HiveMind create-pr --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/Emiyaaaaa/HiveMind.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/create-pr .claude/skills/create-pr && 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-pr
GitHub stars
1.1k
Token cost
~1.7k tokens
SKILL.md length
493 words
Files
4 (incl. scripts)
Skills in repo
2
Repo updated
First seen
Licence
Custom licence

At a glance

Create a GitHub pull request with gh pr create. An agent skill from Emiyaaaaa/HiveMind.

  • Works in 8 steps: 收集 git 上下文 → 预检 → 清掉 commit 上的 Cursor trailer → …
  • Explicitly asks to create a PR
  • SKILL.md covers 对外文案(硬性), 何时执行, 工作流 and 示例
  • Runs Shell scripts from its folder; calls git and gh; reaches cursor.com

What it does

Create PR is an agent skill from Emiyaaaaa/HiveMind. Create a GitHub pull request with gh pr create. Title and body are English, AI-generated from the latest git commit (HEAD) plus the current branch vs the default base. Before push, rewrite commit messages with git commit-tree if they contain Cursor trailers. After create, re-apply a clean body and verify with gh pr view. Use only when the user explicitly asks to create a PR, open a pull request, run this skill, or invoke create-pr.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/collect-context.sh`, `scripts/scrub-commits.sh` and `scripts/scrub-pr.sh`).

It sits in Development, covering Pull requests and Commit messages. It works with GitHub and Git. The repository describes itself as: A Python-first runtime layer for multi-agent systems, with persistent run state, streaming execution events, and a pluggable orchestration interface.

When your agent uses it

  • Explicitly asks to create a PR
  • Open a pull request
  • Invoke create-pr

Example prompts

  • “/create-pr”

Requirements

  • A Bash shell

Workflow steps

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

  1. 收集 git 上下文
  2. 预检
  3. 清掉 commit 上的 Cursor trailer
  4. 生成 title 与 body
  5. Push
  6. 创建 PR
  7. 发布后立刻核对并清掉平台注入
  8. 收尾

What it can do on your machine

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

    Ships 3 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • git
    • gh

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • cursor.com

    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 PR loads about 1.7k tokens when it runs. Until then it costs about 112 tokens; SKILL.md has 493 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 493 words (~1,734 tokens).

“从当前分支的 git 记录生成英文标题与正文,调用 gh pr create 开 PR。不要用 --fill / --fill-first。”

— opening of SKILL.md by Emiyaaaaa, Custom licence
name
create-pr
disable-model-invocation
true

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (scripts) in .cursor/skills/create-pr of Emiyaaaaa/HiveMind.

  • SKILL.md
  • scripts/collect-context.sh
  • scripts/scrub-commits.sh
  • scripts/scrub-pr.sh

Open the folder on GitHubat commit c4530fb

Compare with similar skills

Create PR 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 PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create PR this skillEmiyaaaaa/HiveMind1.1k—~1.7kAutomated safety check: PassCustom licence
React Router Pull Request Creatorremix-run/react-router57k—~2.5kAutomated safety check: PassMIT
Verdaccio Pull Request Workflowverdaccio/verdaccio18k—~1.9kAutomated safety check: PassMIT
Draft Pull Request Creatorwordpress-mobile/WordPress-Android3.2k—~881Automated safety check: NotesGPL-2.0
Submit PRtisfeng/Easydict15k—~595Automated safety check: PassGPL-3.0
Create Pull Requestantfu/skills5.9k—~1.2kAutomated safety check: PassMIT

Similar skills

  • React Router Pull Request Creator

    remix-run/react-router

    Packages finished React Router work into a draft pull request: branch, commit, push, a written PR body and the right GitHub labels.

    57k GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Takes a change through a verdaccio pull request: branch, local checks, changeset, title and body, labels, CI and review rounds, and ports to other release lines.

    18k GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Draft Pull Request Creator

    wordpress-mobile/WordPress-Android

    Commits and pushes current changes, writes a pull request title and body from the branch history and template, and opens a draft PR on GitHub after you approve it.

    3.2k GitHub stars~881 tokensUpdated today
    DevelopmentAuto-check: notes
  • Submit PR

    tisfeng/Easydict

    创建或复用当前 checkout 已提交变更的 GitHub PR,必要时推送任务分支。PR 审查使用 review-pr;仅本地提交使用 git-commit。

    15k GitHub stars~595 tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Publishes a GitHub PR for the checked-out branch with a Conventional Commits style title, a description backed by commands run, and screenshots when the UI changed.

    5.9k GitHub stars~1.2k tokensUpdated 8 days ago
    DevelopmentAuto-check passed
  • Commit And PR

    389ds/389-ds-base

    Commit and open a PR the 389-ds-base way — "Issue NNNN - summary" subject, Bug Description/Fix Description body, Fixes:/Relates: trailer, AI-attribution trailer, and squash-merge etiquette.

    294 GitHub stars~1k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from Emiyaaaaa/HiveMind

  • Create Branch

    Emiyaaaaa/HiveMind

    Create a feature branch from staged working-tree changes, switch to it, run git add ., and commit.

    1.1k GitHub stars~1k tokensUpdated 3 days ago
    Auto-check: notes

Works with

Categories

Questions about Create PR

What does Create PR do?

Create a GitHub pull request with gh pr create. An agent skill from Emiyaaaaa/HiveMind. Create PR is an agent skill from Emiyaaaaa/HiveMind. Create a GitHub pull request with gh pr create.

When should I use Create PR?

Create PR fits situations like: explicitly asks to create a PR; open a pull request; invoke create-pr.

How do I install Create PR in Claude Code?

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

How do I install Create PR in Codex?

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

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

What does Create PR need to run?

Going by SKILL.md and its folder, Create PR needs a shell for the scripts in its folder and the command-line tools its instructions call (git and gh). Our summary lists: A Bash shell.

Does Create PR access the network?

SKILL.md names 1 domain. In commands or code: cursor.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Create PR 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Create PR use?

Create PR has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Create PR use?

About 1.7k tokens (SKILL.md is roughly 6.9k 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 PR?

Skills that share tags, products or a category with Create PR: React Router Pull Request Creator (remix-run/react-router, 57k stars), Verdaccio Pull Request Workflow (verdaccio/verdaccio, 18k stars), Draft Pull Request Creator (wordpress-mobile/WordPress-Android, 3.2k stars) and Submit PR (tisfeng/Easydict, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create PR?

Emiyaaaaa (a GitHub user) maintains it in Emiyaaaaa/HiveMind, which has 1,105 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 5, 2026.

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