Skip to content

Sill

Native Windows Bash for AI coding agents. Run Claude Code, Codex, opencode & Gemini CLI without Git Bash, MSYS2 or WSL. Built in Rust, with MCP support.

Install: git clone https://github.com/lemonadesaltbagel/sill

Works with Claude Code, Codex, Gemini CLI, OpenCode · 221 GitHub stars

Install

$git clone https://github.com/lemonadesaltbagel/sill

Install command taken from the project's README or registry entry. Always review code before running it.

sill

Bash for coding agents on native Windows. sill is a drop-in bash.exe: a Bash interpreter (a fork of brush) with a Windows adapter built for the way agents run commands. It needs no Git, MSYS2 or WSL. Point Claude Code, opencode or Codex at it, or add it to Codex CLI or Gemini CLI as an MCP server, and the agent's shell commands behave the way the model expects from Linux, on Windows' own programs and files.

Why

An agent on Windows loses most of its failed commands at the boundary between the shell and Windows, not in its own reasoning:

  • Arguments: * and quotes get re-expanded or mangled on their way to .exe and .bat programs.
  • Paths: /c/... and C:\... forms get mixed up.
  • Encoding: non-English text turns to mojibake.
  • Console windows: one flashes up per command.
  • Background servers: they hold the harness's output pipe until it times out.
  • Missing tools: make, rg, ps, lsof aren't there.

sill takes each of these on directly, with a test for each.

Results

Measured on Windows with the Git Bash that ships with Git for Windows (and, for agents, PowerShell) as the comparison. Every suite, task and runner below is public in sill-bash-tests, with a workflow to rerun it.

Where Windows gets in the way, sill holds up

Conformance suite: 108 cases of what agents rely on, each with the reason it matters, run through bash.exe -c and through the MCP server, with sill installed in a folder whose name has a space. sill passes 108/108 both ways; Git Bash passes 78.

area cases sill Git Bash
Encoding (non-English text through pipes, file names, git paths, $(...) of legacy output) 11 11 5
Arguments to native programs (*, quotes, / switches, .bat) 13 13 10
Tools agents use (rg, ps, pgrep, make, jq, uname, stat, ...) 17 17 14
Processes (background jobs, kill, pkill, disown) 12 12 10
Line endings and bytes 5 5 3
Size limits (long scripts, thousands of arguments) 4 4 3
Running scripts (#!, cmd /c NAME.bat, CRLF files, traps in subshells and functions) 10 10 7
Programs that prompt (git commit with no message, vi, pagers) 4 4 1
Look-alikes (inputs sill's rules must leave alone) 12 12 7
Paths, files, errors (install hints, syntax errors in bash's words) 20 20 18

In a Chinese-locale Windows container (code page 936, no Git on the machine), sill passes 106/106 of the cases that apply there, also with a windowless console; Git Bash passes 72.

Real agents, fewer failed commands: 18 tasks with automatic checks (a Makefile project, an npm dev server started and stopped, Unicode paths, a .bat with % arguments, 4,000 files, an MSVC build), DeepSeek's low-cost model, two runs per task on the Chinese-locale laptop:

harness sill Git Bash PowerShell
Claude Code 34/36 passed, 1 failed call of 120, 493 s 35/36, 8 of 154, 637 s 35/36, 9 of 141, 777 s
opencode 35/36, 3 of 104, 403 s 35/36, 18 of 149, 622 s 29/36, 15 of 132, 904 s
Codex CLI 36/36, 6 of 136, 634 s 36/36, 22 of 172, 846 s 35/36, 44 of 208, 1094 s

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Explore related