repo-config

repo-config is a skill for Claude Code from app-vitals/shipwright. It costs 113 tokens per session (5,050 once invoked), scanned A, original, MIT.

A repository-configuration plan for making test and deployment checks enforceable. It covers settings such as protected branches, required continuous-integration checks, secrets, environments, deployment hooks, and pull-request templates.

In plain words
What is it for?
Use it when designing test-readiness work, pairing CI tasks with branch-protection tasks, or defining the acceptance checks for a test-fix task.
Why use it?
It prevents a passing test report from being merely advisory by ensuring the main branch cannot accept changes without the required checks. A protected branch is a branch where rules control who can push or merge.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the shipwright plugin — 27 skills, 32 commands, 5 agents shipped together

Good fit Use it when designing test-readiness work, pairing CI tasks with branch-protection tasks, or defining the acceptance checks for a test-fix task.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/app-vitals/shipwright/repo-config
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add app-vitals/shipwright --skill repo-config
Clone the repo
git clone --depth 1 https://github.com/app-vitals/shipwright

Made for: Claude Code.

Or install shipwright, the plugin that ships this one along with the rest of its 27 skills, 32 commands, 5 agents.

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 repo-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/app-vitals/shipwright/repo-config/github.svg)](https://agentmods.dev/skills/app-vitals/shipwright/repo-config)
Your own site
<a href="https://agentmods.dev/skills/app-vitals/shipwright/repo-config"><img src="https://agentmods.dev/badge/skills/app-vitals/shipwright/repo-config/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 repo-config

Your own site · 80×15
<a href="https://agentmods.dev/skills/app-vitals/shipwright/repo-config"><img src="https://agentmods.dev/badge/skills/app-vitals/shipwright/repo-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,050 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.00113 $0.05050
Opus 5.5 $0.00045 $0.02020
Sonnet 5.5 $0.00023 $0.01010
Haiku 4.5 $0.00011 $0.00505

Measured yesterday against content hash b795f258b034, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

repo-config 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (SKILL.content.test.ts), 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.

plugins/shipwright/skills/repo-config/SKILL.md · 280 lines

How it starts

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

repo-config skill

Purpose

Capture the repository-level configuration that turns CI into an actual gate. The audit's verification commands are only meaningful if main cannot be merged unless they pass.

When invoked

  • By test-design (Phase 2) — emits the Repo Configuration section of the blueprint
  • By test-roadmap (Phase 4) — applies the pairing rule (a human-only settings task when a repo first sets up, or switches to, the required CI check)
  • By test-fix (Phase 5) — the task's acceptanceCriteria array is the task-store equivalent of a Closing Checklist

The repo-config plan

A complete repo-config plan covers four concerns:

1. Branch protection

For each protected branch (default: main):

This is the standard recommendation for every shipwright repo — one flat default, not a choice between options. Shipwright repos are moving toward shipwright-merge (agent merges via gh pr merge --squash, deferring to native branch protection with the merging account configured as a ruleset bypass_actor) across the board, so recommend the settings below regardless of where a given repo currently is in that rollout.

  • Required PR — no direct pushes.
  • Required status checks — a single check named CI, the aggregate job of test.yml (see "One required check: CI" below). This is the real gate: CI must be green on the branch that lands. merge.md now defers to this natively rather than bypassing it outright, so it's a live merge-gate for the merge phase too, not just a signal for merges that skip merge.md (e.g. a human merging via the GitHub UI) — though a bypass_actor merging account can still push past it if a status check regresses after the pre-flight check ran.
  • Require conversation resolution before merging — no. Not worth recommending: check-patch.ts's hasUnaddressedFindings() only checks for unresolved threads when a qualifying review exists at the current HEAD commit — if a later commit lands without a fresh qualifying review at that commit (e.g. a CI-only fix), stale unresolved threads from an earlier review are never revisited, and nothing in the pipeline resolves them. The merging account is configured as a ruleset bypass_actor, which bypasses this setting regardless of whether merge.md force-merges or defers natively, so the theoretical "free safety net for manual merges" benefit doesn't hold up against the risk of a PR getting stuck with orphaned unresolved threads no automated process will ever clean up. Not worth the effort to fix the gap for a benefit this narrow.
  • Require branches to be up to date before merging — no. The merging account's bypass_actor status on the ruleset bypasses this regardless of whether merge.md's merge step goes through natively or hits the branch-protection-block backstop. It also has a concrete, independent cost: GitHub's strict status checks go stale whenever the base branch moves, and with multiple agents merging PRs in parallel, every merge into main invalidates the "up to date" status of every other open PR — forcing a rebase and a full CI re-run on each sibling PR just to become mergeable again. Real Action-minutes burned for no benefit, on top of being redundant with the required-status-check gate above.
  • Required approving reviews — 0. GitHub rejects self-APPROVE via the API, so review.md Step 10 force-downgrades an agent's review of its own PR to COMMENT with a Verdict: APPROVE marker — a required-review count can never be satisfied by the pipeline itself. merge.md now defers to this setting natively for identities that are not a ruleset bypass_actor, treating a missing required review as a branch-protection-block: the PR is marked blocked rather than force-merged, and a human must add a real approval or configure the identity as a bypass_actor.
  • Enforce on admins — no. The merging account still relies on being a ruleset bypass_actor to merge self-reviewed PRs — merge.md no longer force-bypasses branch protection outright, but the merge model still depends on that bypass existing for the common case. enforce_admins: true would either block every automated merge for accounts without a real second approval, or require the merging account to be a permanent bypass_actor anyway, which is enforcement in name only.
  • Canary status check is NOT included — canary runs post-merge; gates promotion staging → prod, not merge to main

Read the full file on GitHub · 280 lines

Files

What ships with it

2 files 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. yesterday Changed · +61 lines b795f258b034
  2. 11d ago Changed 398b0ada48ef
  3. 13d ago First seen · 219 lines · 113 tokens per session scan A c1b10d1c89a8

Subscribe to this mod's changes

repo-config is a skill published in the GitHub repository app-vitals/shipwright (16 stars, last pushed yesterday), licensed MIT. It adds 113 tokens to every session and 5,050 once invoked, about $0.0005 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-11-17.

Related

repo-config compared with skills from other repositories

repo-config next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repo-configapp-vitals/shipwrightSkill16yesterdayMITA113Claude Code
ci-flaky-patrolQwenLM/qwen-codeSkill31ktodayApache-2.0A22Claude Code, Codex
buncode-yeongyu/senpiSkill530todayMITA237Claude Code, Codex
cavemandmae97/omkSkill155todayMITA248Claude Code
omk-computerusedmae97/omkSkill155todayMITA67Claude Code, Codex
windows-cidimetron/pi-goSkill232todayMITA56Claude Code, Codex
omk-enginedmae97/omkSkill155todayMITA44Claude Code