shipyard-state

shipyard-state is a skill for Claude Code from lgbarn/shipyard. It costs 98 tokens per session (622 once invoked), scanned A, original, MIT.

A tool for viewing and controlling the saved state of a Shipyard project, a project workflow tracked in the `.shipyard/` folder.

In plain words
What is it for?
It shows project status and history, resumes paused work, pauses or cancels work, and rolls back to an earlier checkpoint.
Why use it?
It restores context that Codex does not load automatically, so you can see where work stopped before continuing or changing it.

Skill for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: mentions Claude Code; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/state-read.sh # prints JSON context (current phase, position, status).

Part of the shipyard plugin — 25 skills, 25 commands, 20 agents, 6 hooks shipped together

Good fit It shows project status and history, resumes paused work, pauses or cancels work, and rolls back to an earlier checkpoint.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/lgbarn/shipyard
agentmods
npx agentmods add skills/lgbarn/shipyard/shipyard-state

Made for: Claude Code.

Or install shipyard, the plugin that ships this one along with the rest of its 25 skills, 25 commands, 20 agents, 6 hooks.

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 shipyard-state

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lgbarn/shipyard/shipyard-state"><img src="https://agentmods.dev/badge/skills/lgbarn/shipyard/shipyard-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 622 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00098 $0.00622
Opus 5.5 $0.00039 $0.00249
Sonnet 5.5 $0.00020 $0.00124
Haiku 4.5 $0.00010 $0.00062

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

Security

Grade A, and why

shipyard-state 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 3mo 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.

codex/skills-extra/shipyard-state/SKILL.md · 63 lines

How it starts

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

Shipyard state (Codex on-demand)

In Claude Code, Shipyard's SessionStart hook auto-injects project state at the start of every session. Codex has no such hook, so state is not loaded automatically — you must read it on demand with the bundled scripts before acting. All state lives under .shipyard/ (STATE.json, HISTORY.md, ROADMAP.md, PROJECT.md, config.json).

Always run the read step first; if .shipyard/STATE.json is absent, tell the user there is no Shipyard project here (suggest shipyard init) instead of inventing state.

Status — show the dashboard

bash scripts/state-read.sh        # prints JSON context (current phase, position, status)

Then also read .shipyard/HISTORY.md and ROADMAP.md for the fuller picture, and present a clear dashboard: current phase, position, status, and recent history.

Resume — restore context and continue

bash scripts/state-read.sh

Read STATE.json for the current phase/position/status and HISTORY.md for what happened, then continue the workflow from there. If no state exists, there is nothing to resume.

Cancel — graceful pause

Checkpoint first, then mark the work paused so it can be resumed later:

bash scripts/checkpoint.sh "pre-cancel-$(date +%s)"   # git tag rollback point
bash scripts/state-write.sh --phase <N> --position "<where you stopped>" --status paused

Only cancel work that is actually in progress (building/in_progress/planning). If it is already paused or complete, say so rather than writing redundant state.

Roll back — restore a checkpoint

Checkpoints are git tags created by checkpoint.sh. List them and revert with git:

git tag -l 'shipyard-*'                # or however the project tags checkpoints
git checkout <checkpoint-tag>          # inspect, or reset per the user's intent

This is a destructive git operation — confirm with the user before resetting, and never force-reset their working tree without explicit instruction.

Read the full file on GitHub · 63 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. 3mo ago First seen · 63 lines · 98 tokens per session scan A ec10b70c0db6

Subscribe to this mod's changes

shipyard-state is a skill published in the GitHub repository lgbarn/shipyard (67 stars, last pushed 1mo ago), licensed MIT. It adds 98 tokens to every session and 622 once invoked, about $0.0004 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.

Related

shipyard-state compared with skills from other repositories

shipyard-state next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shipyard-statelgbarn/shipyardSkill671mo agoMITA98Claude Code
gate-wiringObsidian-Owl/specwrightSkill97mo agoMITA40Claude Code
sw-designObsidian-Owl/specwrightSkill97mo agoMITA29Claude Code
sw-reviewObsidian-Owl/specwrightSkill97mo agoMITA30Claude Code
gate-semanticObsidian-Owl/specwrightSkill97mo agoMITA42Claude Code
sw-auditObsidian-Owl/specwrightSkill97mo agoMITA36Claude Code
critical-code-reviewerposit-dev/skillsSkill57618d agoMITA67Claude Code