agentic-harness: Skill for Claude Code

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

ship-pr is a skill for Claude Code from sevenschulte/agentic-harness. It costs 80 tokens per session (1,450 once invoked), scanned A, original, MIT.

A workflow for turning the current code branch into a pull request for team review.

In plain words
What is it for?
Use it when you want to verify, format, commit, push, and open a pull request from the current branch.
Why use it?
It performs the release checks and repository handoff steps needed before asking others to review the work.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sevenschulte/agentic-harness/ship-pr"><img src="https://agentmods.dev/badge/skills/sevenschulte/agentic-harness/ship-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,450 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.00080 $0.01450
Opus 5.5 $0.00032 $0.00580
Sonnet 5.5 $0.00016 $0.00290
Haiku 4.5 $0.00008 $0.00145

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

Security

Grade A, and why

ship-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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run-tests.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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

How it starts

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

Ship PR

You are about to ship the current branch as a pull request. The user has done the work; you are doing the handoff.

This skill is the worked example from the Harness Engineering article. It demonstrates the deterministic-where-possible / LLM-where-needed split: the script does the mechanical steps; you do the judgement steps (writing the PR body, deciding whether to ship at all).

Step 0 — Sanity checks

Before doing anything, verify:

# 1. We're in a git repo
git rev-parse --is-inside-work-tree

# 2. The current branch is not the base branch
CURRENT=$(git branch --show-current)
BASE="${1:-dev}"  # Default base from $ARGUMENTS, fallback to "dev"
# If your default base is "main", change the fallback above.
[ "$CURRENT" != "$BASE" ] || { echo "Refusing to ship: current branch is the base branch."; exit 1; }

# 3. The branch has at least one commit ahead of base
AHEAD=$(git rev-list --count "$BASE".."$CURRENT")
[ "$AHEAD" -gt 0 ] || { echo "Refusing to ship: branch has 0 commits ahead of $BASE."; exit 1; }

# 4. gh CLI is installed and authenticated
gh auth status

If any check fails, stop and report. Do not try to fix the underlying issue without explicit confirmation.

Step 1 — Run the deterministic part

.claude/skills/ship-pr/scripts/run-tests.sh

That script formats code, runs the test suite, and exits non-zero on any failure. If it exits non-zero, stop. Read the output, report the failure, and ask the user what to do. Do not retry, do not disable tests, do not push anyway.

This is the line you will not cross: never use --no-verify, never skip a failing test, never push known-broken code.

Step 2 — Stage and commit any uncommitted work

# Show the user what's about to be committed
git status --short
git diff --stat

If there are uncommitted changes:

  1. Read the diff (don't just stage everything blindly)
  2. Decide whether the changes belong in this PR or not. If they don't, ask
  3. If they do: stage explicit files (git add <file1> <file2>), not git add -A
  4. Write a commit message following .claude/rules/conventions.md (Conventional Commits format)
  5. Commit

Read the full file on GitHub · 196 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 196 lines · 80 tokens per session scan A 57d089357de5

Subscribe to this mod's changes

ship-pr is a skill published in the GitHub repository sevenschulte/agentic-harness (2 stars, last pushed 6mo ago), licensed MIT. It adds 80 tokens to every session and 1,450 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

worktree-pr

Decide whether a task deserves its own git worktree and, if chosen, run it end to end: branch from the integration branch rather than the current tree, keep the main working copy untouched while the task runs, compare the result against the untouched baseline before declaring it done, and prepare it for a pull request…

scarletkc/agents · 148 tokens

infrastructure-publishing

Skill for the publishing infrastructure module providing academic publishing workflows including BibTeX CLI citation generation, APA/MLA citation helper functions, DOI management, Zenodo publication, arXiv submission preparation, GitHub releases, PyPI and TestPyPI package distribution, static-site deployment to GitHub…

docxology/template · 127 tokens

template-publish

Publishing scripts for DOI-bearing project releases, optional mirror uploads, PyPI release validation, post-publish verification, and publication export. Use with docs/guides/publication-runbook.md for standalone GitHub + Zenodo release workflows.

docxology/template · 52 tokens

automotive-engineer

Use when a task needs the judgment of an Automotive Engineer — computing weight transfer and tire friction-circle limits for a braking-while-cornering maneuver to set brake-force distribution, sizing a powertrain and gear ratio against a 0-60 mph acceleration target while checking traction versus power limits, sizing…

wonsukchoi/domain-experts · 160 tokens

automotive-engineering-technician

Use when a task needs the judgment of an Automotive Engineering Technician — setting up and instrumenting test equipment (strain-gauge bridges, thermocouples, load/torque sensors) to an engineer's written test plan, selecting DAQ sample rate and an SAE J211 CFC filter class for a vehicle test channel, verifying…

wonsukchoi/domain-experts · 207 tokens

aviation-inspector

Use when a task needs the judgment of an Aviation Inspector — determining whether an air carrier's fleet is in compliance with an Airworthiness Directive across a maintenance-records sample, deciding where the FAA's compliance-and-enforcement ladder places a finding (compliance action vs. Letter of Correction vs.…

wonsukchoi/domain-experts · 113 tokens