The content explains how to identify SQL performance bottlenecks and improve queries with index recommendations, rewrites, and benchmarking examples. It also provides a checklist and sample code for detecting and monitoring slow queries.
77%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Medium
Suggest reviewing before use
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/sql-query-optimizer/SKILL.mdDetected a prompt injection in the skill instructions. The skill contains hidden or deceptive instructions that fall outside its stated purpose and attempt to override the agent’s safety guidelines or intended behavior.
The skill is a legitimate SQL tuning guide, but its slow-query script silently runs `ALTER DATABASE ... SET log_min_duration_statement` on the user's database, a persistent configuration change beyond the read-only analysis the skill advertises, which is risky toward the user without showing malicious intent.
The skill prompts the agent to compromise the security or integrity of the user’s machine by modifying system-level services or configurations, such as obtaining elevated privileges, altering startup scripts, or changing system-wide settings.
The skill provides executable database operations, including `CREATE INDEX` and `ALTER DATABASE ... SET log_min_duration_statement`, which change supporting database configuration and schema, but no explicit irreversible operational loss is established (index creation and settings changes are reversible), so the gate fails at low.
sathishssj3/Stereix-Engine
1e0ee85
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.