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

@sparkays/claude-autopilot

v1.0.1

Published

Self-driving GSD orchestrator for Claude Code. One command to plan, parallelize, and grind through phases until done.

Downloads

52

Readme

claude-autopilot

Self-driving GSD orchestrator for Claude Code. Describe what you want in plain English, and it plans, parallelizes, and grinds through phases until done.

What it does

/auto-work "build a REST API with auth, rate limiting, and admin dashboard"
  1. Orients — detects GSD project state, onboards if needed
  2. Classifies — routes quick fixes vs. multi-phase milestones
  3. Parallelizes — detects independent phases, fans out subagents with file-overlap conflict detection
  4. Loops — iterates through plan → execute → verify cycles until all phases complete
  5. Isolates — PID-based instance locking prevents concurrent corruption

No manual phase-by-phase orchestration. No babysitting. One command, walk away.

Install

npx claude-autopilot

This will:

  • Install GSD if you don't have it
  • Copy the skill, command, and stop hook to ~/.claude/
  • Register the loop hook in your Claude Code settings

Usage

Basic

# In Claude Code:
/auto-work "implement user authentication with JWT and refresh tokens"

Flags

| Flag | Description | |------|-------------| | --quick | Force quick-task routing (skip scope classification) | | --no-loop | Plan and execute once, don't loop | | --resume | Resume a previous autopilot session | | --max-iterations N | Cap loop iterations (default: 25) |

Examples

# Quick fix — detected automatically, no loop
/auto-work "fix the broken login redirect"

# Full milestone — plans phases, loops until done
/auto-work "build a notification system with email, push, and in-app delivery"

# Resume after context reset
/auto-work --resume

# One-shot, no loop
/auto-work --no-loop "add rate limiting to the API"

How it works

Parallel phase detection

Before executing, autopilot analyzes the phase dependency graph:

  • Checks files_modified in each phase's PLAN.md
  • Verifies no explicit dependency declarations between phases
  • Only fans out phases that have ready plans (never plans + executes in the same parallel batch)

When independent phases exist, it dispatches subagents that work concurrently. State files (ROADMAP.md, STATE.md) are only updated by the orchestrator after all agents report back — never by the subagents themselves.

Loop mechanism

Uses a stop-hook that intercepts Claude Code's session exit:

  1. Checks for a <promise> tag in the last assistant output
  2. If the completion promise isn't met, increments the iteration counter and feeds the prompt back
  3. Each iteration gets fresh context, preventing context window degradation

The loop stops when:

  • All phases are complete (promise fulfilled)
  • Max iterations reached (default: 25, most milestones finish in 5-15)
  • Stuck detection triggers (no progress after 3 iterations)

Instance locking

A PID-based lock file at .planning/.auto-work.lock prevents multiple autopilot instances from running simultaneously. Stale locks (dead PID or >2 hours old) are automatically reclaimed.

Uninstall

npx claude-autopilot uninstall

Removes the skill, command, and hook. GSD is left in place (manage it separately).

Requirements

License

MIT — see LICENSE.

Stop hook derived from Ralph Loop by Anthropic (Apache 2.0) — see NOTICE.