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

@trailstep/cli

v0.3.2

Published

Command-line discovery and execution for TrailStep workflows.

Readme

@trailstep/cli

@trailstep/cli provides the trailstep command for initializing TrailStep config, configuring agent providers, registering workflows, running workflows, continuing interactive steps, retrying failed runs, and managing package-backed workflow registrations.

Install

Install globally if you want a trailstep command everywhere:

npm install --global @trailstep/cli

Or keep it project-local:

npm install --save-dev @trailstep/cli
npx trailstep --help

Use the equivalent command for your package manager if you use pnpm, yarn, or bun.

Quick start

Prerequisite: install a CLI coding agent. TrailStep has been tested most heavily with Pi and Claude Code, so they currently have the best support.

trailstep init
trailstep add @trailstep/create-flows@latest
trailstep workflows
trailstep project/grill-it-away

Use the interactive prompts to choose project scope, configure your agent/provider, install the TrailStep usage skill, select workflows, and generate project skills. Generated skills let supported coding agents discover and invoke workflows from the agent UI.

trailstep init --scope project --install-skill
trailstep add @trailstep/create-flows@latest --scope project --workflow "*" --project-skill --yes
trailstep workflows

Common commands

trailstep init [--scope <local|project|global>] [--install-skill | --no-install-skill]
trailstep agents
trailstep add <workflow-file-bundle-or-package> [--scope <local|project|global>] [--workflow <workflow>] [--project-skill] [--user-skill] [--yes] [--dry-run]
trailstep workflows
trailstep <workflow-ref> [workflowRunName] [--input '<json>' | --input-file <path>]
trailstep continue
trailstep retry <workflow-ref> <runName>
trailstep update [--all | --project | --workflows | --workflow <name>] [--yes]

See the repository CLI reference for the full command list and detailed behavior.

Workflow refs

TrailStep accepts these workflow reference forms:

trailstep ./workflow.ts#reviewWorkflow --input-file input.json
trailstep project/review
trailstep global/cleanup
trailstep @acme/workflows#release

Use direct refs while developing, registered refs for stable project/user workflows, and bundle refs for workflows exposed by installed packages.

Package-backed workflows

trailstep add can install and register workflows from npm packages or explicit GitHub specs:

trailstep add @trailstep/create-flows@latest --scope project --workflow "*" --project-skill --dry-run
trailstep add @trailstep/create-flows@latest --scope project --workflow "*" --project-skill --yes
trailstep add github:acme/trailstep-workflows --scope project --workflow review --project-skill --yes

TrailStep detects the target package manager from lockfiles or the packageManager field and defaults to npm only when neither is present.

Scopes

  • local: private to this checkout/machine.
  • project: shared project config; recommended for team workflows.
  • global: user-wide config and personal workflows.

See Scopes and config for details.

Run artifacts

Runs write .trailstep/runs/<runName>/ directories for inspection and replay. Set TRAILSTEP_RUNS_ROOT to override the runs root for a command/session. Treat run directories as generated output; do not manually edit them to recover workflow state.