Skip to content
Back to skills

Loopx Performance Diagnosis

ASecurity

Diagnose an owned slow command or runtime with language-appropriate profilers, independent baseline measurements and local-private evidence. Use for demonstrated CPU, wall-time, allocation or IO regressions; profiling does not qualify a budget or grant execution authority.

  • 6,165 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 2, 2026
ai-agentspythongoshellnodebackendperformancedocumentation

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 2, 2026

npx -y skills add loopx-project/loopx --skill loopx-performance-diagnosis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Loopx Performance Diagnosis?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Loopx Performance Diagnosis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loopx-project-loopx-performance-diagnosis/badge)](https://www.skillsdirectory.com/skills/loopx-project-loopx-performance-diagnosis)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: loopx-performance-diagnosis
description: Diagnose an owned slow command or runtime with language-appropriate profilers, independent baseline measurements and local-private evidence. Use for demonstrated CPU, wall-time, allocation or IO regressions; profiling does not qualify a budget or grant execution authority.
---

# LoopX performance diagnosis

Read the current Goal/Todo contract and repository optimization evidence rules.
State the real user operation, observed failure and owning acceptance. Preserve
the exact source, runtime/interpreter, backend/history, inputs and concurrency.
Use an owned disposable target for writes. Do not attach to a production process,
elevate privileges, weaken OS policy, or start paid/remote workloads without the
existing authorization. Raw stacks, paths, arguments and profiles stay ignored
and local-private; public summaries contain only generalized evidence.

Read `loopx/capabilities/performance_diagnosis/README.md` for tool selection and
blind spots. On installed copies use `loopx capability show performance-diagnosis`
to locate its canonical documentation. Python waits/startup: Pyinstrument; Python
threads/native on Linux: py-spy; allocations: Memray; Node/TS: V8 CPU/heap.
Go/JVM/kernel costs need their native tools. Research official sources when the
installed runtime or missing evidence makes the documented choice uncertain.
Do not choose a tool from popularity or claim one profiler covers every layer.

1. Run the uninstrumented target and record ordinary elapsed time. Use repeated
   controlled samples for comparisons; profiling time is not a baseline or p95.
2. Verify the optional tool version locally. Preserve the selected interpreter;
   install optional tools in an isolated environment when authorized. Do not
   silently install them into product dependencies or fall back on permissions.
3. Write the exact target argv to an ignored JSON array. Run
   `loopx performance-diagnosis plan --tool TOOL --command-json FILE
   --output-directory FRESH_IGNORED_DIRECTORY --format json`. Read the whole plan.
   A plan has not executed or verified tool readiness.
4. Execute `profile_argv` through the Host executor as an argv array without shell
   interpolation. Capture only the owned process; record failures and coverage
   gaps. Profile a separate Node worker instead of inferring its CPU from Python
   transport waits. Do not collect locals or automatically profile unrelated children.
5. Require actual successful target exit and nonempty artifact. Read Speedscope
   or V8 CPU using `loopx performance-diagnosis inspect --profile-json FILE
   --format json`; Memray/heap use their own reporters. Keep threads independent
   and self/inclusive time distinct. Never sum inclusive rows to obtain latency.
6. Turn the hotspot into a falsifiable hypothesis. Use a controlled intervention
   to distinguish caller/transport, shared semantics and backend cost. Reuse the
   owning contract; do not skip freshness, authority checks or decision inputs.
7. Repeat the original uninstrumented workload and semantic checks after a fix.
   Preserve passed, failed and untested results and update the existing checkpoint.
   Readback of a stack does not prove root cause, improvement or provider admission.

Do not add a new receipt/approval requirement or automatically mutate scheduling,
Goal state or telemetry. Stop invoking the workflow to disable it; remove optional
tools/captures from their owned local environment when no longer needed.

Files in this skill

  • .loopx-skill-scope7 B
  • SKILL.md3.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.