speed
Skill1 starsChanged 32 days agoMITView on GitHub
Profile test and check commands, rank measured time sinks, and verify speed improvements.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- gromov0737/skillstheir own version, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- gromov0737/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- auditSkill
- autonomySkill
- batch-wakeupsSkill
- code-mapSkill
- codex-dispatchSkill
- cycleSkill
- flowSkill
- frictionSkill
- guardrailsSkill
- lean-agentsSkill
- modelsSkill
- planningSkill
- reviewSkill
- rosterSkill
- scanSkill
- scheduleSkill
- slim-instructionsSkill
- startSkill
- test-loopSkill
- tools-before-tokensSkill
- trim-contextSkill
- undoSkill
- whats-newSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Not in Claude Code?: Read docs/hosts.md in the plugin root first.
- Distinctive: line 13
Changes: test and check speed proposals, and fixes allowed by the selected autonomy mode.
- Very specific: line 20
Run python3 "${CLAUDE_PLUGIN_ROOT}/scripts/check-profile" probe --out out/speed to measure tool startup.
- Very specific: line 23
Run python3 "${CLAUDE_PLUGIN_ROOT}/scripts/check-profile" hints <test-directory> to collect static hypotheses: sleeps, large literal …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Speed: profile and speed up tests and checks
Plugin root: ${CLAUDE_PLUGIN_ROOT}. If that is still a ${...} placeholder, use the folder that contains skills/ (this file is skills/<name>/SKILL.md), and substitute that path, in quotes, wherever this skill uses CLAUDE_PLUGIN_ROOT.
Not in Claude Code? Read docs/hosts.md in the plugin root first. Skip steps that only work in Claude Code, and follow its propose-only rule before changing any host configuration.
Changes: test and check speed proposals, and fixes allowed by the selected autonomy mode.
Autonomy: follow ${CLAUDE_PLUGIN_ROOT}/docs/autonomy.md. The mode comes from the skill argument (propose, safe, auto or yolo), else docs/kaizen/config.json, else agent-kaizen.json in your Claude config dir, else propose. Apply only changes the mode allows. Hard stops always ask. Respect maxChangesPerRun and summarize what was applied, skipped and rolled back.
Task
- Find the project's test and check commands in
AGENTS.md,CLAUDE.md,.github/workflows/*.yml,package.json,Makefileorpyproject.toml. - Run
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/check-profile" probe --out out/speedto measure tool startup. Record the median<prog> --versiontime and real path. Flag slow shims over 100 ms, such as the macOS/usr/bin/gitxcrunlauncher. - Take an untraced baseline with
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/check-profile" run --out out/speed/baseline -- <check-cmd>. Add--junit <path>before--when JUnit XML is available. For Pythonunittestsuites without a durations flag, usepython3 "${CLAUDE_PLUGIN_ROOT}/scripts/check-profile" unittest -s tests --out out/speed/baseline. The baseline file isout/speed/baseline/run.jsonforrunorout/speed/baseline/unittest.jsonforunittest. - Trace programs the suite spawns with
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/check-profile" run --trace <progs> --out out/speed/traced -- <check-cmd>, using a comma-separated list such asgit,python3,node. Traced wall time includes wrapper overhead; use the untraced run as the baseline. Calls by absolute path bypassPATHwrappers. - Run
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/check-profile" hints <test-directory>to collect static hypotheses: sleeps, large literal timeouts, non-localhost network calls and subprocess spawns per file. When CI logs exist, compare per-test or job times across platforms. Usegh run view --logifghis available and authenticated; otherwise skip it. - Rank findings by measured seconds saved, stating the basis and sample count. Keep hypotheses from
hintsstrictly separate from measured findings. Direct host contention, such as indexers, antivirus or tool-call stalls, to/agent-kaizen:friction. Direct game or engine suite tier restructuring to/agent-kaizen:test-loop. Before writing the report todocs/kaizen/speed-<date>.md, replace the home directory with~in all resolved paths from probe output. - Apply fixes only as allowed by
${CLAUDE_PLUGIN_ROOT}/docs/autonomy.md. Back up each change withkaizen-backup, verify it immediately, and take before and aftercheck-profilemeasurements for every applied fix. Roll back on verification failure or no improvement. Add a row todocs/kaizen/LEDGER.mdwith the before and after measurements, metric command and review date.
Suggest setting projectCommands.<project>.speedReport in the global agent-kaizen.json to an absolute-path argv list, for example:
["<abs config dir>/bin/check-profile", "compare", "--exit-zero", "<abs base.json>", "<abs new.json>"]kaizen-project-report runs speedReport with the project as its cwd, shell=False and a 120-second timeout. compare writes nothing without an explicit --out. It does not expand ~, and the scheduler uses a minimal PATH. Run the profile separately in CI, cron, or manually with check-profile unittest|run --out ... to produce <abs new.json>. A stale new JSON file produces a stale result.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

