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 contactandrewchl-wq/turtle-mcp --skill backend-performancegit clone --depth 1 https://github.com/contactandrewchl-wq/turtle-mcpWrote 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/contactandrewchl-wq/turtle-mcp/backend-performance)<a href="https://agentmods.dev/skills/contactandrewchl-wq/turtle-mcp/backend-performance"><img src="https://agentmods.dev/badge/skills/contactandrewchl-wq/turtle-mcp/backend-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/contactandrewchl-wq/turtle-mcp/backend-performance"><img src="https://agentmods.dev/badge/skills/contactandrewchl-wq/turtle-mcp/backend-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00051 | $0.00986 |
| Opus 5.5 | $0.00020 | $0.00394 |
| Sonnet 5.5 | $0.00010 | $0.00197 |
| Haiku 4.5 | $0.00005 | $0.00099 |
Grade A, and why
backend-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 3mo 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 — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Backend performance
Cuándo usar
- Latencia o throughput por debajo del SLO.
- Endpoint nuevo en ruta crítica.
- Antes de un evento de tráfico alto.
No cargar para optimizaciones especulativas sin medición.
Disciplina
- Medí primero. Sin perfil, no hay diagnóstico, hay opinión.
- Optimizá el cuello. Mejorar lo que ya es rápido es trabajo perdido.
- Comprobá el efecto. Si no medís después, no sabés si ayudó.
Mediciones base
- Latencia p50/p95/p99 por endpoint.
- Throughput (req/s) sostenido sin degradar.
- Recursos: CPU, memoria, IO, conexiones a BD, cola.
- Distribución: ¿es lento siempre o por colas? Histograma > promedio.
Herramientas
| Capa | Herramienta |
|---|---|
| CPU/IO/lock | perf, pprof, py-spy, clinic.js, async-profiler |
| Queries | EXPLAIN ANALYZE, pg_stat_statements, slow query log |
| Trazas | OpenTelemetry + Jaeger/Tempo (ver [[backend-observability]]) |
| HTTP | k6, vegeta, wrk para carga |
| Memoria | heap dump + analizador del runtime |
Patrones que suelen pagar
Base de datos (suele ser el 80%)
- N+1 → eager loading / JOIN. Detectá con conteo de queries por request.
- Índice faltante en
WHERE/JOIN/ORDER BYfrecuente.EXPLAINpara confirmar uso. SELECT *→ seleccioná solo lo que usás (menos IO, menos transferencia).- Pool de conexiones del tamaño correcto (no infinito).
(núcleos * 2) + spindleses una base. - Read replicas para queries pesadas de lectura, si la consistencia eventual sirve.
Caché
Niveles, del más barato al más caro:
- Memoization del proceso — para cálculos puros, invalida con LRU.
- Caché distribuida (Redis) — para datos compartidos. TTL razonable.
- CDN / edge — para respuestas idempotentes públicas.
Toda caché necesita estrategia de invalidación. Sin esa, es bug en cámara lenta.
Cache stampede → single-flight o lock corto.
Batching y bulk
- Operaciones en N items en una sola query, no N queries.
INSERT ... VALUES (...), (...), (...)oCOPYen Postgres.- Para HTTP: agrupá calls a APIs externas en uno cuando lo permite.
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.
- 3mo ago First seen · 102 lines · 51 tokens per session scan A 702168fd0a2b
backend-performance is a skill published in the GitHub repository contactandrewchl-wq/turtle-mcp (2 stars, last pushed 4mo ago), licensed MIT. It adds 51 tokens to every session and 986 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-08-31.
backend-performance compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| backend-performancecontactandrewchl-wq/turtle-mcp | Skill | 2 | 4mo ago | MIT | A | 51 | Claude Code |
| principle-boundary-disciplineamajorai/ryu | Skill | 47 | yesterday | none | A | 46 | Claude Code |
| principle-make-operations-idempotentamajorai/ryu | Skill | 47 | yesterday | none | A | 46 | Claude Code |
| simplicio-dev-cliwesleysimplicio/simplicio | Skill | 28 | 2mo ago | none | A | 62 | Claude Code, Codex |
| printing-press-amendmvanhorn/cli-printing-press | Skill | 5.1k | today | MIT | A | 222 | Claude Code |
| groq-inferencesynthetic-sciences/openscience | Skill | 4.5k | 2d ago | Apache-2.0 | A | 77 | Claude Code, Codex |
| smiles-validationsynthetic-sciences/openscience | Skill | 4.5k | 2d ago | Apache-2.0 | A | 24 | Claude Code, Codex |