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

@councilex/cli

v0.1.0

Published

Councilex CLI — multi-model AI orchestration from your terminal

Readme

@councilex/cli

Multi-model AI orchestration from your terminal — part of Councilex.

Install

npm install -g @councilex/cli
# or
pnpm add -g @councilex/cli

Requires Node.js >= 20.

Authenticate

councilex auth login --api-key cxl_live_xxxxxxxx --project-id <uuid>

This writes ~/.councilex/config.json with your API key, optional server URL, and default project id. Subsequent commands use those values unless overridden by flags or these env vars:

| Env var | Purpose | |---|---| | COUNCILEX_API_KEY | Override stored API key | | COUNCILEX_SERVER_URL | Override base URL (default https://api.councilex.ai) | | COUNCILEX_PROJECT_ID | Override stored default project |

Commands

councilex audit <file>

Audit a source file. Defaults to task_type=code-audit with the adversarial pattern.

councilex audit ./src/auth.ts
councilex audit ./src/auth.ts --task security-audit
councilex audit ./src/auth.ts --pack supabase-security
councilex audit ./src/auth.ts --whisper          # private to calling team member

councilex audit-plan <file>

Audit a planning or architecture doc (task_type=plan-audit).

councilex ask <question...>

Natural-language query against the project.

councilex ask "what are the 3 most critical open issues?"
councilex ask --codebase "which files have never been audited?"

councilex fix --finding <id>

Generate a unified-diff fix for a finding.

councilex fix --finding 7a3...
councilex fix --finding 7a3... --create-branch

councilex health [--history 30d] [--file path]

Project health score. --history shows a trend; --file returns a file-level score.

councilex ship-checklist

Before-you-ship readiness check. Exit code 0 = ready, 1 = blockers present.

councilex usage [--project id] [--all]

Account-level spend + session + finding totals.

councilex estimate <file> [--task type]

Estimate cost + latency before running an audit.

councilex replay --session <id> [--model id]

Replay a session, optionally swapping a single model to compare outputs.

Deferred (land in later phases)

  • councilex schedule list / run <name> — Scheduler service (P5S6b).
  • councilex roi — ROI dashboard (Phase 7).

Cursor / Claude Code integration

Add Councilex to your .mcp.json so your editor's AI can call it as a first-class MCP tool:

{
  "mcpServers": {
    "councilex": {
      "type": "http",
      "url":  "https://api.councilex.ai/mcp",
      "headers": {
        "X-API-Key": "cxl_live_xxxxxxxx"
      }
    }
  }
}

Exit codes

| Code | Meaning | |---|---| | 0 | Success | | 1 | Local problem (missing config, unreadable file, not-found resource) | | 2 | Server / upstream error |

Publish (maintainers)

This package publishes automatically when a cli-vX.Y.Z tag is pushed to the monorepo. The workflow lives at .github/workflows/cli-publish.yml.

License

ISC