This guide provides metrics, thresholds, SQL queries, and TypeScript examples for monitoring PostgreSQL performance and detecting regressions. It also shows how to schedule recurring checks and reports, and lists recommended monitoring practices and setup checks.
75%
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/db-performance-watchlist/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 monitoring guide, but the `detectSlowQueries` function silently runs `ALTER DATABASE ... SET log_min_duration_statement` on every call, a persistent server configuration change the user did not explicitly request, which is a mild risk under the recall-first override.
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
The required workflow reads `query` text from PostgreSQL's `pg_stat_statements` (lines 82-99), which stores application-generated SQL normalized to placeholders, so outsider text reaches the agent only if attacker-influenced identifiers end up in SQL, which is a stretch and not a direct outsider submission path.
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 includes persistent operational changes (an `ALTER DATABASE ... SET log_min_duration_statement` and recurring cron jobs), but no explicit irreversible operational loss is established, so it fails gate 2 and is capped 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.