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

@genoventures-labs/pitstop

v0.1.0

Published

Scan codebase for obvious and uncaught bugs using Modelhitch model rotation, then output a structured handoff for the next agent.

Downloads

17

Readme


Overview

Pitstop is a command-line tool with a single focused job: scan your current working directory, rotate coding models through it via ModelHitch, surface obvious and uncaught bugs, and output a structured handoff report for the next agent to resolve.

Linters catch formatting and syntax issues, but silent logic errors, unhandled asynchronous rejections, race conditions, empty catch blocks, and missing parameter guards often slip through. Pitstop routes your codebase through coding models, aggregates their findings, and writes an actionable agent handoff document with exact file locations, triggers, and patch instructions.

Quickstart

Run directly using npx:

npx @genoventures-labs/pitstop

Or install globally:

npm install -g @genoventures-labs/pitstop
pitstop

How It Works

  1. Scan: Pitstop inspects the target directory, respects your .gitignore, filters lockfiles and binary assets, and structures the codebase context.
  2. Rotate: Leveraging ModelHitch, Pitstop rotates across configured coding models with automated failover handling on rate limits or provider downtime.
  3. Audit: Models audit the codebase for tangible, non-stylistic bugs across logic, runtime, concurrency, error handling, and security categories.
  4. Handoff: Results are compiled into a structured markdown report containing prioritized checklists, reproduction triggers, code patches, and copy-ready prompts for the next agent.
  5. Save: The report is saved to disk, and the absolute file path is presented in the terminal output.

Usage

# Scan the current directory
pitstop

# Scan a specific directory
pitstop ./packages/backend

# Specify a custom report destination
pitstop -o ./docs/pitstop-handoff.md

# Rotate through specific coding models
pitstop -m "opencode-zen/big-pickle,deepseek/deepseek-v4-flash"

# Run a multi-model consensus pass
pitstop --multi

# Run offline in mock mode without API keys
pitstop --mock

# Output companion JSON data
pitstop --json

Options

| Option | Short | Description | Default | | --- | --- | --- | --- | | [directory] | | Target directory to scan | . (current directory) | | --output | -o | Destination path for the markdown handoff report | ./pitstop-handoff.md | | --models | -m | Comma-separated list of provider and model pairs | ModelHitch configuration | | --multi | | Multi-pass rotation aggregating findings across models | false | | --mock | | Offline deterministic audit without network or keys | false | | --json | | Write companion structured JSON report | false | | --max-files | | Maximum number of files to process | 60 | | --verbose | -v | Display detailed scanner and rotation output | false | | --help | -h | Display command-line help | | | --version | -V | Output version number | |

Model Configuration

Pitstop integrates with ModelHitch for model routing and BYOK credential management:

  • Local configuration: Reads providers, keys, and policies from ~/.modelhitch/config.json.
  • Environment variables: Automatically falls back to standard provider environment variables (such as DEEPSEEK_API_KEY, OPENCODE_API_KEY, OPENROUTER_API_KEY, ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, and GROQ_API_KEY).
  • Automatic failover: When a provider reports rate limits (HTTP 429) or service interruption, ModelHitch rotates transparently to the next available lane.

Agent Handoff

The generated report (pitstop-handoff.md) provides:

  • Executive summary with metrics and repository health status
  • Prioritized task checklist for the next agent
  • Detailed bug cards with file paths, line ranges, triggers, and patch code
  • Copy-paste prompt ready for tools such as Claude Code, Codex, Cursor, or Antigravity
  • Embedded JSON payload for automated parsing

License

MIT (c) bobbybacklogs