switchboard: Skill for Claude Code

.agents/skills/optimize/SKILL.md

optimize is a skill for Claude Code from nsoybean/switchboard. It costs 52 tokens per session (1,885 once invoked), scanned A, original, no licence file.

A user-interface performance skill that diagnoses and fixes slow loading, rendering, animations, images, and bundle size. A bundle is the packaged JavaScript and other code sent to a browser.

In plain words
What is it for?
Use it when a website or app is slow, laggy, or janky, or when you need to reduce loading time or bundle size.
Why use it?
It helps locate the causes of slow or uneven interfaces across both the browser and the files delivered to it. It then addresses those performance problems.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is nsoybean/switchboard's own configuration. It tells Claude Code how to work on switchboard 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 switchboard configures →

Reuse

Borrowing it

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

Made for: Claude Code.

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 optimize

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nsoybean/switchboard/optimize"><img src="https://agentmods.dev/badge/skills/nsoybean/switchboard/optimize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,885 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 unknown 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.00052 $0.01885
Opus 5.5 $0.00021 $0.00754
Sonnet 5.5 $0.00010 $0.00377
Haiku 4.5 $0.00005 $0.00188

Measured 1mo ago against content hash 02183edcc94d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

optimize 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 1mo 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/optimize/SKILL.md · 266 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 1mo ago First seen · 266 lines · 52 tokens per session scan A 02183edcc94d

Subscribe to this mod's changes

optimize is a skill published in the GitHub repository nsoybean/switchboard (21 stars, last pushed 5mo ago), with no licence file. It adds 52 tokens to every session and 1,885 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-08-30.

Related

Other skills, from other repositories

doca-flow

DOCA Flow packet steering on NVIDIA NICs/DPUs, linked into a C application: match/action pipes, ports, representors, forwarding, hairpin, counters. Trigger on packet steering, classifier, rule-matching, representor, hairpin or 5-tuple-to-queue questions even when "DOCA Flow" is not named. Also covers pipe validation…

NVIDIA/skills · 224 tokens

doca-debug

Use this skill when the user is debugging any DOCA symptom — a build that won't compile, a link step that can't resolve a doca symbol, a runtime call returning DOCAERROR, a silent service or tool, or a stack trace / valgrind / core dump — and needs the layered ladder (install → version → build → link → runtime →…

NVIDIA/skills · 233 tokens

compute-sanitizer-diagnose-cuda-bugs

Detect and diagnose CUDA correctness bugs with NVIDIA Compute Sanitizer. Routes GPU memory errors, shared-memory data races, uninitialized-memory reads, and synchronization/barrier bugs to the right sub-tool (memcheck, racecheck, initcheck, synccheck) and explains how to build, run, and read the report. Use when…

NVIDIA/skills · 213 tokens

mcore-create-issue

Investigate a failing GitHub Actions run or job and create a GitHub issue for the failure.

NVIDIA/skills · 26 tokens

doca-dpa-hl-tracer

Use this skill when the user runs docadpahltracer to capture/decode DPA-side traces at the programming-events layer (kernel entry/exit, sync points, comm primitive calls, RDMA WR submission, completion drain) — picking TRACE vs CRIT, tuning the JSON config (file-size limits + filesizelimitpolicy, thread…

NVIDIA/skills · 242 tokens

holoscan-app-debug-build-run

Use when a concrete holoscan command in holoscan-applications or a standalone Module fails, hangs, regresses, or returns wrong output.

NVIDIA/skills · 38 tokens