performance-debug

performance-debug is a skill for Claude Code, Codex from DongDuong2001/pudo-code-system. It costs 14 tokens per session (196 once invoked), scanned A, original, MIT.

A guide for diagnosing slow software, high processor use, database query delays, and sluggish user interfaces.

In plain words
What is it for?
Use it to profile applications, investigate repeated database queries and missing indexes, review inefficient loops, and assess caching.
Why use it?
It replaces guesswork with measurements that show whether the bottleneck is in the interface, network, backend, or database.

Skill for Claude CodeCodex

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/dongduong2001/pudo-code-system/performance
Any agent
npx skills add DongDuong2001/pudo-code-system --skill performance
Clone the repo
git clone --depth 1 https://github.com/DongDuong2001/pudo-code-system

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/dongduong2001/pudo-code-system/performance.svg)](https://agentmods.dev/skills/dongduong2001/pudo-code-system/performance)
Your own site
<a href="https://agentmods.dev/skills/dongduong2001/pudo-code-system/performance"><img src="https://agentmods.dev/badge/skills/dongduong2001/pudo-code-system/performance.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 196 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 $0.00014 $0.00196
Opus 5 $0.00007 $0.00098
Sonnet 5 $0.00003 $0.00039
Haiku 4.5 $0.00001 $0.00020

Measured 3d ago against content hash 59696fbc86ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

performance-debug 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 3d 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/debug/performance/SKILL.md · 20 lines

What it actually says

Performance Debugging Skill

This skill focuses on identifying, analyzing, and resolving performance-related issues such as slow response times, CPU spikes, and UI lag.

When to use this skill

  • When the application is responding slower than SLAs allow.
  • When CPU usage is unexpectedly high.
  • When identifying database query bottlenecks (N+1 queries, missing indexes).

Guidelines

  • Measure First: Do not guess. Use profilers, APMs (Datadog, New Relic), and logging to find the bottleneck.
  • Isolate the Scope: Determine if the issue is in the frontend, network, backend, or database layer.
  • Algorithmic Complexity: Check for accidental O(n^2) or worse loops.
  • Caching: Consider if a caching layer (Redis, Memcached) can bypass the heavy computation.
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. 3d ago First seen · 20 lines · 14 tokens per session scan A 59696fbc86ab

Subscribe to this mod's changes

performance-debug is a skill published in the GitHub repository DongDuong2001/pudo-code-system (5 stars, last pushed 27d ago), licensed MIT. It adds 14 tokens to every session and 196 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

scale-to-millions

Use this skill whenever the user is designing, reviewing, debugging, or answering interview questions about system/software architecture and scalability — e.g. "scale my app", "how do I handle more traffic", "design a URL shortener / news feed / chat system", "my API is slow under load", "should I shard my database"…

Rudra-narayan-muduli-001/Scale-to-Millions · 130 tokens

angular-migration

Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates. Use when upgrading AngularJS applications, planning framework migrations, or modernizing legacy Angular code.

rmyndharis/antigravity-skills · 42 tokens

binary-analysis-patterns

Master binary analysis patterns including disassembly, decompilation, control flow analysis, and code pattern recognition. Use when analyzing executables, understanding compiled code, or performing static analysis on binaries.

rmyndharis/antigravity-skills · 43 tokens

conductor-implement

Execute tasks from a track's implementation plan following TDD workflow.

rmyndharis/antigravity-skills · 17 tokens

antigravity-skills-manager

Global skills manager for Google Antigravity. Explore, search, install, and manage 300+ agent skills from the rmyndharis/antigravity-skills catalog using pure stdlib CLI tools.

rmyndharis/antigravity-skills · 49 tokens

api-documenter

Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.

rmyndharis/antigravity-skills · 52 tokens