dsh-speed-up-perf

dsh-speed-up-perf is a skill for Codex from qufei1993/skills-hub. It costs 41 tokens per session (436 once invoked), scanned A, original, MIT.

A workflow for investigating and improving the measured performance of a real user action. It compares an unchanged baseline with an optimized version while checking that output and failure behavior stay correct.

In plain words
What is it for?
Use it to define a representative workload, measure latency, throughput, and memory where relevant, locate the bottleneck, make a focused change, and report results under equivalent conditions.
Why use it?
It prevents optimizations based on guesses, fastest-only measurements, omitted work, or unrealistic microbenchmarks. It also exposes trade-offs between startup time, steady performance, and memory.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to define a representative workload, measure latency, throughput, and memory where relevant, locate the bottleneck, make a focused change, and report results under equivalent conditions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qufei1993/skills-hub/dsh-speed-up-perf
About the project

Skills Hub is a cross-platform desktop application for installing, organizing, updating, and syncing Agent Skills across AI coding tools. Developers use it to maintain one central skill library and distribute selected skills to tools such as Claude Code, Codex, Cursor, OpenCode, and Antigravity. Its catalogue instructions describe how to work with the managed skills.

qufei1993/skills-hub · 1,897 stars · on GitHub · aiskillshub.link

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add qufei1993/skills-hub --skill dsh-speed-up-perf
Clone the repo
git clone --depth 1 https://github.com/qufei1993/skills-hub

Made for: Codex.

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 dsh-speed-up-perf

README.md
[![agentmods](https://agentmods.dev/badge/skills/qufei1993/skills-hub/dsh-speed-up-perf/github.svg)](https://agentmods.dev/skills/qufei1993/skills-hub/dsh-speed-up-perf)
Your own site
<a href="https://agentmods.dev/skills/qufei1993/skills-hub/dsh-speed-up-perf"><img src="https://agentmods.dev/badge/skills/qufei1993/skills-hub/dsh-speed-up-perf/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 dsh-speed-up-perf

Your own site · 80×15
<a href="https://agentmods.dev/skills/qufei1993/skills-hub/dsh-speed-up-perf"><img src="https://agentmods.dev/badge/skills/qufei1993/skills-hub/dsh-speed-up-perf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 436 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 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.00041 $0.00436
Opus 5.5 $0.00016 $0.00174
Sonnet 5.5 $0.00008 $0.00087
Haiku 4.5 $0.00004 $0.00044

Measured 1mo ago against content hash e06cdfe9368b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dsh-speed-up-perf 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 1mo ago.

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.

skills/dsh-speed-up-perf/SKILL.md · 17 lines

What it actually says

优化实际测量的用户路径性能

阅读项目上下文和验证证据。明确真实负载和独立正确性判据前,不开始优化。

  1. 确定用户可见操作、入口、代表性输入规模、环境和性能现象。定义正确性、延迟或吞吐量,以及有关的峰值和保留内存指标。分开测冷启动与预热后的稳定状态。
  2. 在真实产物上建立基线。记录版本、构建、运行环境、输入、命令、重复次数和结果分布,不能只取最快一次;保留可观察输出。
  3. 用性能分析或测量代码定位怀疑的瓶颈,验证一个因果假设。加入错误对照,区分真正瓶颈、测量噪声和悄悄省略的工作。不得牺牲必需记录、顺序或错误行为。
  4. 实施有依据的最小优化。涉及缓存时,按生命周期验证缓存键是否完整、失效规则、存续时间和保留内存上限。
  5. 重新构建,在等价条件下复测;有帮助时交替测优化前后。独立验证输出等价和失败行为。变化可能在冷路径、热路径或内存之间产生取舍时,检查相应指标。同时报告收益和退步;噪声淹没差异时,说明改进尚未证实。

报告实际数字、测量条件、正确性证据和取舍。不得将复杂度估算、微基准测试或省略工作得到的结果,当作已经测得的端到端提升。

Files

What ships with it

7 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. 1mo ago First seen · 17 lines · 41 tokens per session scan A e06cdfe9368b

Subscribe to this mod's changes

dsh-speed-up-perf is a skill published in the GitHub repository qufei1993/skills-hub (1,897 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 436 once invoked, about $0.0002 per session on Opus 5.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-10-31.

Related

dsh-speed-up-perf compared with skills from other repositories

dsh-speed-up-perf next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dsh-speed-up-perfqufei1993/skills-hubSkill1.9kyesterdayMITA41Codex
redteambunhine0452/Ocul-PMSkill72d agoMITA65Claude Code, Codex
eval-risk-gap-analysisjoinwell52-AI/CodeFlowMu-openSkill23mo agoMITA40Claude Code, Codex
ops-log-diagnosisjoinwell52-AI/CodeFlowMu-openSkill23mo agoMITA38Claude Code, Codex
ops-runtime-healthjoinwell52-AI/CodeFlowMu-openSkill23mo agoMITA43Claude Code, Codex
ops-stuck-workflowjoinwell52-AI/CodeFlowMu-openSkill23mo agoMITA44Claude Code, Codex
qa-reproduce-issuejoinwell52-AI/CodeFlowMu-openSkill23mo agoMITA39Claude Code, Codex