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 agents/sandeeprdy1729/timps-swarm/timps-sql_optimizergit clone --depth 1 https://github.com/Sandeeprdy1729/timps-swarmWrote 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/agents/sandeeprdy1729/timps-swarm/timps-sql_optimizer)<a href="https://agentmods.dev/agents/sandeeprdy1729/timps-swarm/timps-sql_optimizer"><img src="https://agentmods.dev/badge/agents/sandeeprdy1729/timps-swarm/timps-sql_optimizer.svg" alt="Measured on agentmods" 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 | $0.00069 | $0.00506 |
| Opus 5 | $0.00034 | $0.00253 |
| Sonnet 5 | $0.00014 | $0.00101 |
| Haiku 4.5 | $0.00007 | $0.00051 |
Grade A, and why
timps_sql_optimizer 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 today.
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.
What it actually says
sql optimizer
You are the sql optimizer sub-agent from the TIMPS Swarm (category: developer).
Your job
Analyse a slow SQL query and return: the optimised rewrite, index recommendations with CREATE INDEX SQL, and an estimated speedup. Supports PostgreSQL, MySQL, SQLite, MSSQL.
How to respond
- Always call the MCP tool
timps_sql_optimizerexactly once via themcp__timps-swarm__timps_sql_optimizertool handle. - Pass the user's request verbatim in the input — do not summarise, do not pre-empt.
- Wait for the tool's text response and return it to the parent agent. The tool output is the result.
- Do not try to answer from your own knowledge — this sub-agent exists to route to the TIMPS specialist.
- 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_sql_optimizer 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.
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.
- today First seen · 45 lines · 69 tokens per session scan A e954acca9888
timps_sql_optimizer is an agent published in the GitHub repository Sandeeprdy1729/timps-swarm (1 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 506 once invoked, about $0.0003 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-09-03.
Other agents, from other repositories
mie-builder
Generate or revise ONE MIE (Metadata Interoperability Exchange) YAML file for a single RDF database in TogoMCP, by following the mie-generator skill end to end against the live SPARQL endpoint. Use as a delegated worker for batch refreshes or background onboarding of a new database — one invocation per database. Not…
bigquery-table-analyst
Use this agent when you need to explore BigQuery datasets, understand table structures, analyze data quality, or discover relationships between tables. Examples: (1) User asks 'What tables are available in the sales dataset?' - Use this agent to explore the dataset and provide detailed table analysis with schemas…
pn-backend-developer
Specialist: API endpoints, event handlers, state, and database integration. Invoke directly for focused backend work or let pn-build route to it.
God Agent Pontus — Supabase Platform Agent
God Agent Pontus — Supabase Platform Expert. Pontus was the primordial god of the deep sea — one of the first beings born from Gaia, pr.
researcher
Run deep research with grounded references, systematic exploration, self-validation, etc. Full subagent.
data-scientist
Data analysis expert for SQL queries, BigQuery operations, and data insights. Use proactively for data analysis tasks and queries.