npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@elmundi/ship-cli

v0.16.35

Published

Ship CLI: bootstrap a repo, sync the catalog, run process routines, report outcomes.

Downloads

3,003

Readme

@elmundi/ship-cli

shipctl is the developer workbench for a Ship-connected repo. The console is for the operator; the CLI is for the engineer. It runs locally for setup, sync, validation, and diagnostics — it does not orchestrate workflows, touch workspace state, or write to the audit log. The customer-side CI uses shipctl trigger (and the trigger-spawned shipctl run) as a thin entry-point that hands work to the workspace runner.

Published package: @elmundi/ship-cli. Binary: shipctl.

Requirements

  • Node.js 20+

Install

npm install -g @elmundi/ship-cli
# or one-off
npx @elmundi/ship-cli help

When to use the CLI

Use shipctl to:

  • create or validate .ship/config.yml;
  • install versioned agent rules into files such as AGENTS.md, CLAUDE.md, or .cursor/rules/*.mdc;
  • sync patterns, tools, and collections into .ship/cache/;
  • verify local repo wiring in CI or before a PR;
  • inspect detected stack signals with doctor;
  • read workspace knowledge buckets from inside an agent run;
  • draft and submit feedback on catalog artifacts.

The product setup path is workspace → repo → tracker → knowledge → dashboard/Inbox, all in the console wizard. The CLI does not duplicate that flow.

First local setup

Preview before writing:

npx @elmundi/ship-cli init --dry-run

Apply only after the preview looks right:

npx @elmundi/ship-cli init --yes \
  --agents cursor,codex \
  --tracker github-issues \
  --ci gh-actions \
  --preset web-app \
  --copy-rules

Then check the repo:

shipctl verify

Core commands

| Command | Use | | --- | --- | | shipctl doctor | Cheap repo health checks: agent rule files installed, config valid, lock fresh, network reachable. | | shipctl verify | Heavier post-adoption checks (artefact contract, marker drift, network/provider reachability). | | shipctl sync | Refresh catalog artifacts into .ship/cache/; --lock writes a lockfile. | | shipctl config | show / validate / get / set / init / path for .ship/config.yml. | | shipctl init | Bootstrap .ship/, fetch artifacts, install agent rules in an existing repo. | | shipctl pattern\|tool\|collection | List, show, fetch, or search artifact bodies. | | shipctl search | Vector search over docs + prompts. | | shipctl knowledge fetch | Read a workspace bucket's articles + sync state (the agent's read path). | | shipctl trigger | CI entry-point: compute due routines and claim each schedule window in Ship. | | shipctl run | Spawned per routine by shipctl trigger: resolve pattern, fetch a ticket if FSM-staged, launch the agent runtime. | | shipctl feedback | Local markdown drafts; submit creates a GitHub issue against a cited artifact. | | shipctl telemetry | Opt-in usage telemetry controls (default OFF). |

Run shipctl help and shipctl <command> --help for the exact flag surface.

Configuration

The CLI reads .ship/config.yml from the repo root. It records stack hints, API settings, artifact pins, telemetry preference, cache behavior, and process.routines wiring.

See ../documentation/configuration.md for the maintained field reference.

Agent rules

shipctl init --copy-rules installs marker-delimited blocks into the selected agent targets. Keep custom text outside the markers so re-runs can safely refresh the Ship-owned block.

Typical targets include:

  • .cursor/rules/*.mdc
  • AGENTS.md
  • CLAUDE.md
  • .codex/*
  • .github/copilot-instructions.md

Use ../documentation/agent-matrix.md for the current agent id table.

Artifacts

Ship distributes versioned artifacts:

  • pattern — reusable procedures and prompt bodies;
  • tool — integration and adapter descriptions;
  • collection — presets, agent rules, and addenda.

The CLI can read artifacts directly from this monorepo during development or fetch them from the configured Ship API in a product repo.

Verification in CI

Use shipctl verify as the gate. For offline CI, commit the required cache or narrow checks to local categories:

shipctl verify --no-network

Warnings do not fail the command by default; failures do. Treat warnings as review prompts, not as proof the setup is broken.

Telemetry and feedback

Telemetry is opt-in and off by default. Feedback drafts stay local until explicitly submitted.

shipctl telemetry off
shipctl feedback draft --kind pattern --id role-developer

Development in this repo

From the repository root:

npm run shipctl -- help
npm test --prefix cli

Catalog commands read artifacts/**/ARTIFACT.md directly when run inside this repo. Search still uses the configured HTTP API.