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-ai-council

v1.0.1

Published

Multi-agent consensus system for Claude Code with skeptical architecture review

Readme

🏛️ AI Council for Claude Code

Multi-agent consensus system for better architectural decisions

Get balanced recommendations from multiple expert AI perspectives in parallel. Includes a Skeptical Architect who prevents over-engineering and a Generative Architect who finds the execution path.


🚀 Installation

# Quick install via npx (recommended)
npx claude-ai-council install

# Or install globally
npm install -g claude-ai-council
ai-council install

This installs to ~/.claude/ for system-wide use across all projects.

Requirements: Node.js ≥18.0.0, Claude Code


💡 Quick Start

Use the /council command in Claude Code:

/council

Problem: Should we use OAuth2 or session-based auth?
Context: Early-stage SaaS, 500 users, Node.js + PostgreSQL, 2 devs

The council will:

  1. Launch 3-4 specialized agents in parallel
  2. Collect anonymous expert opinions
  3. Synthesize recommendations with trade-offs
  4. Challenge all options (including the recommendation)

🎯 What You Get

Skeptical Architect

30-year veteran who challenges complexity and provides 3 viable approaches:

Option A - Boring But Works:
  What: Sessions with PostgreSQL
  Timeline: 3 weeks
  Fails when: 50K+ concurrent users

Option B - Balanced Pragmatism:
  What: JWT with refresh tokens
  Timeline: 5 weeks
  Fails when: Poor security practices

Option C - Ambitious Architecture:
  What: OAuth2 microservice
  Timeline: 8 weeks
  Fails when: 2 devs can't maintain it

Startup Truths:

  • "Your first architecture will be wrong" → Build for change
  • "You'll pivot before you scale" → Avoid premature optimization
  • "2 devs can't maintain microservices" → Team size dictates architecture

Generative Architect

Master builder who provides evolutionary build path:

Core - Ship in 2 Weeks:
  Minimum viable version that proves the concept

Enhanced - Build Once Core Validates:
  Compound on validated foundation

Visionary - The Moonshot:
  Category-defining future state

Build Truths:

  • "Shipped imperfect beats perfect unshipped"
  • "Users will surprise you every time"
  • "Momentum is a feature"

⚖️ Traditional vs Council Approach

Traditional:

You: "Should we use OAuth2 or sessions?"
Claude: "Use sessions for simplicity."

AI Council:

Launches 4 agents in parallel:
  • Skeptical: Challenges ALL options
  • Generative: Execution path for each
  • System: Scalability analysis
  • Security: Vulnerability assessment

Provides:
  ✅ 3 viable approaches (boring/balanced/ambitious)
  ⚡ Trade-off matrix
  🚨 Devil's advocate for each option
  📊 Decision framework with escape hatches
  💡 Recommendation WITH reservations

📖 Example Output

## 🏛️ Council Synthesis: Authentication Decision

### 🤝 Consensus
All agents agreed: Session-based auth is right choice
- Implementation: 3 weeks vs 8 weeks (OAuth2)
- Security: Sessions MORE secure (immediate revocation)
- Scale: Works to 10K users, then add JWT only if needed

### ⚡ Productive Tension
Skeptical: "Sessions work fine, don't complicate"
System: "Consider hybrid JWT for future API needs"
Resolution: Start simple, migrate when needed

### 🎯 Recommendation
Build: Session-based authentication
Stack: express-session + connect-pg-simple + bcrypt
Timeline: 2-3 weeks

Migration Path:
  Now → 10K users: Sessions
  Mobile app needed: Add JWT (both coexist)
  Never: OAuth2 server (unless 50K+ users + 10 devs)

### 🚨 Critical Insight
"OAuth2 is for third-party authorization, not email/password.
When you add social login, you'll be OAuth2 CLIENT, not SERVER."

🎯 Council Modes

# Balanced council (recommended)
/council --agents="generative,skeptical,security,performance"

# Architecture review
/council --agents="skeptical,system,backend,security"

# Build mode (momentum-focused)
/council --agents="generative,skeptical,quality"

# Standard panel (default if no agents specified)
/council

🔧 Custom Agents

Add your own expert agents:

# Create agent file
echo "# My Domain Expert..." > my-expert.md

# Install it
ai-council add-agent ./my-expert.md

# Use in council
/council --agents="skeptical,my-expert"

See docs/CUSTOM_AGENTS.md for details.


🛠️ What Gets Installed

~/.claude/
├── agents/
│   ├── skeptical-architect.md
│   ├── generative-architect.md
│   └── custom/                 # Your custom agents
└── commands/
    └── council.md              # /council command

🔄 Updating

# Auto-updates to latest version
npx claude-ai-council install

# Prompt before overwriting
npx claude-ai-council install --no-force

Your custom agents in ~/.claude/agents/custom/ are never touched.


📚 Common Use Cases

Architecture Decisions

/council
Problem: Monolith vs microservices?
Context: 10K users, 5 devs

Performance

/council
Problem: Redis caching or optimize queries?
Context: 500ms response time, 1000 concurrent users

Tech Selection

/council
Problem: Next.js vs vanilla React?
Context: Team knows React, need SEO

🤝 Contributing

Contributions welcome! See CONTRIBUTING.md.

  • 🐛 Report bugs: GitHub Issues
  • 💡 Suggest features
  • 🎨 Share custom agents
  • 📝 Improve docs

📄 License

MIT License - see LICENSE


🔗 Links


Made by developers who've seen too many over-engineered systems

"Show me three paths. Challenge all of them. Ship the boring one that works."