skill-028

skill-028 is a skill for Claude Code, Codex from legendtkl/agentic-skill-router. It costs 49 tokens per session (451 once invoked), scanned A, original, MIT.

A quantum-state tomography tool for reconstructing the state of a quantum system from measurement results. Quantum-state tomography is similar to rebuilding an object’s description from many observations.

In plain words
What is it for?
Use it to load and filter measurements, reconstruct states with maximum-likelihood or linear-inversion methods, and visualise the results.
Why use it?
It turns raw measurement data into an estimated density matrix, helping researchers check what state a quantum experiment produced.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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.

agentmods
npx agentmods add skills/legendtkl/agentic-skill-router/skill-028
Any agent
npx skills add legendtkl/agentic-skill-router --skill skill-028
Clone the repo
git clone --depth 1 https://github.com/legendtkl/agentic-skill-router

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 skill-028

README.md
[![agentmods](https://agentmods.dev/badge/skills/legendtkl/agentic-skill-router/skill-028.svg)](https://agentmods.dev/skills/legendtkl/agentic-skill-router/skill-028)
Your own site
<a href="https://agentmods.dev/skills/legendtkl/agentic-skill-router/skill-028"><img src="https://agentmods.dev/badge/skills/legendtkl/agentic-skill-router/skill-028.svg" alt="Measured on agentmods" 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 451 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00451
Opus 5 $0.00024 $0.00226
Sonnet 5 $0.00010 $0.00090
Haiku 4.5 $0.00005 $0.00045

Measured 6d ago against content hash 7e922b0783a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

skill-028 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 6d ago.

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.

experiments/dci-compare/skillrouter-skills/skill-028/SKILL.md · 84 lines

What it actually says

Quantum State Tomography

Overview

Quantum state tomography is a process used to reconstruct the quantum state of a system based on measurement outcomes. This skill provides tools for efficiently performing quantum state tomography using available measurement data.

Installation

uv pip install qst

Quick Start

import numpy as np
from qst import StateTomography

# Simulated measurement outcomes
measurement_data = np.array([[0, 1], [1, 0], [1, 1]])  # Example outcomes

# Create a StateTomography object
qst = StateTomography(measurement_data)

# Perform state reconstruction
rho_estimated = qst.reconstruct()
print(rho_estimated)

Core Capabilities

1. Measurement Data Handling

Handle measurement data efficiently:

# Load measurement results from a file
measurement_data = np.loadtxt('measurements.txt')

# Filter data based on specific criteria
filtered_data = qst.filter_data(measurement_data, threshold=0.5)

2. State Reconstruction

Reconstruct quantum states using various algorithms:

# Maximum likelihood estimation
rho_ml = qst.max_likelihood()

# Linear inversion
rho_inv = qst.linear_inversion()

3. Visualization of Results

Visualize the reconstructed density matrix:

import matplotlib.pyplot as plt

qst.visualize_density_matrix(rho_estimated)
plt.title('Reconstructed Density Matrix')
plt.show()

4. Performance Metrics

Evaluate performance:

fidelity = qst.calculate_fidelity(rho_estimated, true_state)
print(f'Fidelity: {fidelity}')

Conclusion

Quantum state tomography is essential for verifying and analyzing quantum systems. The tools provided in this skill facilitate the reconstruction of quantum states from experimental data, crucial for advancing quantum information science.

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. 6d ago First seen · 84 lines · 49 tokens per session scan A 7e922b0783a6

Subscribe to this mod's changes

skill-028 is a skill published in the GitHub repository legendtkl/agentic-skill-router (5 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 451 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens