yet-another-agent-harness: Skill for Claude Code

.claude/skills/pr/SKILL.md

pr is a skill for Claude Code from dirien/yet-another-agent-harness. It costs 8 tokens per session (225 once invoked), scanned A, original, MIT.

A pull-request workflow for preparing a code change for review in Git. A pull request is a request to merge changes from one branch into another.

In plain words
What is it for?
Use it to inspect commits and differences, push an unpublished branch, create a pull request with a short summary and test plan, and return its web link.
Why use it?
It gathers all branch changes, checks whether the branch is published, and formats the review details consistently.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is dirien/yet-another-agent-harness's own configuration. It tells Claude Code how to work on yet-another-agent-harness 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 yet-another-agent-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dirien/yet-another-agent-harness. 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/dirien/yet-another-agent-harness/main/.claude/skills/pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dirien/yet-another-agent-harness

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 pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/dirien/yet-another-agent-harness/pr/github.svg)](https://agentmods.dev/skills/dirien/yet-another-agent-harness/pr)
Your own site
<a href="https://agentmods.dev/skills/dirien/yet-another-agent-harness/pr"><img src="https://agentmods.dev/badge/skills/dirien/yet-another-agent-harness/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 pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/dirien/yet-another-agent-harness/pr"><img src="https://agentmods.dev/badge/skills/dirien/yet-another-agent-harness/pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 225 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.00008 $0.00225
Opus 5.5 $0.00003 $0.00090
Sonnet 5.5 $0.00002 $0.00045
Haiku 4.5 $0.00001 $0.00022

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

Security

Grade A, and why

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/pr/SKILL.md · 32 lines

What it actually says

/pr — Pull Request Creation

When to use

When the user runs /pr or asks to create a pull request.

Steps

  1. Run git log --oneline main..HEAD to understand all commits
  2. Run git diff main...HEAD to see the full diff
  3. Check if the branch is pushed: git rev-parse --abbrev-ref --symbolic-full-name @{u}
  4. If not pushed, push with git push -u origin HEAD
  5. Create the PR using gh pr create with:
    • Title: short, under 70 chars

    • Body using the template:

      Summary

      <1-3 bullet points>

      Test plan

      • Tests pass
      • Manual verification

Rules

  • NEVER force push
  • Analyze ALL commits, not just the latest
  • Keep the title concise — details go in the body
  • Return the PR URL to the user when done
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 · 32 lines · 8 tokens per session scan A 3df806c42af0

Subscribe to this mod's changes

pr is a skill published in the GitHub repository dirien/yet-another-agent-harness (20 stars, last pushed 4mo ago), licensed MIT. It adds 8 tokens to every session and 225 once invoked, about $0.0000 per session on Opus 5.5. 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-30.