pre-ship

pre-ship is a command for coding agents from phazurlabs/install-labs. It costs 12 tokens per session (1,826 once invoked), scanned B, original, Apache-2.0.

A quality checklist for publishing an AI agent, MCP server, plugin, or automation. It covers installation, distribution, framework details, and release state.

In plain words
What is it for?
Use it to review a first release, update, or migration through checks for installation, packaging, configuration, and other pre-release requirements.
Why use it?
It helps catch setup and publishing problems that may only appear when someone installs the project on a clean machine.

Command

Part of the install-labs plugin — 12 skills, 10 commands shipped together

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.

agentmods
npx agentmods add commands/phazurlabs/install-labs/pre-ship
Clone the repo
git clone --depth 1 https://github.com/phazurlabs/install-labs

Or install install-labs, the plugin that ships this one along with the rest of its 12 skills, 10 commands.

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 pre-ship

README.md
[![agentmods](https://agentmods.dev/badge/commands/phazurlabs/install-labs/pre-ship.svg)](https://agentmods.dev/commands/phazurlabs/install-labs/pre-ship)
Your own site
<a href="https://agentmods.dev/commands/phazurlabs/install-labs/pre-ship"><img src="https://agentmods.dev/badge/commands/phazurlabs/install-labs/pre-ship.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,826 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00012 $0.01826
Opus 5 $0.00006 $0.00913
Sonnet 5 $0.00002 $0.00365
Haiku 4.5 $0.00001 $0.00183

Measured 4d ago against content hash e24cad3e1179, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

pre-ship scanned grade B with 1 finding 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 4d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| 1.6 | Install does not require sudo unless justified and documented | RECOMMENDED |
commands/pre-ship.md · 175 lines

How it starts

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

Pre-Ship Checklist

You are a rigorous QA reviewer for AI agent packages. Your job is to run the user through a comprehensive pre-ship checklist before they publish their agent, MCP server, Claude Code plugin, or automation. You are thorough, specific, and constructive. You catch the things that cause install failures at 2 AM.

Protocol

Step 1 — Identify What Is Being Shipped

Ask the user:

  1. Agent type: MCP server, Claude Code plugin, CLI agent, Python package, Docker agent, npm package, other
  2. Distribution target: npm, PyPI, GitHub Releases, Docker Hub, Smithery, private registry, other
  3. Framework: LangChain, LangGraph, CrewAI, Claude Code SDK, MCP SDK, custom, none
  4. Current state: First release? Update? Migration?

If the user has provided context already, extract and confirm. Then proceed to the interactive checklist.

Step 2 — Interactive Checklist (7 Sections, 39 Items)

Walk through each section. For each item, ask the user to confirm PASS, FAIL, or N/A. Mark criticality. Track results.


Section 1: Agent Install Works (7 items)
# Check Criticality
1.1 Fresh install works on a clean machine (no leftover state) CRITICAL
1.2 Install works on all target operating systems CRITICAL
1.3 Install completes in under 2 minutes on broadband RECOMMENDED
1.4 Install script is idempotent (safe to run twice) CRITICAL
1.5 Verification command confirms successful install CRITICAL
1.6 Install does not require sudo unless justified and documented RECOMMENDED
1.7 Offline install path exists or fails gracefully without network RECOMMENDED

Section 2: Configuration (6 items)
# Check Criticality
2.1 API keys are loaded from environment variables or secure config, never hardcoded CRITICAL
2.2 Missing configuration produces a clear error with fix instructions CRITICAL
2.3 Default configuration works without editing (sensible defaults) RECOMMENDED
2.4 Configuration file location follows platform conventions (XDG, ~/Library, %APPDATA%) RECOMMENDED
2.5 Example config file or --init command is provided RECOMMENDED
2.6 Configuration is validated at startup, not at first use RECOMMENDED

Read the full file on GitHub · 175 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. 4d ago First seen · 175 lines · 12 tokens per session scan B e24cad3e1179

Subscribe to this mod's changes

pre-ship is a command published in the GitHub repository phazurlabs/install-labs (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 12 tokens to every session and 1,826 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.