ag-skills: Skill for Claude Code

.agent/skills/performance-profiling/SKILL.md

performance-profiling is a skill for Claude Code from duongnguyen321/ag-skills. It costs 17 tokens per session (757 once invoked), scanned A, original, no licence file.

Guidance for finding and improving software performance through measurement, analysis, and optimisation. Performance profiling means measuring where a program spends time or resources.

In plain words
What is it for?
Use it to plan performance measurements, analyse their results, and choose optimisation work. It applies to investigating and improving application speed or resource use.
Why use it?
It helps replace guesswork with evidence when software is slow or uses too many resources. The description does not specify a particular profiling tool or workflow.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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

Reuse

Borrowing it

Nothing to install: this file belongs to duongnguyen321/ag-skills. 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/duongnguyen321/ag-skills/main/.agent/skills/performance-profiling/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/duongnguyen321/ag-skills

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/duongnguyen321/ag-skills/performance-profiling/github.svg)](https://agentmods.dev/skills/duongnguyen321/ag-skills/performance-profiling)
Your own site
<a href="https://agentmods.dev/skills/duongnguyen321/ag-skills/performance-profiling"><img src="https://agentmods.dev/badge/skills/duongnguyen321/ag-skills/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/duongnguyen321/ag-skills/performance-profiling"><img src="https://agentmods.dev/badge/skills/duongnguyen321/ag-skills/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 757 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.00017 $0.00757
Opus 5 $0.00009 $0.00378
Sonnet 5 $0.00003 $0.00151
Haiku 4.5 $0.00002 $0.00076

Measured 10d ago against content hash 5e58efdd8fd9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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 · 144 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

Files

What ships with it

1 file 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. 10d ago First seen · 144 lines · 17 tokens per session scan A 5e58efdd8fd9

Subscribe to this mod's changes

performance-profiling is a skill published in the GitHub repository duongnguyen321/ag-skills (2 stars, last pushed 23d ago), with no licence file. It adds 17 tokens to every session and 757 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

performance-optimization

Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.

addyosmani/agent-skills · 59 tokens

doubt-driven-development

Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when you want every assumption cross-examined before proceeding, when stress-testing a plan for hidden failure modes, when correctness matters more than speed, when working in unfamiliar code, when stakes are high…

addyosmani/agent-skills · 96 tokens

accesslint-audit

Find and fix WCAG 2.2 accessibility issues. Two modes — report (sweep a codebase or page, produce a prioritized written report, no edits) and fix (audit→edit→verify loop on a target). Prefers direct-CDP live-DOM auditing; falls back to a browser-MCP composition or HTML-string audits.

sickn33/agentic-awesome-skills · 75 tokens

agenttrace-session-audit

Audit local AI coding-agent sessions with agenttrace for cost, tool failures, latency, anomalies, health, diffs, and CI gates.

sickn33/agentic-awesome-skills · 34 tokens

agent-qa-debug-fix

Debug, patch, and verify failed Agent QA runs from MCP evidence, artifacts, logs, and local code without hiding product or infrastructure defects.

sickn33/agentic-awesome-skills · 35 tokens

agent-qa-result-triage

Triage failed Agent QA runs with MCP evidence, artifacts, logs, fixed failure categories, confidence, and actionable next steps.

sickn33/agentic-awesome-skills · 33 tokens