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 agentmods add commands/dork-labs/dorkos/performancegit clone --depth 1 https://github.com/dork-labs/dorkosWhat 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 | $0.00019 | $0.02922 |
| Opus 5 | $0.00010 | $0.01461 |
| Sonnet 5 | $0.00004 | $0.00584 |
| Haiku 4.5 | $0.00002 | $0.00292 |
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 2d 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 — 431 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Performance Debugging
Diagnose and resolve performance issues including slow renders, large bundle sizes, N+1 database queries, memory leaks, and general sluggishness.
Arguments
Parse $ARGUMENTS:
- If
--url <url>flag provided, navigate to that URL for profiling - Remaining text describes the performance symptom
- If empty, prompt for details
Phase 1: Problem Identification
Infer the symptom class (slow load / sluggish interactions / bundle size / memory / slow API / general), the scope (page, component, whole app, dev-only), and the timeline (recent regression vs always slow) from $ARGUMENTS and the initial profiling. Ask a clarifying question only when the answer genuinely changes the investigation path — a recent regression points at git log, "gets slower over time" points at leaks.
Phase 2: Initial Profiling
2.1 Browser Performance Check
If URL provided, navigate and profile:
mcp__plugin_playwright_playwright__browser_navigate: { url: "[url]" }
mcp__plugin_playwright_playwright__browser_snapshot: {}
mcp__plugin_playwright_playwright__browser_console_messages: { level: "warning" }
mcp__plugin_playwright_playwright__browser_network_requests: { includeStatic: true }
2.2 Check for Console Warnings
Look for performance-related warnings:
- React rendering warnings
- Memory warnings
- Long task warnings
- Deprecated API warnings
2.3 Network Timing Analysis
Analyze network requests for:
- Large payloads: Responses > 100KB
- Slow requests: Requests > 1s
- Waterfall issues: Requests blocking each other
- Duplicate requests: Same endpoint called multiple times
2.4 Basic Performance Metrics
mcp__plugin_playwright_playwright__browser_evaluate: {
function: "() => { const timing = performance.timing; return { loadTime: timing.loadEventEnd - timing.navigationStart, domReady: timing.domContentLoadedEventEnd - timing.navigationStart, firstPaint: performance.getEntriesByType('paint')[0]?.startTime || 'N/A' }; }"
}
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.
- 2d ago First seen · 431 lines · 19 tokens per session scan A 118b9d78405f
performance is a command published in the GitHub repository dork-labs/dorkos (9 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 2,922 once invoked, about $0.0001 per session on Opus 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-31.
Other commands, from other repositories
fest-show
Show festival progression (in-progress tasks, roadmap, and dependency view).
tidy
Consistency check for non-code repos with INDEX.md hierarchy. Verifies INDEX.md accuracy, MEMORY.md references, orphaned files, stale dates, and WAITING markers.
swarm-planner
Generates a structured execution plan with dependency tracking using the Swarms-inspired planning methodology.
review-queue
Display and manage the human review queue for parallel autonomous operations.
taskrunner-add
Add a task to the autonomous queue.
single-cli
ORCHESTRATOR. Run the autonomy loop as subagents in ONE terminal (coordination.mode=single-cli; default OFF; fail-closed). Re-runs decideCoordination, refuses if no independent verification remains, then drives a sequential builder/reviewer baton where the deterministic gate BINDS and the LLM critique is ADVISORY.