OpenQuantum: Skill for Codex

.agents/skills/tyxonq-workbench/SKILL.md

tyxonq-workbench is a skill for Codex from xi-zhao/OpenQuantum. It costs 121 tokens per session (925 once invoked), scanned A, original, MIT.

A guided local simulator for small quantum circuits. It runs circuits with up to eight quantum bits and can compare exact results with sampled results that include several noise types.

In plain words
What is it for?
Use it to build and compare Bell or GHZ circuits, inspect measurement distributions, and study depolarizing, amplitude-damping, phase-damping, or Pauli noise.
Why use it?
It provides a controlled way to inspect how small circuits behave and how noise changes their output without using real quantum hardware or cloud services.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

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

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/xi-zhao/OpenQuantum/main/.agents/skills/tyxonq-workbench/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/xi-zhao/OpenQuantum

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 tyxonq-workbench

README.md
[![agentmods](https://agentmods.dev/badge/skills/xi-zhao/openquantum/tyxonq-workbench.svg)](https://agentmods.dev/skills/xi-zhao/openquantum/tyxonq-workbench)
Your own site
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/tyxonq-workbench"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/tyxonq-workbench.svg" alt="Measured on agentmods" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 925 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.00121 $0.00925
Opus 5 $0.00060 $0.00463
Sonnet 5 $0.00024 $0.00185
Haiku 4.5 $0.00012 $0.00093

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

Security

Grade A, and why

tyxonq-workbench 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.

The scan reads SKILL.md. This mod also ships 3 executable files (mcp/bridge.py, mcp/server.mjs, test/mcp.test.mjs), 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/tyxonq-workbench/SKILL.md · 56 lines

What it actually says

TyxonQ Workbench

工作边界

这个 Skill 负责组织 TyxonQ 工作流,真正的计算由 tyxonq_local MCP Server 暴露并经 Harness MCP Client 注册的 Tool 完成。 当前只开放本地、无凭据的电路仿真;首次调用可能由 uv 下载固定依赖,实际计算不连接 TyxonQ 云端 Provider:

  • 1–8 个量子位;
  • 至多 64 个受控门操作;
  • 精确 statevector,或至多 8192 shots 的采样;
  • 可选 density-matrix 噪声:depolarizing、amplitude damping、phase damping、Pauli。

当前不开放 TyxonQ 云端 Provider、Token、任务提交、查询或取消,也不开放任意 Python、文件路径、 自定义矩阵和未审查的脉冲程序。

工作流

  1. 使用 simulate_tyxonq_circuit 完成仿真;主动作会加载固定环境并随结果返回 tyxonqVersion,不需要额外的运行时检查调用。
  2. 若 Tool 不存在,告诉用户在“设置中心 → 量子组件 → MCP Server 连接”把 TyxonQ Local 配置为启用,重启 OpenQuantum 后再试;不要改用 Bash 绕过设置。
  3. 把用户意图整理成明确的 numQubitsoperations。只使用 Tool schema 支持的门,旋转角单位为弧度。
  4. 需要确定性态矢和概率时使用 mode=exact;需要有限 shots 或噪声时使用 mode=sampled
  5. 比较噪声前后时保持电路和 shots 不变,分别运行无噪声与有噪声请求,再比较返回分布。
  6. 输出时区分:用户输入、TyxonQ 工具事实、工程检查和未完成的科学验收。

与其他能力的分工

  • OpenQASM/QPY 解析、转译和 Qiskit 文档查询优先使用 qiskit-circuit-workbench
  • 严格限定的二量子位基态 VQE 与独立验收使用 quantum-ground-state
  • 真实后端发现使用 fieldqkit-hardware;任何付费或真实硬件任务仍需独立 Tool Provider 与 Harness 审批。
  • TyxonQ 脉冲/TQASM 和量子化学能力尚未进入本地稳定 Interface,不要声称当前工具已经支持。

解释规则

  • MCP-exposed Tool 成功只代表 TyxonQ 本地计算完成,不代表算法、物理模型或科研结论通过科学验收。
  • checks 是对返回结构做的工程一致性检查,不是独立 Validator。
  • sampled 结果包含随机波动;比较时报告 shots,不把一次频数差异解释为确定性物理效应。
  • 噪声模型是 TyxonQ 本地模拟假设,不等于某台真实 QPU 的校准模型。
  • Harness MCP Client 连接不可用或 MCP-exposed Tool 返回错误时保留原始错误语义,不编造状态、概率或版本。

输出格式

保持简洁并包含:

  1. 电路规模和门序列摘要;
  2. exact 或 sampled 执行方式、shots 和噪声假设;
  3. 主要概率/频数与结构检查;
  4. TyxonQ 版本;
  5. scientificValidation=not_evaluated 及仍需独立验证的限制。
Files

What ships with it

6 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. 2d ago Changed e0fef2f81dd8
  2. 8d ago First seen · 56 lines · 121 tokens per session scan A a128f570a285

Subscribe to this mod's changes

tyxonq-workbench is a skill published in the GitHub repository xi-zhao/OpenQuantum (48 stars, last pushed today), licensed MIT. It adds 121 tokens to every session and 925 once invoked, about $0.0006 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-30.

Related

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.

sandbaseai/sandbase-skills · 39 tokens

academic-trend-research

Research emerging academic trends by combining scholarly databases, web sources, and news to identify rising research areas, breakthrough papers, and shifting scientific consensus. Ideal for R&D teams tracking frontier science.

sandbaseai/sandbase-skills · 43 tokens

alexandria

Reach for this when a research question needs cited sources across academic papers, public domain books, legal records, government archives, security advisories, news, or developer documentation. Alexandria is an MCP server backed by 152 public digital libraries; use it whenever an answer should point at real…

The-40-Thieves/alexandria-mcp · 71 tokens

memory-search-mcp

Long-term memory and context retrieval for AI agents. Semantic search across conversation history with care-weighted relevance.

CSOAI-ORG/memory-search-mcp · 0 tokens

ml-experiment-review

Use this skill when reviewing an ML experiment, benchmark, ablation, or training run.

NeoXider/neoxider-mcp-hub · 0 tokens

noodle-biomedical-literature-discovery

Find, inspect, compare, and traverse public biomedical research literature. Use for PubMed or scholarly paper search, publication details, PMID/DOI/PMCID lookup, related papers, citation paths, semantic literature neighborhoods, corpus coverage, or questions asking what research exists about a gene, variant…

helena-bioinformatics/noodle-mcp · 105 tokens