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

killshot-cli

v0.1.0

Published

Autonomous issue-fixing CLI — picks up labeled GitHub issues, fixes them with Claude Code, and creates PRs

Readme

killshot

Autonomous issue-fixing CLI. Picks up labeled GitHub issues, fixes them with Claude Code in isolated worktrees, and creates PRs — all unattended.

Install

npm install -g killshot
# or
npx killshot

Prerequisites

Quick Start

cd your-repo
killshot init          # Interactive config wizard → .killshot.json
killshot run --dry-run # Preview what would be fixed
killshot run --once    # Fix one issue, then exit
killshot run           # Continuous loop

Commands

| Command | Description | |---------|-------------| | killshot run | Start the continuous issue-fixing loop | | killshot run --once | Fix one issue, then exit | | killshot run --dry-run | Show next issue without acting | | killshot init | Interactive config wizard | | killshot clean | Remove state file + prune stale worktrees |

Global Flags

  • --config <path> — Path to config file (default: .killshot.json)
  • --verbose — Enable debug logging
  • --prompt <path> — Custom prompt template

Config: .killshot.json

{
  "baseBranch": "main",           // Auto-detected: dev > main > master
  "issueLabel": "AI-Fixable",
  "qaCommand": null,              // e.g. "bun run qa" — null skips QA steps
  "worktreeDir": "../killshot-worktrees",
  "worktreeSetup": null,          // Post-worktree script, e.g. "./scripts/setup.sh"
  "failureLabel": "needs-human",
  "maxRetries": 3,
  "cooldown": 10,                 // Seconds between iterations
  "agentName": "killshot",
  "prompt": null                  // null = bundled default template
}

How It Works

  1. Finds the oldest open issue with the configured label
  2. Filters out issues that already have PRs, agent comments, or human assignees
  3. Claims the issue with a comment
  4. Creates an isolated git worktree
  5. Spawns Claude Code with a structured prompt to fix the issue
  6. On success: PR is created, worktree cleaned up, moves to next issue
  7. On failure: retries up to maxRetries, then labels the issue for human review

Graceful Shutdown

Ctrl+C during a run preserves state. Next killshot run resumes where it left off.

Custom Prompts

Create a custom prompt template with {{variable}} placeholders:

| Variable | Description | |----------|-------------| | {{repoRoot}} | Repository root path | | {{worktreePath}} | Current worktree path | | {{agentName}} | Agent name from config | | {{baseBranch}} | Base branch for PRs | | {{qaCommand}} | QA command (empty if null) | | {{issueLabel}} | Issue label to pick up | | {{failureLabel}} | Label for failed issues | | {{maxRetries}} | Max retry count | | {{issueNumber}} | Current issue number | | {{issueTitle}} | Current issue title | | {{issueBody}} | Current issue body |

Conditional blocks: {{#qaCommand}}...{{/qaCommand}} — removed entirely if qaCommand is null.

License

MIT