qililab-control

qililab-control is a skill for Claude Code, Codex from xi-zhao/OpenQuantum. It costs 48 tokens per session (841 once invoked), scanned A, original, MIT.

An offline compiler that converts timed I/Q square pulses and waits into Qblox Q1ASM instructions and waveform tables. I/Q means the two signal components used to control a device; the compiler does not connect to instruments or run an experiment.

In plain words
What is it for?
Use it to prepare and inspect Qblox control programs for normalized I/Q pulse sequences on a fixed time grid.
Why use it?
It lets you check generated control instructions, waveform indexes, timing, and signal signs before separately configuring real hardware. Successful compilation does not verify voltages, calibration, or quantum measurements.

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 prepare and inspect Qblox control programs for normalized I/Q pulse sequences on a fixed time grid.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xi-zhao/openquantum/qililab-control
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 qililab-control
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 qililab-control

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/qililab-control"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/qililab-control.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 841 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.00048 $0.00841
Opus 5.5 $0.00019 $0.00336
Sonnet 5.5 $0.00010 $0.00168
Haiku 4.5 $0.00005 $0.00084

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

Security

Grade A, and why

qililab-control 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 3d 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/qililab-control/SKILL.md · 41 lines

What it actually says

Qililab 离线测控编译

原生 SDK 路径

本能力同时支持 Qililab 的原生公开 API。用户需要 QProgram、波形、校准、runcard、平台与执行 时,由 Agent 在固定依赖环境中编写和运行任务代码,不限于下文便捷 Tool 的预设模型。

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

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

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

调用 qililab_local 的 compile_qililab_pulses。固定 qililab==0.33.3,Apache-2.0。 先显式执行 node scripts/setup-paper-tools.mjs qililab-control。

  1. 使用场景是把一个逻辑 I/Q 总线上的方波序列编译成控制指令。此入口不消费真实 runcard,不自动连接设备。
  2. iAmplitude 与 qAmplitude 为 [-1,1] 归一化 DAC 幅度。durationNs 至少 4 ns, waitAfterNs 可为零,两者须为 4 ns 的整数倍;波形采样率固定 1 GSa/s。
  3. 工具通过真实 QProgram、IQPair 与 QbloxCompiler 生成 program(Q1ASM)、 sequenceJson 与 waveforms。检查 play 指令的波形索引、持续时间、等待和 I/Q 符号。
  4. 解释波形时同时读取 Q1ASM:编译器可能把常量脉冲转为增益指令与共享波形。 requestedDurationNs 只累加用户请求,未计入编译器的同步、标记和停止开销。

未知参数、幅度越界或不符合指令时间栅格会失败。环境缺失/锁变化时运行显式 setup, SDK 编译错误按原错误解释,不降级为手写假 Q1ASM。execution 单独控制 worker 资源。

适配不实例化 Platform、仪器、实验执行器或云客户端;没有鉴权步骤。实际硬件连接与校准由用户另行配置。 编译成功不证明芯片表征、真实电压、量子态或实验测量正确;此 L1 工具返回 scientificValidation=not_evaluated。

来源:官方仓库、 QProgram、 Qblox 编译器。

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. 3d ago Changed · +13 lines 9e556febcadb
  2. 17d ago First seen · 28 lines · 48 tokens per session scan A 501487b3737d

Subscribe to this mod's changes

qililab-control is a skill published in the GitHub repository xi-zhao/OpenQuantum (75 stars, last pushed 2d ago), licensed MIT. It adds 48 tokens to every session and 841 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-29.

Related

Other skills, from other repositories

immybot

Every ImmyBot endpoint typed, plus a local SQLite mirror that answers the cross-tenant questions the web UI cannot. Trigger phrases: what failed in last night's maintenance window, which tenants are still on an old version of chrome, why didn't this computer get the deployment, what changed in the fleet since…

Servosity/msp-skills · 97 tokens

unifi-network

Use when the user asks to audit a UniFi Network gateway: list adopted devices and connected clients, review firewall policies, ACL rules, VLANs and WiFi broadcasts, see what changed in site config since the last check, spot hardware that just joined the network, or check switch port and PoE headroom. Wraps the local…

Servosity/msp-skills · 187 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

fortinet

Use when the user asks to audit, inventory or back up client FortiGate firewalls, or read FortiManager or FortiGate Cloud: grades every FortiGate in a devices file for firmware, SSL-VPN exposure, admin accounts and license expiry in one read-only pass, plus HA, tunnel and certificate health, policy hygiene and config…

Servosity/msp-skills · 149 tokens

animate

Build an animation from scratch, making the decisions in the order that determines whether it feels right — should it animate at all, what purpose, which tool, which properties, which curve and duration, how it interrupts, how it exits. Writes the implementation. Use when asked to animate something, add motion, make a…

stvlynn/dsh.fish · 96 tokens

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…

stvlynn/dsh.fish · 100 tokens