正在自动登录…
Balanov/ shim
Shim 是一个轻量级的本地优先 AI 工具,通过命令行或自然语言交互,支持连接多种模型、MCP 服务器和 Agent Skills,适合喜欢终端操作的用户。
AI 中文解读 · 根据仓库描述与 README 生成 · 2026/11/3 04:06:27 · 查看原文
- 累计 Stars
- 101
- 当前热度
- 1 天内 · 小火
- 仓库创建时间
选用指南
AI 根据 README 整理 · 2026/11/3 04:06:27
- 适用场景
适合在终端中管理多种 AI 模型、MCP 工具和 Skills,进行自动化任务或对话。
查看 README 依据
<a href="https://github.com/Balanov/shim/releases"><img src="https://img.shields.io/badge/platform-Windows%20%C2%B7%20macOS%20%C2%B7%20Linux-lightgrey.svg" alt="Platforms"></a> </p> ## Why Shim? Model-agnostic coding agents are everywhere. Setting them up is still too hard: provider IDs, API endpoints, MCP JSON, skills directories, and a new interface for every tool. **Shim is the small adapter between you and all of that.** - **Talk or type commands.** A full scriptable CLI for experts; ordinary language for everyone else.
- **Use a local mini-model as the command router.** It translates management requests into an allowlisted command. Mutating commands require confirmation. - **Bring any model API.** Native OpenAI-compatible and Anthropic adapters, plus presets for popular hosted and local providers. - **Bring any MCP server or Agent Skill.** MCP over stdio and Streamable HTTP; lazy `SKILL.md` loading from common directories. - **Stay light.** No Electron, Node, Python, Docker, database, background daemon, or UI framework.
- 目标用户
面向偏好终端操作的用户,提供脚本化 CLI 和自然语言交互。
查看 README 依据
<a href="https://github.com/Balanov/shim/releases"><img src="https://img.shields.io/badge/platform-Windows%20%C2%B7%20macOS%20%C2%B7%20Linux-lightgrey.svg" alt="Platforms"></a> </p> ## Why Shim? Model-agnostic coding agents are everywhere. Setting them up is still too hard: provider IDs, API endpoints, MCP JSON, skills directories, and a new interface for every tool. **Shim is the small adapter between you and all of that.** - **Talk or type commands.** A full scriptable CLI for experts; ordinary language for everyone else.
- 使用方式
通过命令行使用,支持自然语言命令和完整 CLI,可交互式运行。
查看 README 依据
On PowerShell, use `.\shim.exe` when running the binary from the current directory. ### With Go Go 1.25+: ```sh go install github.com/Balanov/shim/cmd/shim@v0.1.0 shim setup ``` ### From source ```sh git clone https://github.com/Balanov/shim.git cd shim go test ./... go build -trimpath -ldflags="-s -w" -o shim ./cmd/shim ./shim setup ``` Windows also has `scripts/build.ps1`; Unix has `scripts/build.sh`. ## Two ways to use it ### Just talk ```text you › найди локальные модели ↳ /discover --add Run this command? [y/N] y you › show my tools ↳ /tools
### Use the complete CLI ```sh # Local models: discover and configure all running servers shim model discover --add # Hosted models shim model add openrouter anthropic/claude-sonnet-4.5 --name claude --use shim model add openai gpt-5 --name gpt --use shim model add huggingface org/model --name hf --use # Any OpenAI-compatible endpoint shim model add custom my-model --name mine \ --base-url http://127.0.0.1:8000/v1 --use # One-shot agent run shim run --read-only "explain this repository" shim run --yes --verbose "fix the tests and verify the result" # Interactive terminal shim ```
- 部署要求
需要 Windows、macOS 或 Linux 系统,可下载静态二进制或使用 Go 1.25+ 构建。
查看 README 依据
<a href="https://github.com/Balanov/shim/releases"><img src="https://img.shields.io/badge/platform-Windows%20%C2%B7%20macOS%20%C2%B7%20Linux-lightgrey.svg" alt="Platforms"></a> </p> ## Why Shim? Model-agnostic coding agents are everywhere. Setting them up is still too hard: provider IDs, API endpoints, MCP JSON, skills directories, and a new interface for every tool. **Shim is the small adapter between you and all of that.** - **Talk or type commands.** A full scriptable CLI for experts; ordinary language for everyone else.
On PowerShell, use `.\shim.exe` when running the binary from the current directory. ### With Go Go 1.25+: ```sh go install github.com/Balanov/shim/cmd/shim@v0.1.0 shim setup ``` ### From source ```sh git clone https://github.com/Balanov/shim.git cd shim go test ./... go build -trimpath -ldflags="-s -w" -o shim ./cmd/shim ./shim setup ``` Windows also has `scripts/build.ps1`; Unix has `scripts/build.sh`. ## Two ways to use it ### Just talk ```text you › найди локальные модели ↳ /discover --add Run this command? [y/N] y you › show my tools ↳ /tools
- 已知限制
Shim 不是操作系统沙箱,shell 命令和 MCP 服务器以用户权限运行,不包含模型权重。
查看 README 依据
**Shim is not an OS sandbox.** Shell commands and MCP servers run with your user's permissions. Workspace path checks do not contain a malicious process. Use a container, VM, or OS sandbox for untrusted workloads. Treat model output, repository text, skills, and MCP responses as untrusted data. ## Sessions and configuration ```sh shim session list shim session new shim run --resume SESSION_ID "continue" shim status shim doctor shim config path shim config show ```
you › fix the failing tests in this repository ``` Shim has deterministic offline phrases for common English and Russian management commands. For other languages, assign a local model as the router: ```sh shim router use ollama/qwen3:4b ``` The router sees non-command chat text so it can distinguish configuration requests from agent tasks. Use a loopback model if you want that step to stay on your machine. **No model weights are bundled or silently downloaded**; that would defeat the tiny-binary goal. Your primary model handles ordinary conversation in whatever language it supports.
README
正在加载 README…
收录信息
- 仓库创建时间
- 2026/11/3 01:54:29
- 首次达标收录
- 2026/11/3 04:02:11
- 统计更新时间
- 2026/11/3 05:01:59
按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。
模型评估
值得看加权总分 4.0 / 5
由 Jev 模型根据仓库描述与 README 评估,2026/11/3 04:02:11 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。
仓库信息
- 最近推送
- 2026/11/3 01:54:55
- 许可证标识
- MIT
- Fork 数
- 0
- 当前状态
- 未归档
收录记录
按创建时长与累计 Stars 首次收录:小火
首次发现项目