Borrowing it
Nothing to install: this file belongs to xi-zhao/OpenQuantum. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/xi-zhao/OpenQuantum/main/.agents/skills/chromobius-decoding/SKILL.mdgit clone --depth 1 https://github.com/xi-zhao/OpenQuantumWrote 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.
[](https://agentmods.dev/skills/xi-zhao/openquantum/chromobius-decoding)<a href="https://agentmods.dev/skills/xi-zhao/openquantum/chromobius-decoding"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/chromobius-decoding/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.
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/chromobius-decoding"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/chromobius-decoding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00058 | $0.01095 |
| Opus 5.5 | $0.00023 | $0.00438 |
| Sonnet 5.5 | $0.00012 | $0.00219 |
| Haiku 4.5 | $0.00006 | $0.00110 |
Grade A, and why
chromobius-decoding 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 yesterday.
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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Chromobius 色码解码
原生 SDK 路径
本能力使用 Chromobius 的原生公开 API。用户需要 带颜色和基标注的 Stim DEM、bit-packed detector 样本与逻辑 observable 解码 时,由 Agent 在固定依赖环境中编写和运行任务代码。
使用 node scripts/sdk-access.mjs inspect chromobius-decoding 定位环境,按完整 SDK 工作流执行。模块导航:chromobius、stim、numpy;导航不是 API 白名单。
固定 Chromobius 1.1.1;DEM 必须满足颜色/基坐标及上游可解码条件。Möbius 解码为近似方法;小例回归不代表阈值、实时延迟或科学验收。
本入口复用宿主文件与代码工具,没有新增通用执行 Tool。原生 SDK 受上游版本、可选依赖、宿主资源与用户授权约束。已禁用或被拒绝的动作不能借代码路径绕过。执行状态和科研验收分别报告。
选择与准备
需要色码 Möbius 解码时选择本 Skill;surface-code memory 可继续使用
qec-memory-experiment,通用搜索式解码可比较 tesseract-decoding。
优先复用已有 Stim 模型与样本,不改变输入模型以迁就解码器。
通过原生 SDK 工作台显式准备固定环境。准备会下载依赖并写入文件; 本 Skill 不自行启动服务,不需要 QPU、账户或额外的专用 Tool。
工作流程
- 保存原始 Stim circuit 或 DEM、噪声参数、detector/observable 数量、采样种子和预算。
- 检查 DEM 的颜色和基:第四坐标 0/1/2 为 X 基红/绿/蓝,3/4/5 为 Z 基红/绿/蓝, -1 表示显式忽略该 detector。缺少坐标不能自动推断;忽略 detector 会改变问题,须记录理由。
- 按固定版本 API 检查 rainbow triplets、movable excitations 和 matchable-avoids-color 条件。不是所有 Stim DEM 都支持;编译或解码失败时保留输入和异常,不静默换模型或丢弃样本。
- 用
chromobius.compile_decoder_for_dem(dem)编译,再用predict_obs_flips_from_dets_bit_packed解码。输入为 uint8、little-endian bit-packed detector 样本;核对实际维度,不能把 detector 位与 observable 位混用。 - 与同一批样本的真实 observable 翻转逐 shot 比较,报告错误数、总 shots 和统计区间。 固定种子有助于复核,但不承诺跨 Stim 版本或平台逐位复现。
- 保留程序、输入、完整输出、版本/锁摘要和检查结果。比较解码器时统一 circuit、噪声、 样本、observable 定义和预算;不要把不同样本的有限 shot 波动当性能提升。
解释边界
Möbius 解码是近似方法,不能把其预测当作最大似然最优解。零观测错误不意味着真实错误率为零。 小型数值回归不验证阈值、可扩展性、实时延迟或完整容错协议。 上游不是正式支持的 Google 产品;固定 wheel 提供 Python 模块,独立 CLI 另需源码构建。 Sinter 为可选工作流,未包含在本环境的直接依赖中。
本入口是 L0 原生 SDK 工作流,不增加科学验收器;
scientificValidation=not_evaluated,最终验收仍由已有的 central Acceptance Builder 推导。
来源与示例
- 固定上游 v1.1.1,Apache-2.0。
- 固定版本 API。
- 可编辑原生示例:用简单可独立解答的 DEM 验证位序和错误预测。 该合成 fixture 不是完整色码存储实验。
What ships with it
3 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.
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.
- yesterday First seen · 61 lines · 58 tokens per session scan A 046650d7ffcd
chromobius-decoding is a skill published in the GitHub repository xi-zhao/OpenQuantum (71 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 1,095 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-10-27.
Other skills, from other repositories
academic-research
Search academic papers, scholarly articles, and research publications through SandBase. Use when asked for literature review, academic citations, scholarly research, paper discovery, or scientific evidence gathering.
arxiv-guide
Resolve citations to arXiv IDs, find an author's papers, follow a paper's versions, and read long papers section by section with the arxiv tools. Use when a task needs arXiv preprints found by citation (author-year, CoRR abs/ refs, arXiv DOIs), author, category, or date, or needs a paper's full text.
rhylthyme
Schedule multi-step procedures that a person carries out against a clock, with parallel tracks, shared equipment and steps that end when the person says so. Use when turning a lab protocol, recipe, event run sheet or workout into a timed plan; when several procedures must share one instrument (one centrifuge, one…
memory-search-mcp
Long-term memory and context retrieval for AI agents. Semantic search across conversation history with care-weighted relevance.
gc-minimal-zine-poster-v0-3
Generate or analyze poetic paper-texture minimal zine posters with large negative space, a small editorial collage or focal element, experimental typography, and one clear color accent. Use when the user gives a theme, sentence, article, mood, object, photo, content brief, reference images, or an image folder and…
ask-sonner
Guide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and loading toasts, updating, dismissing and persisting toasts, styling, theming and icons, positioning and multiple toasters. Use when working with Sonner or troubleshooting it — toasts that don't appear…