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

@incultnitollc/agent-switch

v0.1.1

Published

One verb to migrate seamlessly between AI coding tools (Claude Code, aider, Cursor) and models (Gemini Flash/Pro, Claude Opus). Canonical installer for the hybrid setup + the switch/start/agent shell commands.

Downloads

297

Readme

agent-switch

One verb to migrate seamlessly between AI coding tools and models — no re-setup. switch claude drops you into Claude Code (Opus, subscription + connectors); switch flash runs aider on Gemini 3.5 Flash; switch opus runs aider on Opus for the money-path. It remembers your last pick, so a bare switch re-launches it.

switch claude    # Claude Code  — Opus, subscription + org connectors        → start
switch aider     # aider, cost-routed ladder                                 → agent
switch cursor    # Cursor editor (if installed)
switch flash     # aider · Gemini 3.5 Flash   (alias: gemini)                → fcode
switch pro       # aider · Gemini 3.1 Pro                                     → mcode
switch opus      # aider · Opus (API, money-path)                            → ocode
switch           # re-launch your last target

Install

npx @incultnitollc/agent-switch      # idempotent; safe to re-run
# then:
#   1) paste real keys into ~/.config/agent-keys.env
#   2) source ~/.zshrc

The installer: copies the shell lib to ~/.config/agent-switch.zsh, seeds ~/.config/agent-keys.env (chmod 600, placeholders — never clobbers real keys), source-guards it into your ~/.zshrc (skips if you already define these functions inline), and reports any missing prerequisites.

What you get

| Command | Launches | Tool | Model | Billing | |---|---|---|---|---| | start | Claude Code, cwd-anchored to your repos root, same memory/CLAUDE.md/MCP/plugins | Claude Code | Opus | subscription + connectors | | agent [-f\|-a\|-o] <repo> [task] | aider via a cost-router (Flash routine, Opus on money/auth/schema) | aider | Gemini / Opus | API | | switch <target> | the right tool+model for target, remembers it | any of the above | — | — | | fcode / mcode / ocode | aider on Fast / Mid / Smart pin directly | aider | Gemini / Opus | API |

Configure

Models are pinned in one file, ~/.config/agent-keys.env — edit these, nothing else:

export FAST_MODEL="gemini/gemini-3.5-flash"       # switch flash
export MID_MODEL="gemini/gemini-3.1-pro-preview"  # switch pro
export SMART_MODEL="anthropic/claude-opus-4-8"    # switch opus

Point start / agent at a different repos root:

export AGENT_REPOS_ROOT="/path/to/your/repos"     # default: ~/incultnito/Dev/Backend/repos

Prerequisites

  • aider (uv tool install aider-chat) — for agent, fcode/mcode/ocode, switch flash/pro/opus.
  • Claude Code (npm i -g @anthropic-ai/claude-code) — for start, switch claude.
  • Cursor (optional) — for switch cursor.
  • A CONVENTIONS.md in each repo (aider --reads it). Seed one with newrepo-aider ..

Uninstall

Remove the # >>> agent-switch >>> block from ~/.zshrc and delete ~/.config/agent-switch.zsh. Your keys in agent-keys.env are left untouched.

Notes

  • switch claude uses a claude() wrapper that unsets ANTHROPIC_API_KEY in a subshell, so Claude Code uses your subscription login + org connectors instead of metered API. Remove the wrapper if you prefer metered API billing.
  • New terminal tab + switch claude again = a parallel agent with the same memory.