adversarial-performance

adversarial-performance is a skill for Claude Code, Codex from neverinfamous/memory-journal-mcp. It costs 86 tokens per session (1,547 once invoked), scanned A, original, MIT.

A multi-step review of an entire code repository that measures performance, tests likely bottlenecks under stress, and produces an optimization plan with checks for regressions.

In plain words
What is it for?
Use it for repository-wide performance audits, backend profiling, build-time and bundle-size investigations, server-throughput work, and release baselines. It is not for frontend page-load metrics or Lighthouse audits.
Why use it?
It helps uncover slow build steps, runtime hot paths, large bundles, or low server throughput that a single performance check may miss.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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.

agentmods
npx agentmods add skills/neverinfamous/memory-journal-mcp/adversarial-performance
Any agent
npx skills add neverinfamous/memory-journal-mcp --skill adversarial-performance
Clone the repo
git clone --depth 1 https://github.com/neverinfamous/memory-journal-mcp

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 adversarial-performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/adversarial-performance.svg)](https://agentmods.dev/skills/neverinfamous/memory-journal-mcp/adversarial-performance)
Your own site
<a href="https://agentmods.dev/skills/neverinfamous/memory-journal-mcp/adversarial-performance"><img src="https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/adversarial-performance.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,547 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.00086 $0.01547
Opus 5 $0.00043 $0.00773
Sonnet 5 $0.00017 $0.00309
Haiku 4.5 $0.00009 $0.00155

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

Security

Grade A, and why

adversarial-performance 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.

skills/adversarial-performance/SKILL.md · 140 lines

How it starts

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

Adversarial Performance

A multi-pass performance auditing system that produces high-confidence optimization assessments by introducing structured adversarial critique stages. Audits pass through an iterative pipeline of profiling, stress-testing critique, optimization planning, and optional external validation — producing output optimized for measurable impact, effort efficiency, and regression safety.

When to Load

Load this skill when any of these apply:

  • Running a performance audit against an entire repository
  • Profiling build times, runtime hot paths, or bundle size
  • The user asks for an adversarial performance review or stress-test analysis
  • The user says "perf audit", "performance review", "find bottlenecks", "adversarial performance", "optimize this repo", "make this faster", "why is this slow", or "speed up my code"
  • Preparing a performance baseline report before a major release
  • You want to reduce blind spots in your own performance assessment

Auto-Detection

Before starting, auto-detect the project profile by scanning the repository:

Signal Project Profile Extra Categories
MCP SDK imports, tool handlers, tools/list mcp-server Token & Context Efficiency (Category 7) — full depth
Express/Hono/Fastify, HTTP handlers, listen() web-app Runtime Performance (Category 4) — extra API latency focus
bin field, CLI arg parsing cli-tool Startup Cost analysis in Category 4
Vitest/Jest/Playwright config tested Test Suite Performance (Category 5) — full depth
Dockerfile present containerized Build Performance (Category 1) — Docker layer analysis
Database imports (better-sqlite3, pg, mysql2) data-layer Database & I/O (Category 6) — full depth

Read the full file on GitHub · 140 lines

Files

What ships with it

5 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. 6d ago First seen · 140 lines · 86 tokens per session scan A 73db7e19987d

Subscribe to this mod's changes

adversarial-performance is a skill published in the GitHub repository neverinfamous/memory-journal-mcp (20 stars, last pushed 1mo ago), licensed MIT. It adds 86 tokens to every session and 1,547 once invoked, about $0.0004 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