Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/liuqihonggit/mcp-cli-bridge/cigit clone --depth 1 https://github.com/liuqihonggit/mcp-cli-bridgeWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00023 | $0.01036 |
| Opus 5 | $0.00012 | $0.00518 |
| Sonnet 5 | $0.00005 | $0.00207 |
| Haiku 4.5 | $0.00002 | $0.00104 |
Grade A, and why
ci scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/ci - 发布新版本
版本类型: ${1:-patch} 当前本地版本: v!`cat package.json | findstr version | findstr /R "[0-9]"
\
⚠️ 强制规则(执行前必读)
- ❌ 禁止执行
git push— 只输出推送命令,由用户手动执行 - ❌ 禁止执行
buildAndNpm.ps1— CI/CD 专属脚本 - ❌ 禁止手动
npm publish— 由 CI/CD 自动完成 - ✅ 必须走完完整验证流水线后才能 release
- ✅ Git 必须在干净状态下开始
Step 1: 前置检查
1.1 检查 Git 工作区是否干净
运行以下命令确认无未提交更改:
git --no-pager status --porcelain
如果输出非空,立即停止,告知用户先提交或暂存更改。
1.2 确认当前版本信息
- 本地 package.json 版本: 从上方动态获取
- npm registry 最新版: 运行
npm view @jingjingbox/mcp-cli-bridge version 2>$null - 预计新版本: 根据版本类型计算
Step 2: 完整验证流水线(必须全部通过)
按顺序执行以下每一步,任何一步失败都停止:
2.1 编译全部项目
dotnet build McpHost.slnx -c Release
✅ 零错误零警告才可继续。
2.2 运行单元测试
dotnet test McpHost.slnx -c Release
✅ 全部测试通过才可继续。
2.3 运行 E2E 测试
dotnet run --project tests\E2E\MyMemoryServer.E2E.csproj -c Release
✅ 协议边界测试通过才可继续。
2.4 AOT 发布构建
.\build.ps1
✅ publish/ 目录产物正确生成才可继续。
如果修改过
.github/workflows/build.yml,在 Step 2 之前还需要先执行 CI-CD发布流程.md 中的本地验证脚本。
Step 3: 执行 Release
验证全部通过后,执行版本发布脚本:
.\release.ps1 -VersionBump ${1:-patch}
该脚本会自动:
- 读取并递增版本号(package.json + Directory.Build.props)
- git add + git commit(消息:
release: v{x.y.z}) - git tag
v{x.y.z} - 输出推送命令(不执行 push)
Step 4: 输出 Push 命令(用户手动执行)
Release 脚本执行成功后,向用户展示以下推送命令:
# === 推送到 Gitee (origin) ===
git push origin main && git push origin v{新版本号}
# === 推送到 GitHub (github) ← 触发 CI/CD 自动发布 npm ===
git push github main && git push github v{新版本号}
Step 5: 后续监控
推送后告知用户:
📡 CI/CD 监控地址:
https://github.com/liuqihonggit/mcp-cli-bridge/actions
🔄 CI/CD 将自动执行:
① AOT 编译 + 单元测试 + E2E 测试
② npm publish(发布到 npm registry)
③ GitHub Release(上传 exe 文件)
📦 CI/CD 成功后安装新版本:
npm install -g @jingjingbox/mcp-cli-bridge@latest
错误处理
| 失败阶段 | 处理方式 |
|---|---|
| Git 工作区不干净 | 停止,让用户先提交 |
| 编译失败 | 修复代码后从 Step 2.1 重来 |
| 测试失败 | 修复后从对应测试步骤重来 |
| build.ps1 失败 | 检查 NativeAOT 兼容性 |
| release.ps1 失败 | 检查 tag 冲突或版本号问题 |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 140 lines · 0 tokens per session scan A a5914a2c60b6
ci is a command published in the GitHub repository liuqihonggit/mcp-cli-bridge (0 stars, last pushed 3mo ago), licensed MIT. It adds 23 tokens to every session and 1,036 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
release
You are a release agent for the Rivet project. Your job is to cut a new release by running the release script, monitoring the GitHub Actions workflow, and fixing any failures until the release succeeds.
repo-clean-up
Remove failed/canceled GitHub Actions runs and stale remote branches.
release-nightly
Release through the PR flow, then build and publish locally instead of waiting on the CI release workflow.
release
You are a release agent for the Gigacode project (sandbox-agent). Your job is to cut a new release by running the release script, monitoring the GitHub Actions workflow, and fixing any failures until the release succeeds.
release
Command "release" from sageox/ox, covering release workflow, step 1: pre-flight checks, verify on main branch, clean working directory, run quality gates (run lint and tests in parallel) and step 1c: smoke tests (requires sageoxcipassword).
ci
Trigger GitHub Actions CI/CD builds, sign, publish, or check CI status.