ccLoad: Skill for Codex

.agents/skills/sync-cliproxy-core/SKILL.md

sync-cliproxy-core is a skill for Codex from caidaoli/ccLoad. It costs 47 tokens per session (2,664 once invoked), scanned A, original, MIT.

A skill for synchronising a CLIProxy conversion core with all registered provider adapters and their tests. The core converts requests and responses between supported protocols, while adapters handle provider-specific formats.

In plain words
What is it for?
Updating or auditing CLIProxy conversion code, provider-specific request and response mappings, source commits, manifests, and matching contract tests.
Why use it?
It keeps the core and its adapters at the same upstream commit and treats validation as one combined operation. This prevents a partial update from being reported as complete.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); $skill-name invocation.

This is caidaoli/ccLoad's own configuration. It tells Codex how to work on ccLoad 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 ccLoad configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is go test -tags sonic ./internal/....

Reuse

Borrowing it

Nothing to install: this file belongs to caidaoli/ccLoad. 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/caidaoli/ccLoad/master/.agents/skills/sync-cliproxy-core/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/caidaoli/ccLoad

Made for: Codex.

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 sync-cliproxy-core

README.md
[![agentmods](https://agentmods.dev/badge/skills/caidaoli/ccload/sync-cliproxy-core/github.svg)](https://agentmods.dev/skills/caidaoli/ccload/sync-cliproxy-core)
Your own site
<a href="https://agentmods.dev/skills/caidaoli/ccload/sync-cliproxy-core"><img src="https://agentmods.dev/badge/skills/caidaoli/ccload/sync-cliproxy-core/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 sync-cliproxy-core

Your own site · 80×15
<a href="https://agentmods.dev/skills/caidaoli/ccload/sync-cliproxy-core"><img src="https://agentmods.dev/badge/skills/caidaoli/ccload/sync-cliproxy-core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,664 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00047 $0.02664
Opus 5.5 $0.00019 $0.01066
Sonnet 5.5 $0.00009 $0.00533
Haiku 4.5 $0.00005 $0.00266

Measured 25d ago against content hash 90e34600b55d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sync-cliproxy-core 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 25d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/verify_core_scope.sh, scripts/verify.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/sync-cliproxy-core/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

同步 CLIProxy 转换核心与渠道适配器

一次同步 CLIProxyAPI 的四协议纯转换核心、已登记 provider adapters 及其对应测试。保持 ccLoad Registry 和 provider wire 契约,不引入上游运行时系统。

  • 默认调用 $sync-cliproxy-core 时,自动固定上游最新稳定版本,并在同一次操作中完成 core 与全部已登记 provider adapters 的比较、集成、来源更新和验证;用户明确指定 commit/tag 时使用指定目标。
  • 仅审计时保持只读:固定比较目标、核对来源与 manifest、报告差异和验证结果,不进入集成变更或更新来源步骤;未指定比较目标时使用 UPSTREAM.md 已记录的 commit。
  • 阅读或编辑本技能本身不执行同步。

原子同步契约

  • core 与 provider adapters 必须来自同一 checkout 的同一不可变 commit;只生成一份变化清单,只更新一次来源 commit 和同步日期,只运行一套完成验证。
  • 任一同步域无法移植、缺少匹配测试或验证失败时,整个同步未完成。不提供隐式 core-only 降级;用户明确缩小范围时只能审计,不得把部分写入报告成完整同步。

权威边界

  1. 按任务读取 协议转换边界、internal/protocol/cliproxy/UPSTREAM.md、core snapshot manifest、provider adapter 语义边界和provider manifest。UPSTREAM.md 是来源、固定提交和已落地状态的唯一事实源;core manifest 记录直接映射根、特殊映射、明确排除和最近一次 core/provider 原子差异的审查 blob,provider manifest 是 provider、逐文件映射、生产接线和契约测试的唯一 allowlist。
  2. internal/protocol/registry.go 定义四协议契约;internal/protocol/builtin/cliproxy_adapter.go 处理通用输入验证、JSON/SSE 规范化和流帧封装;internal/protocol/cliproxy/providers/ 保存 provider-specific 纯转换。
  3. provider 选择留在 ccLoad 请求上下文边界,按实际 wire dialect/AuthType 决定;不要把 provider 注册成第五种通用客户端协议。
  4. 不引入 CLIProxyAPI 的认证、配置、路由、缓存服务、插件、动态 Registry、executor 或网络刷新代码。Interactions 只有在 ccLoad 正式支持其线协议后才可登记。
  5. 不添加 CLIProxyAPI 运行时 Go module 依赖或 replace。源码继续使用 ccLoad/internal/protocol/cliproxy/... 导入路径。
  6. Registry 与 provider 边界测试是 ccLoad 兼容性权威。上游行为与本地线协议冲突时,修正根因并保留本地契约,不盲目覆盖。

同步流程

1. 预检

  • 确认当前目录属于 ccLoad,并检查 git status --short。
  • 保护已有修改。若工作区改动覆盖 core、providers、适配器、Registry、go.mod、go.sum 或 UPSTREAM.md,先区分用户修改与本次同步;无法安全隔离时停止并说明冲突。
  • 记录当前同步 commit 和目标 commit。

2. 固定目标

  • 上游 checkout:本机存在 ~/Source/go/CLIProxyAPI 时优先使用,否则在临时目录克隆 UPSTREAM.md 记录的仓库。core、provider 生产源码与测试必须全部来自这个 checkout 的同一个 commit。
  • 用户指定 commit/tag 时,解析成完整不可变 commit SHA。
  • 用户未指定目标或只说“同步最新”时,以当前记录 tag 去掉 MAJOR.MINOR.PATCH 后的前缀作为稳定 tag 系列(记录为 fork/vX.Y.Z 时系列为 fork/v),按语义版本选最高版本并解引用为 commit;忽略预发布 tag,禁止按字典序或提交时间猜版本:

Read the full file on GitHub · 120 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 25d ago Changed 90e34600b55d
  2. 1mo ago Changed · +13 lines 26703083551b
  3. 1mo ago Changed · -9 lines · -28 tokens per session 808dc1b5e24a
  4. 1mo ago First seen · 116 lines · 75 tokens per session scan A 004730896ad2

Subscribe to this mod's changes

sync-cliproxy-core is a skill published in the GitHub repository caidaoli/ccLoad (428 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 2,664 once invoked, about $0.0002 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.