CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

sql-query-optimizer

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.

Quality

77%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/sql-query-optimizer/SKILL.md
SKILL.md
Quality
Evals
Security
Medium

E004: Prompt injection in skill

What this means

Detected 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.

Why it was flagged

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.

Report incorrect finding
Low

W013: System service modification

What this means

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.

Why it was flagged

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.

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/sql-query-optimizer/SKILL.md

Audited
Security analysis
Snyk

Is this your skill?

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.