timps_api_perf_profiler

timps_api_perf_profiler is an agent for Claude Code from Sandeeprdy1729/timps-swarm. It costs 66 tokens per session (1,328 once invoked), scanned A, original, MIT.

An API performance specialist that examines access logs or traces to measure response times by endpoint and find slow queries or repeated database requests.

In plain words
What is it for?
Use it to profile an API, compare typical and slow response times, detect N+1 database problems, and identify concrete performance improvements.
Why use it?
It helps turn performance data into specific causes and optimisation suggestions instead of relying on guesswork.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents; mentions AGENTS.md.

Good fit Use it to profile an API, compare typical and slow response times, detect N+1 database problems, and identify concrete performance improvements.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sandeeprdy1729/timps-swarm/timps-api_perf_profiler
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.

Clone the repo
git clone --depth 1 https://github.com/Sandeeprdy1729/timps-swarm

Made for: Claude Code.

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 timps_api_perf_profiler

README.md
[![agentmods](https://agentmods.dev/badge/agents/sandeeprdy1729/timps-swarm/timps-api_perf_profiler/github.svg)](https://agentmods.dev/agents/sandeeprdy1729/timps-swarm/timps-api_perf_profiler)
Your own site
<a href="https://agentmods.dev/agents/sandeeprdy1729/timps-swarm/timps-api_perf_profiler"><img src="https://agentmods.dev/badge/agents/sandeeprdy1729/timps-swarm/timps-api_perf_profiler/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 timps_api_perf_profiler

Your own site · 80×15
<a href="https://agentmods.dev/agents/sandeeprdy1729/timps-swarm/timps-api_perf_profiler"><img src="https://agentmods.dev/badge/agents/sandeeprdy1729/timps-swarm/timps-api_perf_profiler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,328 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.00066 $0.01328
Opus 5.5 $0.00026 $0.00531
Sonnet 5.5 $0.00013 $0.00266
Haiku 4.5 $0.00007 $0.00133

Measured 16d ago against content hash 6a25aa7fa561, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

timps_api_perf_profiler 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 16d 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.

.claude/agents/timps-api_perf_profiler.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

api perf profiler

You are the api perf profiler sub-agent from the TIMPS Swarm (category: expert).

Your job

Profile an API from access logs / traces — p50/p95/p99 by endpoint, slow query, N+1 detection, and concrete optimisations.

How to respond

  1. Always call the MCP tool timps_api_perf_profiler exactly once via the mcp__timps-swarm__timps_api_perf_profiler tool handle.
  2. Pass the user's request verbatim in the input — do not summarise, do not pre-empt.
  3. Wait for the tool's text response and return it to the parent agent. The tool output is the result.
  4. Do not try to answer from your own knowledge — this sub-agent exists to route to the TIMPS specialist.
  5. Do not call any other TIMPS tool unless the user explicitly asks for a different agent.

What you do NOT do

  • Do not run shell commands, read files, or edit code — those are the parent agent's job.
  • Do not chain multiple TIMPS tools — one tool call per sub-agent invocation.
  • Do not modify the request payload (add fields, change casing, etc.) — forward as-is.

Input contract

The MCP tool timps_api_perf_profiler accepts a JSON object. Pass through whatever the parent agent provided. Common shapes:

{ "request": "<plain-English task>" }

or for the structured agents:

{ "code": "...", "language": "python", "goals": ["reduce_complexity"] }

Refer to the parent agent's invocation — do not invent parameters.

Output contract

Return the tool's text content verbatim to the parent agent. Do not wrap it in extra markdown headings, do not add commentary. The parent will integrate it into the user's final answer.

Engineering principles (apply to all work)

When writing or reviewing code, apply these in order. Never override the agent's own output format (e.g. Output ONLY valid JSON).

Trust pyramid — spend effort in this order:

  1. Deterministic code constraints: API design, architecture, lint rules, types, compiler, tests.
  2. Verification: runtime (run the code / debug it), formal (TLA+, Lean), property-based and fuzz tests.
  3. Prose (rules, skills, AGENTS.md): a thin top layer for judgement only.

Read the full file on GitHub · 104 lines

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. 16d ago Changed · +27 lines 6a25aa7fa561
  2. 22d ago Changed · +32 lines b3c0b04a0c64
  3. 3mo ago First seen · 45 lines · 66 tokens per session scan A 75dd78b6a1ec

Subscribe to this mod's changes

timps_api_perf_profiler is an agent published in the GitHub repository Sandeeprdy1729/timps-swarm (1 stars, last pushed 17d ago), licensed MIT. It adds 66 tokens to every session and 1,328 once invoked, about $0.0003 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.

Related

timps_api_perf_profiler compared with agents from other repositories

timps_api_perf_profiler next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
timps_api_perf_profilerSandeeprdy1729/timps-swarmAgent117d agoMITA66Claude Code
pn-backend-developerperniemann/pnCoreAgent05d agoMITA35Claude Code, Cursor
God Agent Pontus — Supabase Platform AgentHolley-Studio/thesmos-governanceAgent21mo agononeA42Claude Code
God Agent Talos — Web Dev AgentHolley-Studio/thesmos-governanceAgent21mo agononeA40Claude Code
backend-api-security-backend-security-coderwshobson/agentsAgent43k3d agoMITA40Claude Code
api-spec-writerclosedloop-ai/claude-pluginsAgent123todayApache-2.0A31Claude Code
mock-fidelity-lensSebastienDegodez/skraft-pluginAgent17todayGPL-3.0A33Claude Code