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

@scriptdude/claude-init

v1.1.2

Published

Generate personalized Claude Code agents, commands, and rules based on your codebase and experience level.

Readme

claude-init

Generate personalized Claude Code agents, commands, and rules based on your codebase and experience level.

Features

  • 🎯 Universal Project Detection: AI-powered analysis works with ANY language, framework, or infrastructure
  • 👤 Personal Profile: Tailored to your role (frontend/backend/fullstack/devops) and experience level
  • 🤖 Model Choice: Choose between Claude Sonnet 4 (fast) or Opus 4 (advanced reasoning)
  • 📁 Three Scenarios:
    • ✨ New project from idea with tech stack recommendations
    • 📂 Existing codebase analysis (supports all languages/frameworks)
    • 🔄 Update existing Claude setup
  • 🧠 Advanced Prompt Engineering: Uses Anthropic's best practices (XML tags, chain-of-thought, role definitions)
  • 🔗 Smart Hooks: Automatically generates project-appropriate automation
  • 🛡️ Smart Guardrails: Prevents over-engineering and enforces real testing
  • 🚀 Beautiful UX: Progress tracking with real-time checkmarks

screenshot 1

screenshot 2

Installation

# Install globally
npm install -g @scriptdude/claude-init

# Or run directly
npx @scriptdude/claude-init

Usage

  1. Navigate to your project directory
  2. Run claude-init
  3. Answer a few quick questions
  4. Get personalized Claude Code setup!
cd your-project
claude-init

Environment Setup

Set your Anthropic API key:

export ANTHROPIC_API_KEY=sk-ant-your-key-here

Or the tool will prompt you for it interactively.

Generated Files

  • .claude/agents/*.md - Specialized agents with proper YAML headers and advanced prompt engineering
  • .claude/commands/*.md - Custom workflow commands with argument handling and tool restrictions
  • .claude/hooks/config.json - Smart automation hooks for your project type
  • CLAUDE.md - Project-specific rules and guardrails tailored to your technology stack

Examples

Universal Language Support

  • Python: Generates pytest agents, virtual env commands, PEP 8 enforcement
  • Go: Creates testing agents, module commands, gofmt hooks
  • Rust: Cargo-focused agents, clippy hooks, performance testing commands
  • Java: Maven/Gradle agents, Spring Boot commands, JUnit hooks
  • Any Framework: AI detects and adapts to YOUR specific stack

Intelligent Project Detection

  • Monorepos: Detects multiple package.json files, generates workspace-aware commands
  • Full-stack: Separate frontend/backend agents with appropriate tool restrictions
  • Legacy Code: Adapts to existing patterns without assumptions
  • Custom Frameworks: Works with proprietary or unusual technology stacks

Keyboard Shortcuts

  • Q - Quit at any time
  • Ctrl+C - Force quit

Model Options

  • Sonnet 4 (claude-sonnet-4-20250514) - Fast and efficient
  • Opus 4 (claude-opus-4-20250514) - Advanced reasoning for complex projects

Development

git clone <repo>
cd claude-init
npm install
npm run dev    # Run in development mode
npm run build  # Build TypeScript