nanotracker-api-sdk: Skill for Codex

.agents/skills/api-author-pattern/SKILL.md

api-author-pattern is a skill for Codex from savannah-i-g/nanotracker-api-sdk. It costs 51 tokens per session (1,369 once invoked), scanned A, original, MIT.

A skill for editing nanoTracker music patterns through its local programming interface. It supports notes, rows, pattern structure, playback order, tempo, and note-offs in grouped operations.

In plain words
What is it for?
It is for writing or changing tracker patterns, building drum loops, copying or shifting cells, creating patterns, arranging playback order, and changing tempo.
Why use it?
It makes pattern changes consistent and reversible by validating a whole batch and recording it as one undo step.

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-author-pattern/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-author-pattern

README.md
[![agentmods](https://agentmods.dev/badge/skills/savannah-i-g/nanotracker-api-sdk/api-author-pattern.svg)](https://agentmods.dev/skills/savannah-i-g/nanotracker-api-sdk/api-author-pattern)
Your own site
<a href="https://agentmods.dev/skills/savannah-i-g/nanotracker-api-sdk/api-author-pattern"><img src="https://agentmods.dev/badge/skills/savannah-i-g/nanotracker-api-sdk/api-author-pattern.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,369 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.00051 $0.01369
Opus 5 $0.00026 $0.00685
Sonnet 5 $0.00010 $0.00274
Haiku 4.5 $0.00005 $0.00137

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

Security

Grade A, and why

api-author-pattern 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.

.agents/skills/api-author-pattern/SKILL.md · 141 lines

How it starts

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

Author a pattern via the Local API

When to use

Any time you're writing pattern data — placing notes, building a drum loop, copying / shifting cells, creating new patterns, arranging the order list, changing tempo. All of this goes through nanotracker_execute.

The contract

nanotracker_execute {
  "commands": [ /* one or more LocalApiCommand */ ],
  "opts": { "undoDescription": "human-readable label", "dryRun": false }
}
  • opts.undoDescription is required unless dryRun is true.
  • Whole batch is validated, then either fully applied or fully rejected. One undo entry per batch.
  • Hard limits: 10,000 commands, 64 patterns created, 1 MiB payload, 20 batches/sec.

Common cell ops

{ "op": "setCell",    "patternId": 0, "row": 0,  "channel": 0,
  "cell": { "note": 49, "instrument": 1, "volume": 64 } }

{ "op": "setNoteOff", "patternId": 0, "row": 8,  "channel": 0 }

{ "op": "clearCell",  "patternId": 0, "row": 0,  "channel": 0 }

{ "op": "setRange",   "patternId": 0, "rowStart": 0,
  "channels": [0, 1, 2],
  "cells": [
    [ {"note": 49, "instrument": 1, "volume": 64}, {}, {} ],
    [ {}, {"note": 53, "instrument": 1, "volume": 48}, {} ]
  ] }

setRange is much cheaper than many setCell commands when you're filling a region. The cells array is [row][channelIndex] where channelIndex indexes into the channels array, not into the project's channel list.

Note encoding

  • Tracker note 1 = C-0, note 49 = C-4 (middle C, MIDI 60), note 97 = note-off, note 0 = empty.
  • tracker = midi - 11.
  • volume: 0xFF means "use the sample's default" — not 255 dB.

Note-offs

A note-off ends the currently-playing voice on a channel. In the pattern editor this is the == cell. Use the dedicated setNoteOff op:

{ "op": "setNoteOff", "patternId": 0, "row": 48, "channel": 0 }

It writes the canonical cell { note: 97, instrument: 0, volume: 0xFF, effect: 0 } — the same shape you'd place by typing ==. setCell with { note: 97 } works too but merges — the old instrument and volume fields stay on the cell, which reads as a note-off that also holds an instrument, which is almost never what you want. Prefer setNoteOff.

Read the full file on GitHub · 141 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. 6d ago First seen · 141 lines · 51 tokens per session scan A 1a3b2c851d8c

Subscribe to this mod's changes

api-author-pattern is a skill published in the GitHub repository savannah-i-g/nanotracker-api-sdk (20 stars, last pushed 4mo ago), licensed MIT. It adds 51 tokens to every session and 1,369 once invoked, about $0.0003 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

剪辑环境的唯一管理者:就绪检查(skills 是否最新 → Runtime 是否配套)、Skills 更新激活、Runtime 安装与体检。用户说检查更新、安装剪辑环境、装播放器、检查剪辑环境、剪辑环境就绪了吗、配置转录凭证时使用;业务 Skill(剪口播/字幕/画面/导出)第 0 步也引用本 Skill 的就绪检查。不用于剪辑、字幕、画面、导出本身或项目数据迁移。.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens