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

@reaatech/agent-runbook-cli

v0.1.0

Published

CLI and orchestrator for agent-runbook-generator

Readme

@reaatech/agent-runbook-cli

npm version License: MIT CI

CLI and orchestrator for the Agent Runbook Generator. The primary entry point for generating operator runbooks from service repositories using AI analysis, plus a convenience barrel that re-exports all public APIs from the @reaatech/agent-runbook-* ecosystem.

Installation

npm install -g @reaatech/agent-runbook-cli
# or
pnpm add @reaatech/agent-runbook-cli

Feature Overview

  • 5 CLI commandsanalyze, generate, validate, export, serve
  • Multi-provider LLM support — Claude, OpenAI, Gemini, or mock (no-API) mode
  • Multi-format output — Markdown, HTML
  • MCP server modeserve command starts the MCP server for AI agent integration
  • Convenience barrel — re-exports all public APIs from the 13 other @reaatech/agent-runbook-* packages
  • CI integration — validation gate with configurable thresholds for CI/CD pipelines

CLI Usage

Analyze

agent-runbook-generator analyze /path/to/repo
agent-runbook-generator analyze /path/to/repo --json --depth 5

Scans a repository and outputs analysis in human-readable or JSON format.

Generate

agent-runbook-generator generate /path/to/repo --output runbook.md
agent-runbook-generator generate /path/to/repo --output runbook.md --provider claude --model claude-opus-4-5
agent-runbook-generator generate /path/to/repo --output runbook.md --provider mock

Generates a complete operator runbook with configurable sections and provider.

Validate

agent-runbook-generator validate runbook.md
agent-runbook-generator validate runbook.md --ci --completeness-threshold 0.8

Validates a runbook for completeness, accuracy, and cross-references. --ci flag enables JSON output with exit codes for pipeline use.

Export

agent-runbook-generator export runbook.md --format html --output runbook.html

Converts a runbook between formats (Markdown, HTML, PDF).

Serve

agent-runbook-generator serve --port 3000

Starts the MCP server for integration with AI coding agents.

Programmatic API

import { generateRunbook } from "@reaatech/agent-runbook-cli";

const runbook = await generateRunbook({
  path: "/path/to/repo",
  output: "runbook.md",
  format: "markdown",
  provider: "claude",
  model: "claude-opus-4-5-20260506",
  sections: ["alerts", "dashboards", "failure-modes", "rollback", "incident-response"],
});

This package re-exports all public APIs from the following packages as a convenience: @reaatech/agent-runbook (core types + utils), @reaatech/agent-runbook-analyzer, @reaatech/agent-runbook-alerts, @reaatech/agent-runbook-dashboards, @reaatech/agent-runbook-failure-modes, @reaatech/agent-runbook-health-checks, @reaatech/agent-runbook-incident, @reaatech/agent-runbook-rollback, @reaatech/agent-runbook-runbook, @reaatech/agent-runbook-service-map, @reaatech/agent-runbook-agent, @reaatech/agent-runbook-mcp, @reaatech/agent-runbook-observability.

Related Packages

License

MIT