nanotracker-api-sdk: Skill for Codex

.agents/skills/api-inspect-state/SKILL.md

api-inspect-state is a skill for Codex from savannah-i-g/nanotracker-api-sdk. It costs 48 tokens per session (767 once invoked), scanned A, original, MIT.

A tool for inspecting a live nanoTracker music project through its local API. nanoTracker is a music tracker where songs are built from patterns, rows, channels, and samples.

In plain words
What is it for?
Use it to check the session, view project details such as tempo and sample counts, list patterns, or read selected pattern ranges.
Why use it?
It lets an agent inspect only the project information or pattern slice needed, instead of loading every pattern and cell.

Skill for Codex

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

This is savannah-i-g/nanotracker-api-sdk's own configuration. It tells Codex how to work on nanotracker-api-sdk 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 nanotracker-api-sdk configures →

Reuse

Borrowing it

Nothing to install: this file belongs to savannah-i-g/nanotracker-api-sdk. 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/savannah-i-g/nanotracker-api-sdk/main/.agents/skills/api-inspect-state/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/savannah-i-g/nanotracker-api-sdk

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 api-inspect-state

README.md
[![agentmods](https://agentmods.dev/badge/skills/savannah-i-g/nanotracker-api-sdk/api-inspect-state/github.svg)](https://agentmods.dev/skills/savannah-i-g/nanotracker-api-sdk/api-inspect-state)
Your own site
<a href="https://agentmods.dev/skills/savannah-i-g/nanotracker-api-sdk/api-inspect-state"><img src="https://agentmods.dev/badge/skills/savannah-i-g/nanotracker-api-sdk/api-inspect-state/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 api-inspect-state

Your own site · 80×15
<a href="https://agentmods.dev/skills/savannah-i-g/nanotracker-api-sdk/api-inspect-state"><img src="https://agentmods.dev/badge/skills/savannah-i-g/nanotracker-api-sdk/api-inspect-state.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 767 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.00767
Opus 5 $0.00024 $0.00383
Sonnet 5 $0.00010 $0.00153
Haiku 4.5 $0.00005 $0.00077

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

Security

Grade A, and why

api-inspect-state 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 9d 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.

.agents/skills/api-inspect-state/SKILL.md · 87 lines

How it starts

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

Inspect a live nanoTracker session

When to use

Use this any time you need to know what's in the project — what patterns exist, what cells they hold, what samples are loaded, what the song tempo is — before suggesting or making a change.

Cheap before expensive

Call queries in this order. Stop as soon as you have what you need.

  1. nanotracker_health — confirm the page is connected.
  2. nanotracker_read { op: "getProjectSummary" } — bpm, speed, channels, pattern count, sample count.
  3. nanotracker_read { op: "getPatternList" } — every pattern's id, name, row count, filled-cell count, order-list positions.
  4. nanotracker_read { op: "getRange", patternId, rowStart, rowEnd, channels? } — slice of cells. Prefer this over getPattern for surveys.
  5. nanotracker_read { op: "getPattern", patternId } — only when you really need every cell of a pattern.

patternId, not order-list index

Pattern ids are persistent. Order-list positions are not. The order list maps positions → pattern ids; multiple positions can reference the same pattern. Always resolve via getPatternList first.

// WRONG — assumes order list position 0 is pattern id 0
nanotracker_read { "op": "getPattern", "patternId": 0 }

// RIGHT — discover, then read
const list  = nanotracker_read { "op": "getPatternList" }
const first = list.data[0].id
nanotracker_read { "op": "getPattern", "patternId": first }

Cell shape

{
  note:        number   // 0 empty, 1-96 = C-0..B-7, 97 = note-off
  instrument:  number   // 0 empty, 1-31 = sample slot
  volume:      number   // 0xFF = use default, 0x00-0x40 = override
  effect:      number
  effectParam: number
}

volume === 0xFF means "use the sample's stored default", not 255 dB. Don't render it as 255 in user-facing output.

Channels are 0-indexed

channels[0] is the leftmost track. project.channels is the count (1..32).

Empty cells are common and not a problem

Most cells in a fresh pattern have note: 0, instrument: 0, volume: 0xFF, effect: 0, effectParam: 0. Treat that as "empty" — don't report it as data.

Read the full file on GitHub · 87 lines

Files

What ships with it

1 file 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. 9d ago First seen · 87 lines · 48 tokens per session scan A 22b9a3956b03

Subscribe to this mod's changes

api-inspect-state is a skill published in the GitHub repository savannah-i-g/nanotracker-api-sdk (20 stars, last pushed 4mo ago), licensed MIT. It adds 48 tokens to every session and 767 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-30.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens