shipwrights-loop

shipwrights-loop is a skill for Claude Code, Codex from shipwrights/core. It costs 77 tokens per session (3,208 once invoked), scanned A, original, MIT.

A command that processes Jira tickets one after another through a defined delivery pipeline, including pull-request review and merge monitoring. Jira is a project-tracking system, and a pull request is a proposed code change for review.

In plain words
What is it for?
Use /shipwrights-loop [N] to process up to N tickets, --status to view progress, or --abort to cancel the loop.
Why use it?
It removes the need to manually start the next ticket and track each ticket's pull request. It saves progress in a state file so the process can resume in another Claude Code session.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Good fit Use /shipwrights-loop [N] to process up to N tickets, --status to view progress, or --abort to cancel the loop.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shipwrights/core/shipwrights-loop
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 shipwrights/core --skill shipwrights-loop
Clone the repo
git clone --depth 1 https://github.com/shipwrights/core

Made for: Claude Code, Codex.

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 shipwrights-loop

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shipwrights/core/shipwrights-loop"><img src="https://agentmods.dev/badge/skills/shipwrights/core/shipwrights-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,208 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.00077 $0.03208
Opus 5.5 $0.00031 $0.01283
Sonnet 5.5 $0.00015 $0.00642
Haiku 4.5 $0.00008 $0.00321

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

Security

Grade A, and why

shipwrights-loop 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.

skills/shipwrights-loop/SKILL.md · 192 lines

How it starts

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

/shipwrights-loop — sequential multi-ticket pipeline driver

Composes /shipwrights-epic end-to-end across N tickets. Picks one, drives it through the pipeline, watches the PR for merge, hands off Jira status, picks the next.

Not autopilot. Each PR still goes through whatever review gate is configured (human or tier:* auto-merge label). The loop watches — it doesn't merge.

Inputs

  • /shipwrights-loop [N] — start a new loop or resume an existing one. N = max iterations. Omit for unbounded (a confirmation prompt fires first).
  • /shipwrights-loop --status — print current loop state, do nothing else.
  • /shipwrights-loop --abort — discard .shipwrights/loop-state.json, cancel any in-progress polling.

State machine

State lives in .shipwrights/loop-state.json (gitignored). Read/write via lib/loop-state.mjs. Phases:

Phase Meaning
between_epics About to pick a new ticket. Initial state.
running_epic /shipwrights-epic is mid-pipeline. Per-epic progress lives in the epic file's frontmatter + the in-flight register, not here.
awaiting_merge PR opened, polling gh pr view <num> for MERGED.
done Terminal. Either iteration cap hit, backlog empty, or user aborted.

Valid transitions:

  • between_epics → running_epic | done
  • running_epic → awaiting_merge | between_epics | done
  • awaiting_merge → between_epics | done

Auto-merge warning

When loop.auto_merge: true in .shipwrights.yml and the loop is starting fresh, print this verbatim before the typed-confirmation prompt. Don't reword it — the wording is the safety mechanism.

⚠ AUTO-MERGE ENABLED

With this turned on, /shipwrights-loop will MERGE pull requests itself.

Every PR opened during this loop will be merged automatically once your
required CI checks pass. No human review. No manual gate.

This means:
  • Code reaches your integration branch without a human reading it
  • Branch-protection rules still apply (required checks, required
    reviewers if configured)
  • Cost-cap and stuck-PR safeguards still apply
  • The `do-not-auto-merge` label on a specific PR still skips auto-merge
    for it
  • Once you confirm, this loop runs unattended until done, aborted,
    a PR is declined, or a safeguard fires

To confirm, type exactly:    yes auto-merge

To cancel, type anything else.

Read the full file on GitHub · 192 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 · 192 lines · 77 tokens per session scan A 9cf16c392768

Subscribe to this mod's changes

shipwrights-loop is a skill published in the GitHub repository shipwrights/core (2 stars, last pushed 2mo ago), licensed MIT. It adds 77 tokens to every session and 3,208 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.