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

@imbios/coding-helper

v2.1.0

Published

CLI tool and Claude Code plugin for switching between Z.AI (GLM) and MiniMax API providers

Downloads

928

Readme

coding-helper - Z.AI & MiniMax API Manager for Claude Code

NPM Version NPM Downloads License Bun

A powerful CLI tool and Claude Code plugin for seamless management of Z.AI (GLM) and MiniMax API providers. Switch between providers, manage multiple accounts, track usage, rotate API keys, and monitor quotas directly from your terminal.

What is coding-helper?

coding-helper is a developer utility that enables Claude Code users to switch between Z.AI (GLM) and MiniMax API providers without code changes. It provides a unified CLI interface for:

  • Provider switching - Toggle between Z.AI and MiniMax instantly
  • Multi-account management - Configure and switch between multiple API accounts
  • API key rotation - Automatic rotation with configurable strategies
  • Usage tracking - Monitor quotas, costs, and consumption in real-time
  • Web dashboard - Visual interface for monitoring (v2.0+)

Features

Provider Management

| Feature | Description | |---------|-------------| | Unified CLI | Configure and switch providers with simple commands | | Interactive Setup | Guided configuration wizard | | Multi-Account Support | Manage multiple accounts per provider | | API Key Rotation | Round-robin, least-used, or priority strategies |

Monitoring & Tracking

| Feature | Description | |---------|-------------| | Real-time Usage | Monitor API consumption instantly | | Usage History | Visualize patterns over last 30 days | | Cost Estimation | Calculate costs for different models | | Alert System | Get notified when approaching limits |

Developer Experience

| Feature | Description | |---------|-------------| | Shell Completion | Full tab completion for bash, zsh, fish | | Claude Code Plugin | Native /imbios: slash commands | | Configuration Profiles | Switch between configurations | | Web Dashboard | Visual monitoring on port 3456 |

Quick Start

Installation

# Install via npm
npm install -g @imbios/coding-helper

# Or via bun (recommended)
bun install -g @imbios/coding-helper

# Run directly with npx
npx @imbios/coding-helper config

Basic Usage

# Configure API providers
imbios config

# Switch between providers
imbios switch zai      # Use Z.AI (GLM)
imbios switch minimax  # Use MiniMax

# Check status
imbios status

# View usage
imbios usage

Claude Code Integration

After installation, use slash commands in Claude Code:

/imbios:status   - Show current provider and API status
/imbios:usage    - Query usage for active provider
/imbios:switch   - Switch between providers
/imbios:models   - List available models
/imbios:test     - Test API connection

Supported Models

Z.AI (GLM)

| Model | Tier | Use Case | |-------|------|----------| | GLM-4.7 | Opus | Most capable, complex tasks | | GLM-4.5-Air | Haiku | Fast, efficient responses |

MiniMax

| Model | Tier | Use Case | |-------|------|----------| | MiniMax-M2.1 | Opus/Sonnet | Latest flagship model | | MiniMax-M2 | Haiku | Efficient, cost-effective |

Commands Reference

Core Commands

| Command | Description | |---------|-------------| | imbios config | Interactive provider configuration | | imbios switch <provider> | Switch active provider (zai/minimax) | | imbios status | Show current provider and status | | imbios usage | Query usage statistics | | imbios history | Show usage history (30 days) | | imbios cost [model] | Estimate costs for models | | imbios test | Test API connection | | imbios doctor | Diagnose configuration issues |

Multi-Account Management (v2.0)

| Command | Description | |---------|-------------| | imbios account list | List all configured accounts | | imbios account add | Add new API account | | imbios account switch <id> | Switch to specific account | | imbios account remove <id> | Remove an account |

API Key Rotation (v2.0)

# Rotate to next available key
imbios rotate zai
imbios rotate minimax

Web Dashboard (v2.0)

# Start dashboard (default port 3456)
imbios dashboard start

# Custom port
imbios dashboard start 8080

# Check status
imbios dashboard status

Alerts (v2.0)

# List alerts
imbios alert list

# Add new alert
imbios alert add

# Enable/disable alerts
imbios alert enable <id>
imbios alert disable <id>

Shell Completion

# Generate completion for your shell
imbios completion bash >> ~/.bashrc
imbios completion zsh >> ~/.zshrc
imbios completion fish > ~/.config/fish/completions/imbios.fish

Environment Variables

When active, coding-helper sets:

ANTHROPIC_AUTH_TOKEN=<provider_api_key>
ANTHROPIC_BASE_URL=<provider_base_url>
ANTHROPIC_MODEL=<default_model>
API_TIMEOUT_MS=3000000

Export for shell integration:

eval "$(imbios env export)"

Configuration Files

  • Primary: ~/.claude/imbios.json
  • Profiles: ~/.claude/imbios-profiles.json
  • v2.0 Config: ~/.claude/imbios-v2.json

Installation from Source

git clone https://github.com/ImBIOS/coding-helper.git
cd coding-helper
bun install
bun run build
./bin/imbios.js config

Requirements

  • Runtime: Bun 1.2.0+ or Node.js 18+
  • Shell: Bash, Zsh, or Fish
  • OS: Linux, macOS, Windows (WSL)

Technology Stack

  • Language: TypeScript (ES2022)
  • Runtime: Bun (primary), Node.js (fallback)
  • CLI Framework: Inquirer.js
  • Code Quality: Biome with Ultracite preset

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

Keywords

anthropic-api, claude-code, glm, minimax, api-client, cli-tool, provider-management, api-key-rotation, usage-tracking, shell-completion, multi-account, developer-tools, ai-assistant, terminal-tool, zai-api, glmmodel, bun, typescript