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

@yunzuriahn/macc

v0.5.1

Published

Multi-Agent Coding Client — AI coding assistant that seamlessly switches models when context limits are hit

Readme

MACC — Multi-Agent Coding Client

MACC is an AI coding assistant CLI that isn't locked to one model. It calls AI APIs directly, streams responses to your terminal, and tracks token usage in real time. When you're near the context limit, it compresses the session and seamlessly hands it off to a fresh model — same work, no lost progress.

Why MACC?

Most AI coding assistants (Claude Code, Gemini CLI, Copilot) are locked to one provider. MACC lets you:

  • Start with Claude, automatically compress and continue with Gemini when you hit the limit — no re-explaining context
  • Use any supported model from the same interface with a consistent UX
  • Own your session — MACC talks directly to APIs, so token counts are exact and nothing is hidden

Install

npm install -g @yunzuriahn/macc

Requires Node.js 20+.

Getting Started

Run macc and follow the first-time setup wizard:

$ macc

  MACC — First-time setup
  No credentials found. Log in to a provider to get started.

    [1] Claude (via Claude CLI)
    [2] Google Gemini (via gcloud)
    [3] Qodo (coming soon)

  > 1

  Opening browser for Claude login...
  [browser opens]

  Claude login successful.

MACC uses your existing CLI logins — no API keys to copy, paste, or rotate.

| Provider | Login method | |---|---| | Anthropic / Claude | claude auth login (Claude CLI) | | Google / Gemini | gcloud auth application-default login | | Qodo | Coming soon |

Usage

# Pick an installed agent to launch
macc

# Launch a specific agent
macc start -a codex

# Show all agents and current context usage
macc status

# Open the live dashboard
macc watch

In-session commands

/status    — show token usage breakdown
/model     — show current model
/switch    — manually trigger handoff menu
/help      — all commands
Ctrl+C     — exit

Context Handoff

When your context reaches 90%, MACC warns you. At 98% it presents a handoff menu:

  ⚠  Context at 98% — 196,000 / 200,000 tokens used.

  Compress and continue with:
    [1] Gemini 2.5 Pro   (1M ctx — recommended)
    [2] Claude — new session

> 1

  Compressing session... done (2.1s)
  Switching to gemini-2.5-pro...
  Continuing from: "Fix auth middleware JWT validation"

The compression extracts the goal, key decisions, files touched, and pending tasks into a structured handoff so the next model starts with full context.

Supported Models

| Provider | Models | Context | |---|---|---| | Anthropic | claude-sonnet-4-6, claude-opus-4-7, claude-haiku-4-5 | 200k | | Google | gemini-2.5-pro, gemini-2.0-flash | 1M |

Configuration

~/.macc/config.json (auto-created with defaults):

{
  "defaultModel": "claude-sonnet-4-6",
  "warningThresholdPercent": 90,
  "autoPromptThresholdPercent": 98,
  "handoffOrder": ["gemini-2.5-pro", "claude-sonnet-4-6"]
}

Security

  • No API keys stored — MACC reads OAuth tokens from your existing CLI credential stores (~/.claude/.credentials.json, gcloud ADC). You never paste keys into MACC.
  • Credentials never logged — tokens are read in-memory and never written to disk by MACC.
  • Least-privilege credential files — if MACC creates any local files (e.g. ~/.macc/.env for optional manual overrides), they are written with mode 0o600 (owner read/write only).
  • No telemetry — MACC makes no outbound calls except to the AI provider APIs you explicitly log into.

Architecture

See docs/ARCHITECTURE.md.

License

MIT