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

@ikani.samani/workrail

v3.101.1

Published

Personal hardened fork of WorkRail (step-by-step workflow enforcement for AI agents via MCP)

Readme

WorkRail (personal fork)

This is a personal hardened fork of WorkRail, a step-by-step workflow enforcement engine for AI agents delivered as an MCP server. It is published publicly as @ikani.samani/workrail on the npm registry.

If you want the upstream public version, install @exaudeus/workrail from npmjs.org instead.

Note: npm usernames cannot contain dots. If the registered scope ends up being @ikani-samani rather than @ikani.samani, swap the package name accordingly in the steps below.

Prerequisites

  • Node.js 22.14.0 (see .tool-versions). The preinstall script enforces a minimum of Node 20, but CI runs against 22.14.0 and so should you.
  • npm 11.11.1 or newer (set in package.json via the packageManager field; corepack will activate it automatically).

Install

npm install -g @ikani.samani/workrail

No .npmrc configuration or authentication token is needed. The package is published publicly on the npm registry.

Verify

workrail --version

This prints the published package version. If you see a 404 Not Found, the package has not been published yet (a publish-time prerequisite is still outstanding).

Wire up your MCP client

WorkRail is an MCP server. You point your client (Claude Code, Claude Desktop, Cursor, Firebender, etc.) at it. Pick the section that matches your client.

Claude Code CLI

Add the server to ~/.claude.json (or a project-local .mcp.json):

{
  "mcpServers": {
    "workrail": {
      "command": "npx",
      "args": ["-y", "@ikani.samani/workrail"]
    }
  }
}

This launches WorkRail over stdio whenever Claude Code starts.

Claude Desktop

Add to claude_desktop_config.json (location varies by OS; see Anthropic's docs):

{
  "mcpServers": {
    "workrail": {
      "command": "npx",
      "args": ["-y", "@ikani.samani/workrail"]
    }
  }
}

Cursor / other MCP clients

WorkRail follows the standard stdio transport. Any client that supports an MCP server with a command and args should work with the same shape as above. See docs/integrations/ for client-specific notes (Firebender, Docker, etc).

Local dev binary (alternative to npx)

If you want a faster startup or do not want npx to fetch the package each time, install once globally and then reference the binary directly:

{
  "mcpServers": {
    "workrail": {
      "command": "workrail"
    }
  }
}

First run

Once your client is wired up, ask the agent to list available workflows. It should call WorkRail's discover_workflows tool and return the bundled set (wr.*).

Then start one:

"Use the wr.discovery workflow on this codebase."

WorkRail creates a session under ~/.workrail/data/sessions/<id>/. The agent will call continue_workflow between steps; you can see the live state in the console (worktrain console if you have it).

Configuration

Environment variables, workflow source paths, and config file format are documented in docs/configuration.md. The env.example at the repo root lists every variable WorkRail reads, with inline guidance.

Security posture

Read docs/security.md before deploying. It covers the workflow trust model (workflow JSON is trusted code; the workflow repo must be reviewed like production source), network exposure (MCP HTTP transport binds loopback by default; WORKRAIL_HTTP_HOST overrides it and logs a warning), and filesystem permissions (~/.workrail/ is mode 0o700).

Two rules worth lifting to the front:

  • Do not sync ~/.workrail/ to consumer cloud storage (Dropbox, iCloud Drive, Google Drive, OneDrive). Your HMAC signing keyring lives there.
  • Do not set WORKRAIL_HTTP_HOST to anything other than a loopback address unless you have an authenticated reverse proxy in front of WorkRail. The MCP endpoint has no built-in authentication.

Developing on the fork

If you are modifying WorkRail itself rather than just using it, see docs/development.md. It covers the clone-build-run loop, test conventions, the commit-msg hook quirk, and the upstream-merge hot spots.

Reporting issues

File issues in the ikani-pdq/workrail repository. Do not file bugs against upstream for issues that are specific to this fork.

Do not include session manifests, keyring contents, or pasted credentials in issue reports.

Upstream

This fork tracks EtienneBBeaulac/workrail periodically. The package name, registry, README, and release workflow are the canonical divergence points. See docs/development.md for the upstream-merge playbook.