pairinteraction-rydberg

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

A calculation skill for modelling interactions between two rubidium Rydberg atoms. Rydberg atoms are atoms with an electron in a highly excited state, and the skill computes their potential energy and a small effective Hamiltonian.

In plain words
What is it for?
It is for limited two-atom Rb calculations with specified distances, fields, channels, and truncated bases, including comparisons as the basis is enlarged.
Why use it?
It helps keep units, basis-size limits, perturbation checks, and model assumptions explicit instead of presenting an unchecked result as general or exact.

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 It is for limited two-atom Rb calculations with specified distances, fields, channels, and truncated bases, including comparisons as the basis is enlarged.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/pairinteraction-rydberg"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/pairinteraction-rydberg.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 1,204 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.01204
Opus 5.5 $0.00019 $0.00482
Sonnet 5.5 $0.00010 $0.00241
Haiku 4.5 $0.00005 $0.00120

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

Security

Grade A, and why

pairinteraction-rydberg 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 4d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (mcp/bridge.py, mcp/contracts.mjs, mcp/database.py, …), 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/pairinteraction-rydberg/SKILL.md · 39 lines

How it starts

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

PairInteraction 原子对相互作用

原生 SDK 路径

本能力同时支持 PairInteraction 的原生公开 API。用户需要 原子态、单原子与双原子基、相互作用矩阵、场扫描与截断选择 时,由 Agent 在固定依赖环境中编写和运行任务代码,不限于下文便捷 Tool 的预设模型。

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

默认数据锁仅含 Rb 和通用 Wigner 表。其他原子及模型的表可通过上游数据准备接口在独立任务目录显式下载或生成,记录版本与文件摘要后,以 bootstrap 的 data_directory 参数接入;不是把原生 API 限定为 Rb。

原生程序导入库前,按环境定位器的 bootstrap 执行启动兼容处理:显式使用已准备的原子数据库并禁止计算阶段自动下载;其他原子或自定义表通过 data_directory 指定独立数据快照。这不限制公开 API,也不替换数值算法。

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

用于两个 Rb Rydberg 原子的静态相互作用或小模型有效哈密顿量。原子对沿 z,磁场沿 z,电场为零;当前仅支持 S–S 与 S–P 交换,目标态均为 m=1/2,忽略超精细结构和抗磁项。

通过 Harness 调用 mcp__pairinteraction_local__calculate_rydberg_pair。Skill 提供步骤,独立 MCP Server 执行计算;不启动其他 Runtime,不依赖 FatQat。

  1. 确认问题落在两原子、Rb SQDT、偶极相互作用的范围内。S–S 使用 channel="ss";S–P 使用 channel="sp_exchange" 并指定 nP。不将该模型泛化到其他元素、多体动力学或任意场方向。
  2. 环境未准备时说明显式 setup 会下载固定软件和数据库,并写入项目 .openquantum/。在已有安装授权范围内运行 npm run capability:pairinteraction:setup;计算 Tool 本身不安装或下载。不要用 pip install -U 替换锁定版本。
  3. 先用少量距离和小基底。输入上限:n=45..70、B=1..30 G、R=4..30 µm、最多 9 个距离、deltaN=1..3、能窗 1..25 GHz。单原子超过 300 态或原子对超过 1024 态时拒绝计算。
  4. 读取 targetBasisWeights、exactTargetWeights、谱误差和 perturbationStatus。within_screen 只表示启发式筛选通过,不能称微扰收敛或科学验收;outside_screen 必须保留并解释。近简并导致二阶展开无定义时停止,不把失败替换成零相互作用。
  5. 有定量精度要求时,分别增加 deltaN 和 energyWindowGHz,报告可观测量变化及未覆盖的通道。每次输出的 convergence.status 都是 not_evaluated;比较少量基底也不证明完备基底极限。
  6. 给出输入、软件版本、依赖锁摘要、数据库发布与摘要、基底大小和限制。输出 effectiveHamiltonianMHz 为公共能量零点下的 H/h,单位 MHz,是普通频率;energyReferenceMHz 记录该零点。exactEigenvaluesMHz 的“精确”仅指已截断矩阵的对角化。

S–P 有效基底依次为 |S;P>、|P;S> 对应的场修饰态。逐距离按目标子空间权重选态,再按能量排序;不要宣称跨距离绝热分支跟踪。独立矩阵求和和 SciPy 对角化共享原子数据,不能替代原子参数、实验或论文案例的独立验证。

FatQat 独立提供电路与动力学能力。当前不自动转换 PairInteraction 输出,也不强制同时升级两者。以后连接时必须单独核对模型、基底、符号、单位与有效范围;尤其 H/h 的 MHz 转 H/ħ 的 rad/µs 需要 2π 因子。

Read the full file on GitHub · 39 lines

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. 4d ago Changed · +15 lines 2453451d06dd
  2. 8d ago First seen · 24 lines · 48 tokens per session scan A 59743387adfd

Subscribe to this mod's changes

pairinteraction-rydberg is a skill published in the GitHub repository xi-zhao/OpenQuantum (75 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 1,204 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-09.

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

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…

rhylthyme/rhylthyme-mcp · 167 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

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

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…

stvlynn/dsh.fish · 97 tokens

kill-ai-slop

Find and remove AI slop — the generic, machine-default visual and copy tics of vibe-coded products — from a web project. Use when the user asks to "kill AI slop", "de-slop", "remove the AI look", "make this not look AI-generated", or clean up a landing page / UI / docs that feels templated. Detects and fixes the…

stvlynn/dsh.fish · 249 tokens