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.
npx skills add dean0x/devflow --skill performancegit clone --depth 1 https://github.com/dean0x/devflowWrote 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.
[](https://agentmods.dev/skills/dean0x/devflow/performance)<a href="https://agentmods.dev/skills/dean0x/devflow/performance"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/performance/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.
<a href="https://agentmods.dev/skills/dean0x/devflow/performance"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.00773 |
| Opus 5.5 | $0.00006 | $0.00309 |
| Sonnet 5.5 | $0.00003 | $0.00155 |
| Haiku 4.5 | $0.00002 | $0.00077 |
Grade A, and why
performance 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.
How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Performance Patterns
Detection patterns for performance and bottleneck review. Use with devflow:review-methodology.
Iron Law
Measure before optimizing.
Profile first, optimize second. Every performance claim requires benchmarks. Brendan Gregg's USE Method (Utilization, Saturation, Errors) and Tom Wilkie's RED Method (Rate, Errors, Duration) are the systematic starting points — not guesswork. Gil Tene's coordinated omission warning: averages lie — monitor P99, not mean latency.
Measurement tools: flame graphs for CPU hot paths (widest frames are hottest), HDR histograms for full latency distributions.
Performance Categories
1. Algorithmic Issues
- N+1 queries: a database query inside a loop, O(n) round trips. Fix: one batch query, then a Map lookup.
- O(n²) patterns: linear search inside a loop (
items.filter(i => selected.includes(i.id))). Fix: a Set lookup.
2. Memory Issues
- Memory leaks: resources not cleaned up, hidden by GC until OOM.
- Cache line false sharing: hot fields on the same 64-byte line cause inter-core invalidation in high-throughput code.
- Unbounded caches: collections that grow forever. Use LRU with a
maxlimit.
3. I/O Issues
- Blocking operations: synchronous I/O (
readFileSync) in a request path blocks the event loop. - Sequential when parallel is possible: independent awaits run serially, so the total is the sum, not the max. Fix:
Promise.all. - Wrong layer: CPU micro-tuning on a path bound by disk or network I/O (RAM ~100ns, SSD ~100µs, network ~500µs).
4. Database Issues
Missing indexes, SELECT *, OFFSET pagination on large tables, LIKE with leading wildcard. See references/violations.md.
5. Frontend / Web Vitals
| Metric | Good | Poor | Measures |
|---|---|---|---|
| LCP | < 2.5s | > 4s | Largest element load |
| INP | < 200ms | > 500ms | Input responsiveness |
| CLS | < 0.1 | > 0.25 | Layout stability |
Unnecessary re-renders, missing virtualization, missing code splitting. See references/violations.md.
What ships with it
4 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.
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.
- 1mo ago Changed · -59 lines · -4 tokens per session 336514c6dbd6
- 1mo ago Changed · -7 tokens per session 9d76a9105946
- 3mo ago First seen · 136 lines · 26 tokens per session scan A 426f9c5c96c7
performance is a skill published in the GitHub repository dean0x/devflow (23 stars, last pushed today), licensed MIT. It adds 15 tokens to every session and 773 once invoked, about $0.0001 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-08-30.
performance compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| performancedean0x/devflow | Skill | 23 | today | MIT | A | 15 | Claude Code |
| reflectsamzong/Recall | Skill | 112 | today | MIT | A | 57 | Codex |
| guardRuya-AI/cozempic | Skill | 429 | 5mo ago | MIT | A | 64 | Claude Code |
| totem-compiled-rulesmmnto-ai/totem | Skill | 18 | 8d ago | Apache-2.0 | A | 31 | Claude Code, Codex |
| context-engineeringvraj-ai/skills | Skill | 4 | 20d ago | MIT | A | 43 | Claude Code, Codex |
| setup-obsidianvraj-ai/skills | Skill | 4 | 20d ago | MIT | A | 36 | Claude Code |
| continuity-briefuqeu/estelle-cli | Skill | 0 | 26d ago | Apache-2.0 | A | 0 | Claude Code |