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

@mcboyle/aic-win

v0.3.3-win.1

Published

Windows-optimized bridge for Claude Code and Gemini CLI - Fork of ai-code-connect

Readme

AIC-Win: Windows-Optimized AI CLI Bridge

npm version License: MIT Windows

AIC-Win (aic) is a robust command-line bridge that connects Claude Code and Gemini CLI into a single, unified workflow. It eliminates the friction of copy-pasting between terminals, enabling a seamless "Architect vs. Implementer" workflow directly in your shell.

This fork is specifically optimized for Windows environments, fixing common issues with path resolution, prompt truncation, and session context management that plague the original tool on Windows.

✨ Features

  • Zero Copy-Paste: Forward responses instantly between Gemini and Claude with /forward.
  • Windows Native Support: Correctly handles .cmd executables, shell escaping, and path resolution.
  • Unified Interface: Switch between tools (/gemini, /claude) without losing context.
  • Interactive Mode: Drop into full interactive sessions (/i) for complex tasks, then detach (Ctrl+]) to keep them running in the background.
  • Context-Aware Forwarding: Automatically includes your original prompt + the AI's response when forwarding, ensuring the receiving AI has full context.
  • Session Isolation: Prevents hallucination by ensuring forwarded messages don't bleed stale context from previous sessions.

🚀 Installation

Prerequisites

  • Node.js v20.0.0 or higher
  • Claude Code CLI (npm install -g @anthropic-ai/claude-code)
  • Gemini CLI (npm install -g @google/gemini-cli)

Install via NPM

npm install -g @mickboyle/aic-win

Install from Source

git clone https://github.com/mickboyle/aic-win.git
cd aic-win
npm install
npm run build
npm link

🎮 Quick Start

  1. Start the bridge:

    aic
  2. Ask Gemini to Architect a solution:

    /gemini
    Architect a scalable REST API structure for a Todo app using Express.js.
  3. Forward the plan to Claude to Implement:

    /forward Review this architecture. If it looks solid, implement the basic server setup.
  4. Validate the implementation with Gemini:

    /forward Does this implementation match your original architecture? Any security risks?

📖 Command Reference

| Command | Description | | :--- | :--- | | /gemini | Switch active tool to Gemini CLI. Add -i to enter interactive mode immediately. | | /claude | Switch active tool to Claude Code. Add -i to enter interactive mode immediately. | | /forward [msg] | Forward the last AI response to the other tool. Optionally add a message (e.g., /forward critique this). | | /forwardi | Forward the last response and immediately enter interactive mode with the target tool. | | /i | Enter full interactive mode with the current tool. | | /history | Show the conversation history. | | /clear | Clear conversation history and reset tool sessions. | | /status | Show status of background processes (PIDs, active state). | | /quit | Exit the application (alias: /cya). |

Keyboard Shortcuts

  • In Interactive Mode:
    • Ctrl+] or Ctrl+\ : Detach (keep session running in background).
    • Ctrl+6 or Ctrl+Q : Toggle quickly between tools.

🔧 Configuration

AIC-Win works out of the box. However, for advanced debugging, you can enable verbose logging:

PowerShell:

$env:AIC_DEBUG="1"
aic

CMD:

set AIC_DEBUG=1
aic

❓ Troubleshooting

"Command not found: aic"

Ensure your global npm bin folder is in your PATH. Run npm config get prefix to see where it is, and add that path to your environment variables.

"spawn ... ENOENT"

This usually means one of the underlying CLIs (Claude or Gemini) is not installed or not in your PATH. Run where claude and where gemini in PowerShell to verify they exist.

Claude is hallucinating / referencing old tasks

AIC-Win uses session isolation logic to prevent this. If it happens, run /clear to force a complete reset of all session contexts.

🤝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

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

📜 License

Distributed under the MIT License. See LICENSE for more information.

🙏 Acknowledgments