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

@whyleonardo/agent-config

v0.6.5

Published

Interactive CLI for setting up AI agent configurations

Readme

Agent Config CLI

Interactive CLI tool for setting up AI agent configurations. Choose from preset configurations or customize your own setup with skills and commands tailored to your workflow.

🚀 Quick Start

# Run interactively (recommended)
npx @whyleonardo/agent-config

# Or install globally
npm install -g @whyleonardo/agent-config
agent-config

✨ Features

  • Interactive Setup: Beautiful CLI prompts powered by @clack/prompts
  • Preset Configurations: Pre-configured setups for common workflows
  • Customizable: Mix and match skills and commands to fit your needs
  • GitHub-Powered: Always fetches the latest configuration templates
  • Backup Support: Automatically backs up existing configurations
  • Local or Global: Install to project or apply globally

📦 Installation Options

🎯 Local (Project-Specific)

Install to current project's .claude/ directory:

npx @whyleonardo/agent-config
# Select "Project" when prompted

🌍 Global (All Projects)

Install to ~/.claude/ for all projects:

npx @whyleonardo/agent-config
# Select "Global" when prompted

🎨 Preset Configurations

Full-Stack React

Complete setup for React/Next.js full-stack development

  • Skills: TypeScript, React, Software Engineering, Code Review
  • Commands: create-feature, investigate, review-staged, open-pr

Backend API

Optimized for Node.js backend and API development

  • Skills: TypeScript, Software Engineering, Code Review
  • Commands: create-feature, investigate, review-staged, trim

Frontend Only

Focused on frontend development with React

  • Skills: TypeScript, React, Writing
  • Commands: create-feature, review-staged, open-pr

Minimal

Bare essentials for any TypeScript project

  • Skills: TypeScript, Software Engineering
  • Commands: investigate

🛠️ Available Skills

| Skill | Description | |-------|-------------| | typescript | TypeScript/JavaScript best practices and patterns | | react | React/Next.js component architecture and hooks | | software-engineering | Core engineering principles and design patterns | | writing | Technical writing and documentation standards | | reviewing-code | Code review guidelines and checklists |

⚡ Available Commands

| Command | Description | |---------|-------------| | create-feature | Scaffold new features following best practices | | investigate | Deep dive into bugs or issues with thorough analysis | | investigate-batch | Quick investigation for simple issues | | open-pr | Create pull requests with proper context | | review-staged | Review staged changes before committing | | trim | Enable concise response mode |

🎭 Interactive Flow

┌  Agent Config Setup
│
◇  Where would you like to install the configuration?
│  ● Project (.claude/) - Local to this project
│  ○ Global (~/.claude/) - All projects
│
◇  How would you like to configure?
│  ● Start with a preset (recommended)
│  ○ Custom selection
│
◇  Select a preset:
│  ● Full-Stack React
│  ○ Backend API
│  ○ Frontend Only
│  ○ Minimal
│
◇  Would you like to customize this preset?
│  Yes / No
│
◇  Git commit style preference:
│  ● Conventional Commits (recommended)
│  ○ Semantic Commits
│  ○ Custom
│
└  Setup complete!

📚 What Gets Installed

Claude Code Structure

.claude/
├── CLAUDE.md              # Global settings and workflow preferences
├── commands/              # Custom slash commands
│   ├── create-feature.md
│   ├── investigate.md
│   ├── investigate-batch.md
│   ├── open-pr.md
│   ├── review-staged.md
│   └── trim.md
└── skills/               # Coding guidelines and best practices
    ├── react/
    │   └── SKILL.md
    ├── reviewing-code/
    │   └── SKILL.md
    ├── software-engineering/
    │   └── SKILL.md
    ├── typescript/
    │   └── SKILL.md
    └── writing/
        └── SKILL.md

OpenCode Structure

.opencode/
├── AGENTS.md              # Project instructions and rules
├── command/               # Custom slash commands
│   ├── create-feature.md
│   ├── investigate.md
│   ├── investigate-batch.md
│   ├── open-pr.md
│   ├── review-staged.md
│   └── trim.md
└── skill/                # Coding guidelines and best practices
    ├── react/
    │   └── SKILL.md
    ├── reviewing-code/
    │   └── SKILL.md
    ├── software-engineering/
    │   └── SKILL.md
    ├── typescript/
    │   └── SKILL.md
    └── writing/
        └── SKILL.md

🔄 Backup & Safety

The CLI automatically creates backups when overwriting existing configurations:

  • Local installs: .claude-backup-<timestamp>/
  • Global installs: ~/.claude-backup-<timestamp>/

🌐 Requirements

  • Node.js ≥ 18.0.0
  • Internet connection (fetches templates from GitHub)

🛡️ Usage

# Interactive setup (default)
npx @whyleonardo/agent-config

# Or explicitly call init
npx @whyleonardo/agent-config init

# Show help
npx @whyleonardo/agent-config --help

# Show version
npx @whyleonardo/agent-config --version

🔗 Related

📝 License

MIT

🤝 Contributing

Issues and PRs welcome at github.com/whyleonardo/agent-config