superstaq-compilation

superstaq-compilation is a skill for Claude Code, Codex from xi-zhao/OpenQuantum. It costs 49 tokens per session (679 once invoked), scanned A, original, MIT.

A quantum-circuit preparation and compilation tool for Infleqtion's Superstaq service. It can prepare circuits locally, or send a user-selected circuit to the remote service when explicitly enabled and authorized.

In plain words
What is it for?
Use it to package circuits, check available compilation targets, and obtain a remotely compiled circuit with its logical-to-physical qubit mapping.
Why use it?
It separates local serialization from remote compilation and makes the network and account-cost boundary explicit. Compilation does not submit a job to, run, or cancel a quantum processor.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to package circuits, check available compilation targets, and obtain a remotely compiled circuit with its logical-to-physical qubit mapping.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xi-zhao/openquantum/superstaq-compilation
Install

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.

Any agent
npx skills add xi-zhao/OpenQuantum --skill superstaq-compilation
Clone the repo
git clone --depth 1 https://github.com/xi-zhao/OpenQuantum

Made for: Claude Code, 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 superstaq-compilation

README.md
[![agentmods](https://agentmods.dev/badge/skills/xi-zhao/openquantum/superstaq-compilation/github.svg)](https://agentmods.dev/skills/xi-zhao/openquantum/superstaq-compilation)
Your own site
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/superstaq-compilation"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/superstaq-compilation/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 superstaq-compilation

Your own site · 80×15
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/superstaq-compilation"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/superstaq-compilation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 679 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.00049 $0.00679
Opus 5.5 $0.00020 $0.00272
Sonnet 5.5 $0.00010 $0.00136
Haiku 4.5 $0.00005 $0.00068

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

Security

Grade A, and why

superstaq-compilation 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 1mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (mcp/bridge.py, mcp/contracts.mjs, mcp/server.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/superstaq-compilation/SKILL.md · 33 lines

What it actually says

Superstaq 编译

原生 SDK 路径

本能力同时支持 Qiskit Superstaq 的原生公开 API。用户需要 自定义电路、编译选项、targets、provider 与执行结果 时,由 Agent 在固定依赖环境中编写和运行任务代码,不限于下文便捷 Tool 的预设模型。

使用 node scripts/sdk-access.mjs inspect superstaq-compilation 定位环境,按完整 SDK 工作流执行。模块导航:qiskit_superstaq;导航不是 API 白名单。

本地程序构建与外部调用分开;账户、凭据、费用、设备操作和数据外发沿用宿主及用户授权。原生 SDK 访问不自动启用服务。

下文关于模型、门集、输入与预算的限制描述便捷 Tool 的合同;原生 SDK 另受上游版本、可选依赖、宿主资源与用户授权约束。已禁用或被拒绝的动作不能借代码路径绕过。执行状态和科研验收分别报告。

superstaq_cloud 默认关闭。先运行 node scripts/setup-paper-tools.mjs superstaq-compilation, 再在设置中心按需启用连接。凭据只通过 Harness 的 SUPERSTAQ_API_KEY 引用,不进入 Tool 参数。

  • prepare_superstaq_circuit:无凭据本地准备结构化电路并做官方 QPY 序列化回读;不是目标编译。
  • list_superstaq_targets:按账户查询服务支持编译的目标。返回的可用性只代表查询时刻。
  • compile_superstaq_circuit:用户明确选择目标并授权远程编译后,外发电路到官方服务;可能消耗账户额度或产生服务费用。 返回原生编译后的 QPY、可导出时的 QASM,以及初始/最终逻辑位到物理位映射。
  • 输入门序列使用 numQubits 和 gates,旋转角单位为弧度。控制门的第一个 target 为控制位。
  • 远程端点固定为官方 HTTPS API,不接受用户 URL,不自动加载其他厂商凭据,不重试、不跟随重定向。
  • requestTimeoutSeconds 控制单次 HTTP 超时,execution 控制整个 worker。超时不能证明服务端未处理请求。
  • 此能力不提交 shots、不运行或取消 QPU 作业。编译成功不等于电路等价性已独立验证。
  • 当前 L1,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. 1mo ago Changed · +13 lines ebac1301aa4c
  2. 2mo ago First seen · 20 lines · 49 tokens per session scan A c87e3f34c7af

Subscribe to this mod's changes

superstaq-compilation is a skill published in the GitHub repository xi-zhao/OpenQuantum (75 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 679 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-09-28.

Related

superstaq-compilation compared with skills from other repositories

superstaq-compilation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
superstaq-compilationxi-zhao/OpenQuantumSkill752d agoMITA49Claude Code, Codex
manim-animatorsandbaseai/sandbase-skillsSkill2138d agoApache-2.0A59Claude Code
academic-researchsandbaseai/sandbase-skillsSkill2138d agoApache-2.0A39Claude Code
academic-trend-researchsandbaseai/sandbase-skillsSkill2138d agoApache-2.0A43Claude Code
openalex-guidecyanheads/openalex-mcp-serverSkill1813d agoApache-2.0A96Claude Code
arxiv-guidecyanheads/arxiv-mcp-serverSkill73d agoApache-2.0A81Claude Code
alexandriaThe-40-Thieves/alexandria-mcpSkill314d agoMITA71Claude Code