Command Palette

Search for a command to run...

Назад к скиллам
скилл № 38757

Audit Performance

Read-only slowness diagnostic that never 'fixes' (run before restart/delete): version, retention, bloat, hook/subagent fan-out, kernel-leak. Use when 'Claude…

БесплатноЗапускает вложенные скрипты
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Audit Performance в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Audit performance

Arguments. [--unattended] [--root <path>] [--session-id <id>] [--note <fact>]. --root defaults to the first local transcript source's configuration directory (the transcript_sources_file option), else $CLAUDE_CONFIG_DIR, else ~/.claude; pass the current session id via --session-id when known, and each operator fact via a repeated --note. --unattended, anywhere in the arguments, is the caller declaring that nobody is present. The skill takes it out before reading the rest: never pass it to the engine, whose parser does not accept it, and never read it as a root or a --note value; under it, make no /doctor or /heapdump suggestion and run neither. The bare word unattended is not this flag: stop and name --unattended.

Purpose

"It was slow, so I deleted everything and reinstalled" destroys the evidence and confounds the fix: a reinstall crosses version upgrades, so nobody learns whether accumulated state, a version regression, or component bloat was the cause. This skill is the five-minute capture that runs while it is slow, so the diagnosis rests on measurements instead of a nuked crime scene.

It deliberately answers "what is true right now" and refuses "so delete X". Remediation routes out (see the boundary table). The engine's own phase timings are first-class evidence: a census walk that takes minutes is the cost the product's retention sweep pays on that tree; a claude --version probe that takes ten seconds is itself a finding.

What this skill does not do

Question Owner
Why is Claude Code slow right now? this skill
The historical cost of these hooks over past sessions Not this engine (Never read bars transcripts); the person asks a /doctor session (see Reading the report)
What exactly is in the install tree, and is anything stale? /harness-ops:audit-install-state
Which plugins are enabled at which scope, and is the fleet current? /harness-ops:plugins-audit
Is this a known upstream bug? /harness-ops:known-issues (compose: search the symptoms this report surfaces)
Delete a genuinely unmanaged leftover /disk-hygiene:clean (if enabled)
Shed one project's ~/.claude.json state claude purge <path>

Boundary, the bundled doctor skill

One native Claude Code surface overlaps this skill's suspects, and the two get conflated whenever a session feels slow:

  • doctor (bundled skill): an in-session setup checkup that can offer fixes, which this skill never does. What it checks, its aliases, and its terminal variant are read live from commands: all commands.
  • This skill (marketplace plugin). A timed, read-only capture taken while it is slow: engine phase timings, spawn baselines, per-hook buckets, and the census, with remediation routed out.

Routing. Capture first. This skill is capture-at-moment tooling: a report taken after the stall ends supports no conclusion about the incident, and prepending a prerequisite adds latency on a host that is already slow. Transcript-derived history is covered under Reading the report, and the run-end suggestion offers /doctor. Prefer claude doctor when a session will not start. Prefer this skill when the question is why it is slow right now: the timings, the fan-out layer, and the retention-sweep state have no native counterpart. Its sibling audit-install-state owns the deep inventory of the tree against the same surface.

Mutation gate. doctor mutates: fixing is its point. This skill's contract is report-only and it refuses deletion, so never chain into a doctor fix on this skill's behalf. Surface the finding and let the user invoke the fix.

Availability is never assumed. Settings and the environment can hide doctor; this section states what to do when it resolves, never that it is present. What hides it, and the four-part records, live in reference/bundled-doctor.md.

Boundary, the built-in /heapdump command

  • /heapdump (built-in command): writes memory diagnostics files for the running Claude Code process. It is reserved for the person to run; the model does not invoke it.
  • This skill (marketplace plugin). Captures the host and install state around the slowness; it never reads process memory.

Routing. The run-end suggestion offers /heapdump only when the report or the person points at high memory use by Claude Code itself.

Mutation gate. We treat the .heapsnapshot file as holding secrets: never read it, ask for it, or hand it to another skill (/debugging:analyze-profile (if enabled) included). Ask only for the -diagnostics.json file. A person who wants the snapshot analyzed is told it can hold credentials and hands it over themselves. What each file holds and where it lands: reference/native-heapdump.md.

Never read

.credentials.json, `

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • evals/evals.json
  • reference/bundled-doctor.md
  • reference/known-performance-issues.md
  • reference/native-heapdump.md
  • scripts/audit_performance.py
  • scripts/audit_performance.test.sh
  • scripts/test_audit_performance.py

FAQ

Что делает скилл Audit Performance?

Read-only slowness diagnostic that never 'fixes' (run before restart/delete): version, retention, bloat, hook/subagent fan-out, kernel-leak. Use when 'Claude Code is slow', 'typing lags', sluggish session, machine freezes, slow hooks, or too many subagents. Not for bugs (/harness-ops:known-issues) or stale files (/harness-ops:audit-install-state).

Как установить скилл Audit Performance?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Audit Performance запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Audit Performance с