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

claude-auto

v0.16.0

Published

Husky-style hooks and skills management for Claude Code

Readme

Claude Auto

Husky-style hooks and skills management for Claude Code.

Build npm License TypeScript


Purpose

Without Claude Auto, you babysit every AI coding session. You watch, nudge, correct, and context-switch constantly. One task at a time, full attention required.

Claude Auto installs a quality loop into Claude Code via hooks. Validators gate every commit. Reminders inject your guidelines into every prompt. Deny-lists protect files from modification. Auto-continue keeps the agent working until the plan is done. The system earns trust, and trust enables parallelization via git worktrees.

Key Concepts

  • Hooks: Four integration points (SessionStart, PreToolUse, UserPromptSubmit, Stop) that let Claude Auto observe and control Claude Code's behavior
  • Validators: Markdown files with YAML frontmatter that ACK or NACK commits based on your criteria
  • Reminders: Context-injection files that surface your guidelines at the right moment
  • Deny-list: Glob patterns that protect files from modification
  • TCR Discipline: Test && Commit || Revert. Bad code auto-reverts
  • Auto-Continue: Keeps the agent going until the plan is done

Installation

npx claude-auto install

Quick Start

npx claude-auto install
npx claude-auto doctor

After installation, Claude Auto automatically:

  • Injects hooks that validate every commit against your criteria
  • Creates reminders that inject your guidelines into prompts
  • Sets up file protection via deny-lists
  • Merges settings with smart project/local overrides

Next steps:


How-to Guides

Verify Installation Health

npx claude-auto doctor

Fix Broken Symlinks

npx claude-auto repair

List Active Reminders

npx claude-auto reminders

Configure for CI/CD

npx claude-auto install --non-interactive

Multiply with Git Worktrees

git worktree add ../feature-auth feature/auth
git worktree add ../feature-payments feature/payments

cd ../feature-auth && npx claude-auto install
cd ../feature-payments && npx claude-auto install

Each worktree runs its own Claude Auto instance, all quality-validated.


CLI Reference

Commands

claude-auto install

Install and configure Claude Auto in your project.

claude-auto install [target-path] [options]

| Option | Type | Default | Description | | ------ | ---- | ------- | ----------- | | --local | boolean | false | Use development mode (runs TypeScript source directly via tsx) |

claude-auto doctor

Verify every expected symlink is valid and report issues.

claude-auto doctor

claude-auto status

Show symlink status for hook scripts, validators, and reminders.

claude-auto status

claude-auto repair

Recreate broken or missing symlinks between the package and project directories.

claude-auto repair

claude-auto reminders

List active reminders with name, hook, and priority metadata.

claude-auto reminders

claude-auto clean-logs

Remove old log files from the logs directory.

claude-auto clean-logs [options]

| Option | Type | Default | Description | | ------ | ---- | ------- | ----------- | | --older-than | number | 60 | Keep logs newer than N minutes |

claude-auto tui

Launch the full-screen terminal UI with live log tailing.

claude-auto tui

Configuration File

{
  "autoContinue": { "mode": "smart" },
  "validateCommit": { "mode": "strict", "batchCount": 3 },
  "denyList": { "enabled": true },
  "promptReminder": { "enabled": true },
  "subagentHooks": {
    "validateCommitOnExplore": false,
    "validateCommitOnWork": true,
    "validateCommitOnUnknown": true
  }
}

Configuration lives in .claude-auto/.claude.hooks.json. See the Configuration guide for all options.

Settings Layering

Settings merge in priority order:

  1. templates/settings.json (package defaults)
  2. .claude/settings.project.json (team overrides)
  3. .claude/settings.local.json (personal overrides)

How It Works

flowchart LR
    A[Claude Code] --> B[Hook Scripts]
    B --> C{Hook Type}
    C -->|SessionStart| D[Load Reminders]
    C -->|PreToolUse| E[Validate Commits + Deny-list]
    C -->|UserPromptSubmit| F[Inject Reminders]
    C -->|Stop| G[Auto-Continue Decision]
    E -->|ACK| H[Allow]
    E -->|NACK| I[Block + Revert]

Hook scripts read JSON from stdin, delegate to handlers in src/hooks/, log results, and output JSON to stdout. Validators are batched (default 3 per Claude CLI call) for efficient parallel validation. Reminders are matched by hook type, mode, and tool name, then injected as <system-reminder> blocks.


Troubleshooting

Command Not Found

Symptom: claude-auto: command not found

Cause: Package not installed globally or not in PATH.

Solution:

npx claude-auto install

Hooks Not Firing

Symptom: Commits go through without validation.

Cause: Settings not merged or symlinks broken.

Solution:

npx claude-auto doctor
npx claude-auto repair

Enable Debug Logging

DEBUG=claude-auto npx claude-auto install

Debug logs write to .claude-auto/logs/claude-auto/debug.log.


Documentation

| Guide | Description | | ----- | ----------- | | Getting Started | First-time setup and core concepts | | Installation | Detailed installation guide | | The Ketchup Technique | The planning methodology | | Configuration | All configuration options | | Hooks Guide | Hook system deep-dive | | Reminders Guide | Context injection system | | Validators Guide | Commit validation rules | | API Reference | Programmatic access | | Architecture | System design internals | | Origin Story | How Claude Auto came to be |


Architecture

src/
├── cli/                  # CLI commands (install, doctor, repair, status, reminders, tui)
│   └── tui/              # Full-screen terminal UI with live log tailing
├── hooks/                # Hook handlers (session-start, pre-tool-use, user-prompt-submit, auto-continue)
├── commit-validator.ts   # Batched commit validation with appeal support
├── config-loader.ts      # Cosmiconfig-based configuration
├── deny-list.ts          # File protection via micromatch patterns
├── reminder-loader.ts    # Markdown + YAML frontmatter reminder system
├── settings-merger.ts    # Three-layer settings merge with lock-file caching
├── hook-state.ts         # Hook state management (.claude.hooks.json)
├── validator-loader.ts   # Markdown validator loader
└── index.ts              # Public API barrel exports
scripts/
├── session-start.ts      # SessionStart hook entry-point
├── pre-tool-use.ts       # PreToolUse hook entry-point
├── user-prompt-submit.ts # UserPromptSubmit hook entry-point
└── auto-continue.ts      # Stop hook entry-point

Dependencies

| Package | Usage | | ------- | ----- | | commander | CLI framework | | cosmiconfig | Configuration file discovery | | gray-matter | YAML frontmatter parsing for validators and reminders | | micromatch | Glob pattern matching for deny-lists |


Development

Prerequisites

  • Node.js 18+
  • pnpm 10+

Setup

git clone https://github.com/BeOnAuto/claude-auto.git
cd claude-auto
pnpm install
pnpm build

Commands

| Command | Description | | ------- | ----------- | | pnpm build | TypeScript compile + esbuild bundle scripts | | pnpm test | Run all tests (vitest) | | pnpm type-check | TypeScript type checking | | pnpm lint | Biome lint check | | pnpm check | Full CI: build + type-check + test + lint |


License

MIT © 2025 BeOnAuto, Inc.

See LICENSE for details.