wax-performance-audit

wax-performance-audit is a skill for Codex from christopherkarani/Wax. It costs 67 tokens per session (962 once invoked), scanned A, original, Apache-2.0.

A method for measuring and investigating performance problems in the Wax code repository. It compares benchmarks to find whether code changes affect processing time, memory use, file size, input/output, or Swift concurrency checks.

In plain words
What is it for?
It helps run comparable before-and-after benchmarks, investigate CPU, memory, file-growth, and input/output issues, and examine Swift concurrency problems such as data races and actor-isolation errors.
Why use it?
It helps separate real slowdowns or resource growth from noisy measurements and narrow the problem to the relevant code path.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It helps run comparable before-and-after benchmarks, investigate CPU, memory, file-growth, and input/output issues, and examine Swift concurrency problems such as data races and actor-isolation errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/christopherkarani/wax/wax-performance-audit
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.

Any agent
npx skills add christopherkarani/Wax --skill wax-performance-audit
Clone the repo
git clone --depth 1 https://github.com/christopherkarani/Wax

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 wax-performance-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/christopherkarani/wax/wax-performance-audit.svg)](https://agentmods.dev/skills/christopherkarani/wax/wax-performance-audit)
Your own site
<a href="https://agentmods.dev/skills/christopherkarani/wax/wax-performance-audit"><img src="https://agentmods.dev/badge/skills/christopherkarani/wax/wax-performance-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 962 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 pass 7 Sept 2026
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.00067 $0.00962
Opus 5 $0.00034 $0.00481
Sonnet 5 $0.00013 $0.00192
Haiku 4.5 $0.00007 $0.00096

Measured 8d ago against content hash 3410acef8444, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

wax-performance-audit 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 8d 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.

Resources/skills/public/wax-performance-audit/SKILL.md · 80 lines

How it starts

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

Wax Performance Audit

Overview

Use this skill to benchmark Wax changes, isolate the hottest code path, and separate real regressions from noisy samples.

The repo builds with Swift 6.1 and StrictConcurrency enabled, so audit for Swift 6.2 concurrency risks without assuming 6.2-only language mode.

Workflow

  1. Name the symptom precisely: latency regression, memory growth, file bloat, or Swift concurrency diagnostics.
  2. Pick the narrowest benchmark or test file that exercises the path.
  3. Run a baseline and candidate with the same environment and scale.
  4. Collect wall time plus memory or file-growth metrics when the issue is not purely CPU-bound.
  5. Inspect the smallest relevant actor boundary, task group, cache, or I/O path.
  6. Report the evidence, the bottleneck, and the smallest safe fix.

Benchmark Selection

Use references/benchmark-workflow.md for the command matrix, environment flags, and benchmark map.

Prefer these repo entry points when they match the symptom:

  • Tests/WaxIntegrationTests/RAGBenchmarkSupport.swift
  • Tests/WaxIntegrationTests/RememberDedupBenchmarks.swift
  • Tests/WaxIntegrationTests/StoreBloatBenchmarks.swift
  • Tests/WaxIntegrationTests/RAGBenchmarks.swift
  • Tests/WaxIntegrationTests/RAGBenchmarksMiniLM.swift
  • Tests/WaxIntegrationTests/BatchEmbeddingBenchmark.swift
  • Tests/WaxIntegrationTests/SessionRuntimeStatsBenchmarks.swift
  • Tests/WaxIntegrationTests/WALCompactionBenchmarks.swift
  • Tests/WaxIntegrationTests/HandoffLookupBenchmarks.swift
  • Tests/WaxIntegrationTests/PayloadLivenessBenchmarks.swift
  • Tests/WaxIntegrationTests/SurrogateSourceBenchmarks.swift
  • Tests/WaxIntegrationTests/AccessStatsBootstrapBenchmarks.swift
  • Tests/WaxIntegrationTests/ConcurrencyStressTests.swift
  • Tests/WaxIntegrationTests/MemoryOrchestratorTests.swift
  • Tests/WaxArcticTests/ArcticPerformanceBenchmark.swift
  • Tests/WaxCoreTests/ReadWriteLockTests.swift
  • Tests/WaxCoreTests/AsyncMutexTests.swift

Read the full file on GitHub · 80 lines

Files

What ships with it

3 files 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. 8d ago First seen · 80 lines · 67 tokens per session scan A 3410acef8444

Subscribe to this mod's changes

wax-performance-audit is a skill published in the GitHub repository christopherkarani/Wax (788 stars, last pushed 2d ago), licensed Apache-2.0. It adds 67 tokens to every session and 962 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

capturing-learnings

Records a real failure-and-fix pair as a project-local lesson, with the specifics that make it recognisable next time. Use when a bug, leakage mistake, or validation error was found and corrected and should not recur. Use when someone asks to save what was learned from an experiment that went wrong.

StamKavid/last-ds-mile · 66 tokens

developing-with-streamlit

Use for ALL Streamlit tasks: creating, editing, debugging, beautifying, styling, theming, optimizing, or deploying Streamlit apps. Also custom components, st.components.v2, HTML/JS/CSS work. Discovers and loads version-matched reference docs from the user's installed Streamlit (>=1.57). Triggers: streamlit, st.…

streamlit/streamlit · 128 tokens

lobstr

R lobstr package for memory inspection. Use for understanding R object memory usage and structure.

LeoLin990405/r-analytics-skill · 21 tokens

trulens-diagnosis

Diagnose low evaluation scores and generate actionable improvement recommendations.

truera/trulens · 17 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens

exploiting-format-string-vulnerabilities

Methodology for exploiting format string bugs where attacker-controlled data reaches the format argument of printf-family functions, enabling stack/memory disclosure (info leaks for ASLR/PIE/canary defeat) and arbitrary write primitives (%n) to hijack control flow via GOT/.finiarray overwrites.

xalgorix/xalgorix · 69 tokens