performance-profiling

performance-profiling is a skill for Claude Code from DDS-Solutions/AI-TadPole-OS. It costs 17 tokens per session (568 once invoked), scanned A, original, MIT.

A guide to measuring how software performs, finding slow parts, and improving them based on evidence.

In plain words
What is it for?
Use it to establish a baseline, locate bottlenecks, inspect browser performance data, and choose optimizations.
Why use it?
It reduces guesswork when diagnosing slow pages, large files, or expensive operations.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Workflow Binding**: Used directly during [`/audit`](../../workflows/audit.md), [`/enhance`](../../workflows/enhance.md), and [`/ui-ux-pro-max`](../../workflow.

Good fit Use it to establish a baseline, locate bottlenecks, inspect browser performance data, and choose optimizations.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/DDS-Solutions/AI-TadPole-OS
agentmods
npx agentmods add skills/dds-solutions/ai-tadpole-os/performance-profiling

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/dds-solutions/ai-tadpole-os/performance-profiling/github.svg)](https://agentmods.dev/skills/dds-solutions/ai-tadpole-os/performance-profiling)
Your own site
<a href="https://agentmods.dev/skills/dds-solutions/ai-tadpole-os/performance-profiling"><img src="https://agentmods.dev/badge/skills/dds-solutions/ai-tadpole-os/performance-profiling/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 performance-profiling

Your own site · 80×15
<a href="https://agentmods.dev/skills/dds-solutions/ai-tadpole-os/performance-profiling"><img src="https://agentmods.dev/badge/skills/dds-solutions/ai-tadpole-os/performance-profiling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 568 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.00017 $0.00568
Opus 5 $0.00009 $0.00284
Sonnet 5 $0.00003 $0.00114
Haiku 4.5 $0.00002 $0.00057

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/lighthouse_audit.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agent/skills/performance-profiling/SKILL.md · 59 lines

What it actually says

[!IMPORTANT] AI Context & Knowledge Heritage

  • Subsystem: Agent Skills Registry / performance-profiling
  • Architecture: @docs ARCHITECTURE:Documentation
  • Failure Path: Information drift, legacy terminology, or documentation mismatch.
  • Observability: Traceability via execution/parity_guard.py ([SKILL])

Performance Profiling & Optimization Protocol

Philosophy: Measure, analyze, optimize — in that strict order. Never optimize without a baseline. Workflow Binding: Used directly during /audit, /enhance, and /ui-ux-pro-max.


🎯 Progressive Disclosure & L3 Reference Index

Read REQUIRED profiling rules below; consult deep L3 Reference Guides on demand:

L3 Reference Guide Purpose Trigger / When to Load
references/vitals_and_devtools_recipes.md Core Web Vitals targets (LCP/INP/CLS), DevTools flame graph analysis, Lighthouse scripts Performance auditing & bottleneck isolation

⚡ 1. The 4-Step Profiling Lifecycle

1. BASELINE ➔ Measure current metrics with Lighthouse or cargo flamegraph.
2. IDENTIFY ➔ Locate specific bottlenecks (e.g. Long Tasks > 50ms, large bundle chunks).
3. OPTIMIZE ➔ Apply targeted code-splitting, memoization, or parallel fetch fixes.
4. VALIDATE ➔ Re-measure to prove latency or memory improvements.

📊 2. Core Web Vitals Baseline (Good Targets)

  • LCP (Largest Contentful Paint): < 2.5s
  • INP (Interaction to Next Paint): < 200ms
  • CLS (Cumulative Layout Shift): < 0.1

🛠️ 3. Execution Commands

# 1. Run automated Lighthouse audit
python .agent/skills/performance-profiling/scripts/lighthouse_audit.py http://localhost:5173

# 2. Analyze frontend production bundle sizes
npm run build -- --profile
Files

What ships with it

2 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 · 59 lines · 17 tokens per session scan A 283865d54e29

Subscribe to this mod's changes

performance-profiling is a skill published in the GitHub repository DDS-Solutions/AI-TadPole-OS (8 stars, last pushed 2d ago), licensed MIT. It adds 17 tokens to every session and 568 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-09-03.

Related

Other skills, from other repositories

migrate-oxlint

Guide for migrating a project from ESLint to Oxlint. Use when asked to migrate, convert, or switch a JavaScript/TypeScript project's linter from ESLint to Oxlint.

oxc-project/oxc · 44 tokens

walkeros-using-transformer-ga4

Use when wiring @walkeros/transformer-ga4 into a server flow, overriding default GA4 event mappings, dropping events, adding custom event keys, or troubleshooting GA4 Measurement Protocol decoding. Covers the before-chain wiring contract, configuration recipes, and per-field patching with extend/remove.

elbwalker/walkerOS · 72 tokens

monitoring-ingestion-pipeline

Guide for using the Grafana MCP to monitor and diagnose the Node.js ingestion pipeline workers in production. Use when investigating event lag, drops, pipeline errors, person/group processing, Kafka consumer health, Redis, Postgres, ClickHouse downstream health, or any ingestion worker question. Covers prod-us and…

PostHog/posthog · 71 tokens

walkeros-debugging

Use when walkerOS events aren't reaching destinations, debugging event flow, or troubleshooting mapping issues. Covers common problems and debugging strategies.

elbwalker/walkerOS · 30 tokens

fixing-flaky-tests

Guides an agent through reproducing, root-causing, fixing, and validating flaky tests in the PostHog monorepo. Use when a test fails intermittently in CI but passes on rerun or locally, when hogli ci:insights or the debugging-ci-failures skill classifies a failure as a flaky test, when given a GitHub Actions URL for a…

PostHog/posthog · 220 tokens

triaging-merge-queue-failures

Decision procedure for a PR that failed or was removed from the Trunk merge queue: classify the kick (superseded by a newer commit, not mergeable, a gate that failed on a cancelled run, real failure, one-off flake, or repo-wide flaky/infra issue) and take the matching action (wait, hold and fix, requeue once, or…

PostHog/posthog · 180 tokens