ontology-atlas: Skill for Claude Code

.agents/skills/map-perf/SKILL.md

map-perf is a skill for Claude Code, Codex from wlsdks/ontology-atlas. It costs 32 tokens per session (951 once invoked), scanned A, original, MIT.

A measurement workflow for testing drag, pan, and zoom performance in a map showing connected nodes.

In plain words
What is it for?
Use it to run deterministic browser measurements, confirm that a node was grabbed, and inspect interaction data such as frame cost and map state.
Why use it?
It prevents background panning from being mistaken for dragging a real node, which would make performance results misleading.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is wlsdks/ontology-atlas's own configuration. It tells Claude Code and Codex how to work on ontology-atlas 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 ontology-atlas configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/perf-node-drag.mjs.

Reuse

Borrowing it

Nothing to install: this file belongs to wlsdks/ontology-atlas. 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/wlsdks/ontology-atlas/main/.agents/skills/map-perf/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/wlsdks/ontology-atlas

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 map-perf

README.md
[![agentmods](https://agentmods.dev/badge/skills/wlsdks/ontology-atlas/map-perf/github.svg)](https://agentmods.dev/skills/wlsdks/ontology-atlas/map-perf)
Your own site
<a href="https://agentmods.dev/skills/wlsdks/ontology-atlas/map-perf"><img src="https://agentmods.dev/badge/skills/wlsdks/ontology-atlas/map-perf/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 map-perf

Your own site · 80×15
<a href="https://agentmods.dev/skills/wlsdks/ontology-atlas/map-perf"><img src="https://agentmods.dev/badge/skills/wlsdks/ontology-atlas/map-perf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 951 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 51
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00032 $0.00951
Opus 5 $0.00016 $0.00476
Sonnet 5 $0.00006 $0.00190
Haiku 4.5 $0.00003 $0.00095

Measured yesterday against content hash f5f2685326be, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

map-perf 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 yesterday.

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/map-perf/SKILL.md · 104 lines

How it starts

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

Map performance

Run when pnpm design:route includes map-perf. It proves the changed topology gesture's work cost; add the separate motion change fact when temporal output also changed.

This skill exists because a 2026-07-31 node-drag report was dismissed six times while the measurement was actually panning the background. The two gestures look the same from outside.

Why grabbing a node is difficult

Node drag Background pan
Cursor grabbing grabbing
Visible motion one node whole map
Physics reheats through heatRef remains idle
Measured cost at 3,000 nodes about 140 ms/frame about 2 ms/frame

A pointer cursor is not proof of a grab. If sim.hasNode() is false, capture fails silently and becomes a pan.

Instrumentation: ?e2e=1

The query enables a test-only window.__atlasMap surface:

window.__atlasMap.nodes()
// [{ id, kind, label, x, y, draggable, hidden, radius, agentFocus }]

window.__atlasMap.interaction()
// { kind: "node" | "pan" | "idle", nodeId }
// Call during the gesture. A "pan" result invalidates the sample.

window.__atlasMap.backing()
// { width, height, dpr }

It also exposes edges(), edgeAt(), camera(), selection(), and chips(). Implementation: the final effect in src/widgets/ontology-map/ui/use-topology-loop.ts.

Procedure

pnpm build && npx serve out -l 4173
node scripts/perf-node-drag.mjs

Discard output unless the harness explicitly reports a successful node grab.

Four rules

  1. Use real CDP mouse input through page.mouse.*. Synthetic PointerEvents are untrusted, cannot capture the pointer, and become pans.
  2. Run headed. Headless rendering lacks display vsync and compositor backpressure; it measured 44fps where the real device measured 7fps. Only JS work cost transfers reliably.
  3. Report work, not frame gap. Gap includes refresh rate and CDP round trips (about 24ms); work is time owned by Atlas.
  4. Measure a control group such as synth=31 beside synth=3000. The observed 139.9ms versus 1.0ms exposes size-dependent cost directly.

Read the full file on GitHub · 104 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. yesterday Changed f5f2685326be
  2. 6d ago Changed · +7 lines d080c4337217
  3. 10d ago First seen · 97 lines · 32 tokens per session scan A 0cf13bc17db1

Subscribe to this mod's changes

map-perf is a skill published in the GitHub repository wlsdks/ontology-atlas (100 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 951 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.