Skip to content

About

A Windows context menu integration for popular LLM command-line tools. Right-click on any folder to quickly launch your favorite AI assistants. Claude Code, Opencode, Codebuff, Gemini CLI, Kilo Code CLI, Qwen Code, GLM, Droid, OpenAI Codex

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

RightClick CLI | Windows context menu launcher for AI coding CLIs

A Windows context menu integration for popular LLM command-line tools. Right-click on any folder to quickly launch your favorite AI assistants. Claude Code, Claude Code (Custom), Opencode, Codebuff, Antigravity CLI, Kilo Code CLI, Qwen Code, Droid, OpenAI Codex

RightClick CLI Installer

Windows License BuyMeACoffee


Features

  • One-click access to multiple LLM CLIs from Windows Explorer
  • Supported tools:
  • Windows Terminal integration - Opens in a new terminal tab
  • Custom icons for each tool
  • Interactive installer with configuration options

Requirements

  • Windows 10/11
  • Windows Terminal installed
  • The CLI tools you want to use must be installed and available in PATH

⚠️ Important: This project only installs the context menu integration. It does not install the CLI tools themselves. You must install each CLI tool separately following their official documentation before using this menu.

Installation

Step 1: Install the CLI Tools

Before installing the context menu, make sure you have installed the CLI tools you want to use:

  • Claude Code - Follow installation instructions in their repository
  • Antigravity CLI - Google's new agent-first CLI assistant (command: agy), which succeeds the now deprecated Gemini CLI.
  • Qwen - See their official installation guide
  • Droid - Visit their website for installation steps
  • Opencode - Follow their repository instructions
  • Codebuff - Visit their website for installation steps
  • Codex CLI - Visit their website for installation steps

Ensure the CLI tools are available in your system PATH by testing them in a terminal (e.g., claude, agy, qwen, droid, opencode, codebuff, kilo, codex).

Quick Install Reference

Tool Install Command
Claude Code (PowerShell) irm https://claude.ai/install.ps1 | iex
Claude Code (CMD) curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
Claude Code (Custom) Same as Claude Code
Antigravity CLI (PowerShell) irm https://antigravity.google/cli/install.ps1 | iex
Qwen npm install -g @qwen-code/qwen-code@latest
Droid npm install -g droid
Opencode npm install -g opencode-ai
Codebuff npm install -g codebuff
Kilo npm install -g @kilocode/cli
Codex CLI npm i -g @openai/codex

Note: Gemini CLI was officially deprecated by Google and replaced by Antigravity CLI (agy). Always refer to the official documentation for the most up-to-date installation instructions.

Step 2: Install the Context Menu

  1. Clone or download this repository
  2. Run install.bat
  3. Follow the interactive prompts

Installation Options

During installation, you'll be asked to select which context menu entries to add:

  1. Claude Code - Adds two menu options:
    • Claude Code - Safe mode with permission prompts
    • Claude Code (Yolo) - Skips all permission prompts (use with caution)
  2. Claude Code (Custom) - Runs Claude Code against any Anthropic-compatible API. You pick the display name during install (defaults to "Custom") and are prompted for credentials — see Custom Configuration. Also installs the ccc terminal command (see Launching from the terminal).
  3. Antigravity CLI - Google's Antigravity CLI (agy)
  4. Qwen - Alibaba's Qwen CLI
  5. Droid - AI coding assistant
  6. Opencode - Open source AI coding assistant
  7. Codebuff - AI coding assistant CLI
  8. Kilo - Kilo AI CLI
  9. Codex CLI - Codex CLI

You can select any combination of tools - only the selected ones will appear in the context menu.

Remember: Install the actual CLI tools first by visiting their respective documentation pages (linked above).

Usage

After installation:

  1. Right-click on any folder in Windows Explorer
  2. Select "Open with AI CLI" from the context menu
  3. Choose your preferred AI assistant

You can also right-click on an empty area inside any folder to get the same menu.

Launching Claude Code (Custom) from the terminal

The context menu is handy, but sometimes you just want a command. When you install Claude Code (Custom), the installer also registers a ccc command (Claude Code Custom) so you can launch it directly from any terminal (cmd, PowerShell, Windows Terminal):

ccc

Any extra arguments are forwarded to Claude Code, so these work too:

ccc --resume
ccc --dangerously-skip-permissions
ccc -p "explain this folder"

This works because the installer:

  1. Creates %USERPROFILE%\.llm-cli\ccc.cmd, a thin launcher that calls claude-custom.cmd (so your credentials live in exactly one place).
  2. Adds %USERPROFILE%\.llm-cli to your user PATH (idempotently — it won't add a duplicate entry).

Open a new terminal after installing for the command to become available. ccc is removed automatically when you run uninstall.bat (which also cleans up the PATH entry).

Uninstallation

Run uninstall.bat to:

  • Remove all registry entries
  • Delete the %USERPROFILE%\.llm-cli folder and its contents

Note: Uninstallation does not require administrator privileges.

File Structure

.
├── install.bat           # Interactive installer script
├── uninstall.bat         # Uninstaller script
├── assets/               # Icon files
│   ├── cli.ico           # Main menu icon
│   ├── claude.ico        # Claude Code icon
│   ├── claudecustom.ico # Claude Code (Custom) icon
│   ├── antigravity.ico  # Antigravity CLI icon
│   ├── qwen.ico          # Qwen icon
│   ├── droid.ico         # Droid icon
│   ├── opencode.ico      # Opencode icon
│   ├── codebuff.ico      # Codebuff icon
│   ├── kilo.ico          # Kilo icon
│   └── codex.ico         # Codex CLI icon
├── registry/             # Registry files
│   └── LLM_CLI_REMOVER.reg
└── README.md             # This file

Configuration

The installer creates files in %USERPROFILE%\.llm-cli\:

  • assets/ - Copied icon files
  • claude-custom.cmd - Generated script with your custom credentials (only if Custom is selected)
  • ccc.cmd - Terminal launcher for Claude Code (Custom) — see Launching from the terminal (only if Custom is selected)

Note: Installation does not require administrator privileges. Registry entries are created in user scope (HKEY_CURRENT_USER).

Custom Configuration

When you select Claude Code (Custom) during installation, the installer first asks how the entry should be labelled, then prompts for the API details:

Parameter Description Default
Display name Label shown in the context menu, as Claude Code (<name>) Custom
API Token Your API authentication token (required)
Base URL The Anthropic-compatible API endpoint https://api.z.ai/api/anthropic
Model The model name to use glm-5.2
Timeout Request timeout in milliseconds 3000000

The defaults point at the GLM API, but any Anthropic-compatible endpoint works — just override the Base URL and Model.

These values are stored locally in %USERPROFILE%\.llm-cli\claude-custom.cmd and are never committed to the repository. Each user provides their own credentials during installation.

Note: The display name only affects the menu label and log output. The generated file is always claude-custom.cmd and the terminal command is always ccc, so reinstalling under a different name leaves no stale entries behind (the installer cleans up the previous ones).

To update your credentials, simply re-run install.bat and select the Claude Code (Custom) option again.

Editing the Custom Script Manually

You can also edit the generated file directly at %USERPROFILE%\.llm-cli\claude-custom.cmd without re-running the installer. This is useful for:

  • Changing the API Key (ANTHROPIC_AUTH_TOKEN)
  • Switching the model (ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_HAIKU_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL)
  • Changing the Base URL or Timeout
  • Adding extra environment variables for Claude Code features

The default generated file looks like this:

@echo off
set ANTHROPIC_AUTH_TOKEN=your-api-token
set ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic
set API_TIMEOUT_MS=3000000
set ANTHROPIC_DEFAULT_OPUS_MODEL=glm-5.2
set ANTHROPIC_DEFAULT_HAIKU_MODEL=glm-5.2
set ANTHROPIC_DEFAULT_SONNET_MODEL=glm-5.2
claude %*

You can add any additional set lines before the claude command to enable experimental features or pass custom configuration. For example, to enable Agent Teams:

@echo off
set ANTHROPIC_AUTH_TOKEN=your-api-token
set ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic
set API_TIMEOUT_MS=3000000
set ANTHROPIC_DEFAULT_OPUS_MODEL=glm-5.2
set ANTHROPIC_DEFAULT_HAIKU_MODEL=glm-5.2
set ANTHROPIC_DEFAULT_SONNET_MODEL=glm-5.2
set CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
claude %*

Any environment variable supported by Claude Code can be added this way. Changes take effect the next time you launch Claude Code (Custom) — from the context menu or by typing ccc.

Security Note

The Claude Code (Yolo) option uses --dangerously-skip-permissions which bypasses all permission prompts. While convenient, this means Claude can:

  • Read/write files without asking
  • Execute commands without confirmation
  • Make changes to your system

Only use Yolo mode in trusted environments and projects you control.

Troubleshooting

Context menu not appearing

  • Try restarting Windows Explorer or logging out/in
  • Check if registry entries exist in HKEY_CURRENT_USER\Software\Classes\Directory\shell\LLMCLI

"wt.exe not found"

CLI not found when launching

This context menu installer does not install the CLI tools themselves. If you get a "command not found" error:

  • Install the CLI tool by following its official documentation (see Installation section)
  • Ensure the CLI tool is available in your system PATH
  • Test by running the CLI command directly in a terminal first (e.g., claude --version)

License

MIT License

Contributing

Contributions are welcome! Feel free to:

  • Add support for more LLM CLIs
  • Improve the installer
  • Add new features

Buy Me A Coffee

About

A Windows context menu integration for popular LLM command-line tools. Right-click on any folder to quickly launch your favorite AI assistants. Claude Code, Opencode, Codebuff, Gemini CLI, Kilo Code CLI, Qwen Code, GLM, Droid, OpenAI Codex

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages