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 Omar-Obando/qwen-orchestrator --skill sql-query-assistantgit clone --depth 1 https://github.com/Omar-Obando/qwen-orchestratorWrote 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/omar-obando/qwen-orchestrator/sql-query-assistant)<a href="https://agentmods.dev/skills/omar-obando/qwen-orchestrator/sql-query-assistant"><img src="https://agentmods.dev/badge/skills/omar-obando/qwen-orchestrator/sql-query-assistant/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/omar-obando/qwen-orchestrator/sql-query-assistant"><img src="https://agentmods.dev/badge/skills/omar-obando/qwen-orchestrator/sql-query-assistant.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.00050 | $0.01447 |
| Opus 5 | $0.00025 | $0.00724 |
| Sonnet 5 | $0.00010 | $0.00289 |
| Haiku 4.5 | $0.00005 | $0.00145 |
Grade A, and why
sql-query-assistant 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 9d 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 — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SQL Query Assistant
Overview
This skill provides guidance for writing, optimizing, and debugging SQL queries in enterprise environments. It covers best practices for performance, query patterns, and database-specific considerations. Based on SQL certification standards and database performance tuning best practices.
When to Use
Use this skill when:
- Writing complex SQL queries for reporting and analytics
- Optimizing slow database queries (performance tuning)
- Debugging query performance issues with EXPLAIN plans
- Designing database schemas and indexes
- Working with PostgreSQL, MySQL, SQL Server, or SQLite
- Need to understand query execution plans and optimization
- Implementing window functions for complex calculations
- Creating CTEs for readable multi-step queries
- Building efficient JOIN strategies
- Implementing pagination for large datasets
- Writing subqueries and correlated subqueries
- Optimizing aggregate functions and GROUP BY clauses
- Implementing database-specific optimizations
- Setting up database indexes for query optimization
- Creating materialized views for performance
- Implementing query caching strategies
- Debugging deadlocks and locking issues
- Writing efficient batch processing queries
- Implementing data warehouse star schemas
- Building ETL pipelines with SQL
- Creating database views for complex joins
- Implementing recursive queries for hierarchical data
- Optimizing full-text search queries
- Setting up database partitioning strategies
Do NOT use this skill when:
- Simple CRUD operations that can use an ORM
- Using an ORM for basic queries (use ORM-specific skill)
- Database administration tasks (backup, restore, user management)
- Database migration scripting (use database migration skill)
- NoSQL database queries (use NoSQL-specific skill)
Core Patterns
Query Optimization Checklist
-- 1. Use EXPLAIN to analyze query plan
EXPLAIN ANALYZE SELECT * FROM orders WHERE customer_id = 1;
-- 2. Add indexes for frequently queried columns
CREATE INDEX idx_orders_customer_id ON orders(customer_id);
-- 3. Avoid SELECT *
SELECT id, name, email FROM users WHERE active = true;
-- 4. Use JOINs instead of subqueries when possible
SELECT o.id, u.name
FROM orders o
JOIN users u ON o.user_id = u.id;
-- 5. Limit result sets
SELECT * FROM orders WHERE created_at > '2024-01-01' LIMIT 100;
What ships with it
1 file 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.
- 9d ago First seen · 223 lines · 50 tokens per session scan A 969859ddf128
sql-query-assistant is a skill published in the GitHub repository Omar-Obando/qwen-orchestrator (49 stars, last pushed 2mo ago), licensed MIT. It adds 50 tokens to every session and 1,447 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 skills, from other repositories
warehouse-sql
Review and run read-only natural-language SQL against a customer data warehouse with cached schema introspection and explicit write grants.
architect-agent
A high-level system design expert. Use when: (1) planning new system architectures, (2) designing database schemas, (3) evaluating tech stacks, (4) creating technical design documents (TDD). This agent uses the sqlite-mcp to maintain a persistent architectural log for the project.
data-quality-fixer
A data-quality repair process in which one role proposes database fixes and another independently checks them on a copy before changes are saved.
buckets
Spaces are stateless. All data is wiped on restart / rebuild. For state that must survive (user uploads, generations, dynamic feeds, logs, growing databases): mount an HF Bucket — S3-like object storage living at hf://buckets/ / .
Arquitetura de Sistemas de Dados
Aborda princípios e práticas para projetar sistemas de dados escaláveis e eficientes.
create-pr
Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for Prisma 8. Use when the user wants to create a pull request, open a PR, or submit changes for review.