update

update is a command for Claude Code from anshss/shiploop. It costs 0 tokens per session (5,147 once invoked), scanned A, original, Apache-2.0.

A command that updates a workspace's maintenance scripts to match the newest shared template. It is the pull direction of a synchronization process, similar to pulling changes from a shared Git repository.

In plain words
What is it for?
Use it to compare versions, update selected script components, preserve workspace-specific files, run shell and configuration checks, remove retired files, and update the workspace version marker.
Why use it?
It keeps workspace tooling aligned with the shared version while checking safety conditions and reporting files that older versions no longer use.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the shiploop plugin — 2 skills, 7 commands, 4 agents shipped together

Good fit Use it to compare versions, update selected script components, preserve workspace-specific files, run shell and configuration checks, remove retired files, and update the workspace version marker.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add anshss/shiploop
Claude Code
/plugin install shiploop

Made for: Claude Code.

Or install shiploop, the plugin that ships this one along with the rest of its 2 skills, 7 commands, 4 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 update

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/anshss/shiploop/update"><img src="https://agentmods.dev/badge/commands/anshss/shiploop/update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,147 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.00000 $0.05147
Opus 5.5 $0.00000 $0.02059
Sonnet 5.5 $0.00000 $0.01029
Haiku 4.5 $0.00000 $0.00515

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

Security

Grade A, and why

update 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 10d 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.

commands/update.md · 340 lines

How it starts

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

/shiploop:update

The pull direction of the harness-code update channel — git pull for harness code. Reconciles this workspace against the latest installed hub, the ongoing-maintenance path after /shiploop:setup has scaffolded once. scaffold.sh is the machinery; this command wraps it with reachability resolution + safety guards + verification.

Procedure

  1. Locate the hub (same priority as /setup, see "Locate the plugin" there).
  2. Verify preconditions — meta-repo workspace, harness paths not dirty, no governor running.
  3. Cheap version + diff check (writes nothing). 3b. Baseline the workspace's offline tests (if it has any) BEFORE touching anything.
  4. Component-by-component bump via scaffold.sh --component <name> --yes — PRESERVES scripts/lib/workspace.sh (never overwritten without explicit ask).
  5. Run no-auth verifiers — config-check.sh + bash -n sweep + stale-relocations warning. The bump itself also purges retired files: every writer run applies templates/lib/purge.txt, so files an older shiploop installed and no longer ships are deleted from this workspace. Report what went, since a purge can remove something the operator was still opening by habit. 5b. Re-run the offline tests and report every test that went green to red.
  6. Update .harness-version stamp (scaffold does this only when nothing was kept and no test regressed).
  7. Report a concise per-component in-sync | bumped | skipped summary.

Phase 0 — Locate the hub

Resolve HUB in priority order:

  1. ${CLAUDE_PLUGIN_ROOT} (plugin run)
  2. ${GOVERN_UPSTREAM_HARNESS_DIR} from scripts/lib/workspace.sh (operator's local fork clone)
  3. ~/.claude/skills/shiploop/ (legacy clone-into-skills)
  4. Glob ~/.claude/plugins/**/shiploop/VERSION (plugin-cache install)

If none resolve, STOP and print:

Cannot locate the shiploop hub.

Options:
  - Install as a plugin (recommended):
      /plugin marketplace add anshss/shiploop
      /plugin install shiploop@shiploop
  - Point at a local clone by exporting one of:
      CLAUDE_PLUGIN_ROOT=/path/to/shiploop   (env)
      GOVERN_UPSTREAM_HARNESS_DIR=/path/to/shiploop   (workspace.sh)

Read the full file on GitHub · 340 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. 10d ago Changed · +2 lines 84a2730cbc4c
  2. 11d ago Changed · +53 lines 207c86d927d8
  3. 2mo ago Changed · +1 lines 7ec8f579e378
  4. 2mo ago Changed · -5 lines b6bbe44c3b81
  5. 3mo ago Changed 23ff4cfec79b
  6. 3mo ago First seen · 289 lines · 0 tokens per session scan A e1dc3fb8977d

Subscribe to this mod's changes

update is a command published in the GitHub repository anshss/shiploop (11 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 5,147 tokens. 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

update compared with commands from other repositories

update next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
updateanshss/shiploopCommand114d agoApache-2.0A0Claude Code
merge-conflict-analysisrjmurillo/ai-agentsCommand50todayApache-2.0A0GitHub Copilot
release-notesOpenHands/extensionsCommand191todayMITA44Claude Code
commitechoVic/blade-codeCommand18118d agoMITA8Claude Code
repo-audittractorjuice/arc-kitCommand2.3ktodaynoneA29Claude Code
music-amplifyStarlight-Intelligence/Starlight-Intelligence-SystemCommand12todayMITA30Claude Code
codex-reviewoalders/kitchen-sinkCommand52d agoMITA41Claude Code