vscode-unify-chat-provider: Agent for Claude Code

.github/agents/update-cli-clients.agent.md

Update Cli Clients is an agent for Claude Code from smallmain/vscode-unify-chat-provider. It costs 10 tokens per session (740 once invoked), scanned A, original, MIT.

A maintenance agent for clients that imitate the authorization and request behavior of Claude Code, GitHub Copilot, OpenAI Codex, and Gemini CLI.

In plain words
What is it for?
Reviewing protocol changes, updating client implementations, synchronizing supported model lists, and maintaining several clients separately when needed.
Why use it?
These clients can stop working when the official services change their login or request protocols, so the agent checks and updates them against a reference project.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents; mentions Claude Code; mentions Codex.

This is smallmain/vscode-unify-chat-provider's own configuration. It tells Claude Code how to work on vscode-unify-chat-provider itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vscode-unify-chat-provider configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/smallmain/Documents/Work/CLIProxyAPI.

Reuse

Borrowing it

Nothing to install: this file belongs to smallmain/vscode-unify-chat-provider. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/smallmain/vscode-unify-chat-provider/main/.github/agents/update-cli-clients.agent.md
Clone the repo
git clone --depth 1 https://github.com/smallmain/vscode-unify-chat-provider

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Update Cli Clients

README.md
[![agentmods](https://agentmods.dev/badge/agents/smallmain/vscode-unify-chat-provider/update-cli-clients/github.svg)](https://agentmods.dev/agents/smallmain/vscode-unify-chat-provider/update-cli-clients)
Your own site
<a href="https://agentmods.dev/agents/smallmain/vscode-unify-chat-provider/update-cli-clients"><img src="https://agentmods.dev/badge/agents/smallmain/vscode-unify-chat-provider/update-cli-clients/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Update Cli Clients

Your own site · 80×15
<a href="https://agentmods.dev/agents/smallmain/vscode-unify-chat-provider/update-cli-clients"><img src="https://agentmods.dev/badge/agents/smallmain/vscode-unify-chat-provider/update-cli-clients.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 740 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00010 $0.00740
Opus 5.5 $0.00004 $0.00296
Sonnet 5.5 $0.00002 $0.00148
Haiku 4.5 $0.00001 $0.00074

Measured 2mo ago against content hash f532ab5c170b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Update Cli Clients 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 2mo 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.

.github/agents/update-cli-clients.agent.md · 71 lines

What it actually says

目标

以下列出的客户端需要定期维护和更新,因为它们是通过模拟授权和请求实现的,官方可能会更改其授权或请求方式,导致客户端失效。

维护的方式是参考指定的参考项目的源码。

客户端列表

  • Claude Code Client:参考 CLIProxyAPI 项目,本地路径:/Users/smallmain/Documents/Work/CLIProxyAPI
  • Github Copilot Client:参考 CLIProxyAPI 项目,本地路径:/Users/smallmain/Documents/Work/CLIProxyAPI
  • Open AI Codex Client:参考 CLIProxyAPI 项目,本地路径:/Users/smallmain/Documents/Work/CLIProxyAPI
  • Antigravity / Gemini CLI Client:参考 CLIProxyAPI 项目,本地路径:/Users/smallmain/Documents/Work/CLIProxyAPI

如果用户明确指定了客户端,那么只维护指定的客户端;否则,维护所有列出的客户端。

你的职责

你负责运行 subAgent,让每个子代理分别负责一个客户端的维护。

对于每个子代理,它们需要:

  • 如果用户明确提到需要完整地检查一遍,那么拉取参考项目的最新代码进行检查。
  • 如果用户没有明确提到,那么只检查参考项目当前提交与最新提交之间的代码改动即可。
  • 了解项目中客户端的授权、请求的实现,重点在于模拟请求。
  • 参考指定的参考项目的源码,检查客户端是否需要更新。
  • 同步客户端支持的模型列表。
  • 如果需要更新,那么修改相应的代码。
  • 最后,将参考项目同步到最新提交(注意如果多个客户端共用一个参考项目,那么需都完成之后再同步到最新提交)。

模型 ID 同步规则(重要)

  • 本项目的请求模型 ID 以“本项目的模型配置”作为输入,不直接照搬参考项目的前缀模型 ID 或复杂 alias 解析(例如 antigravity-*)。
  • 允许的改动仅限“协议必需转换”:例如 Gemini 3 Pro 的 tier 后缀、Claude 的 -thinking、Gemini CLI 的 -preview/-preview-customtools 处理。
  • 同步模型列表时,先核对本项目 getAvailableModels 与本项目已有配置/命名,再决定是否增删;不要把参考项目的内部路由 ID 当作本项目配置 ID 直接写入。
  • 以参考项目的模型列表为准,删除本项目中在参考项目中没有的模型,并添加参考项目中有但本项目没有的模型,确保最终列表与参考项目保持一致。
Changes

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.

  1. 2mo ago First seen · 71 lines · 10 tokens per session scan A f532ab5c170b

Subscribe to this mod's changes

Update Cli Clients is an agent published in the GitHub repository smallmain/vscode-unify-chat-provider (715 stars, last pushed 28d ago), licensed MIT. It adds 10 tokens to every session and 740 once invoked, about $0.0000 per session on Opus 5.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-30.

Related

Update Cli Clients compared with agents from other repositories

Update Cli Clients next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Update Cli Clientssmallmain/vscode-unify-chat-providerAgent71528d agoMITA10Claude Code
04g-Governancejonathan-vella/apex-acceleratorAgent502d agoMITA56Claude Code
06b-Bicep CodeGenjonathan-vella/apex-acceleratorAgent502d agoMITA45Claude Code
06t-Terraform CodeGenjonathan-vella/apex-acceleratorAgent502d agoMITA43Claude Code
01-Orchestratorjonathan-vella/apex-acceleratorAgent502d agoMITA37Claude Code
02-Requirementsjonathan-vella/apex-acceleratorAgent502d agoMITA13Claude Code
03-Architectjonathan-vella/apex-acceleratorAgent502d agoMITA36Claude Code