zeroclaw: Skill for Claude Code

.claude/skills/github-pr/SKILL.md

github-pr is a skill for Claude Code from chuyl/zeroclaw. It costs 0 tokens per session (1,898 once invoked), scanned A, original, Apache-2.0.

A workflow skill for opening or updating GitHub pull requests for ZeroClaw. A pull request is a request to review and merge code changes into a shared GitHub repository.

In plain words
What is it for?
Use it to create a pull request, edit its title or description, add labels or comments, or synchronize it after new commits.
Why use it?
It structures the pull request details and supports keeping an existing request up to date as the branch changes.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is chuyl/zeroclaw's own configuration. It tells Claude Code how to work on zeroclaw itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything zeroclaw configures →

Reuse

Borrowing it

Nothing to install: this file belongs to chuyl/zeroclaw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chuyl/zeroclaw/master/.claude/skills/github-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/chuyl/zeroclaw

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/chuyl/zeroclaw/github-pr/github.svg)](https://agentmods.dev/skills/chuyl/zeroclaw/github-pr)
Your own site
<a href="https://agentmods.dev/skills/chuyl/zeroclaw/github-pr"><img src="https://agentmods.dev/badge/skills/chuyl/zeroclaw/github-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/chuyl/zeroclaw/github-pr"><img src="https://agentmods.dev/badge/skills/chuyl/zeroclaw/github-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,898 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.01898
Opus 5.5 $0.00000 $0.00759
Sonnet 5.5 $0.00000 $0.00380
Haiku 4.5 $0.00000 $0.00190

Measured 1mo ago against content hash 0d5e3b8f3cda, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-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 1mo 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.

.claude/skills/github-pr/SKILL.md · 210 lines

How it starts

The opening of the file, as written. The whole thing — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: github-pr

Open or update a GitHub Pull Request for ZeroClaw. Handles creating new PRs with a fully filled-out template body, and updating existing PRs (title, body sections, labels, comments). Use this skill whenever the user wants to open a PR, create a pull request, update a PR, edit PR description, add labels to a PR, or sync a PR after new commits — even if they don't say "PR" explicitly (e.g., "submit this for review", "push and open for merge").

Instructions

This skill supports two modes: Open (create a new PR) and Update (edit an existing PR). Detect the mode from context — if there's already an open PR for the current branch and the user didn't say "open a new PR", default to update mode.

The PR template at .github/pull_request_template.md is the source of truth for the PR body structure. Read it every time — never assume or hardcode section names, fields, or their order. The template may change over time and the skill should always reflect its current state.


Shared: Read the PR Template

Before opening or updating a PR body, read .github/pull_request_template.md and parse it to understand:

  • The ## section headers (these are the top-level sections of the PR body)
  • The bullet points, fields, and prompts within each section
  • Which sections are marked (required) vs optional/recommended
  • Any inline formatting conventions (backtick options, Yes/No fields, etc.)

This parsed structure drives how you fill, present, and edit the PR body.


Mode: Open a New PR

Step 1: Gather Context

Collect information to pre-fill the PR body. Run these in parallel:

# Branch and commit context
git branch --show-current
git log master..HEAD --oneline
git diff master...HEAD --stat

# Check if branch is pushed
git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null

# Environment (for validation evidence)
rustc --version 2>/dev/null

Also review the changed files and commit messages to understand the nature of the change (bug fix, feature, refactor, docs, chore, etc.) and which subsystems are affected.

Read the full file on GitHub · 210 lines

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. 1mo ago First seen · 210 lines · 0 tokens per session scan A 0d5e3b8f3cda

Subscribe to this mod's changes

github-pr is a skill published in the GitHub repository chuyl/zeroclaw (2 stars, last pushed 4mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,898 tokens. 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-31.