db-index-hygiene

Pass

Audited by Gen Agent Trust Hub on Nov 5, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill performs database index hygiene audits using standard PostgreSQL catalog queries. It identifies exact duplicates, redundant prefixes, and unused indexes based on runtime statistics.
  • [SAFE]: The skill implements safety checks, such as explicitly instructing the agent never to recommend dropping unique or constraint-backing indexes, even if they appear unused.
  • [SAFE]: The fix suggestions are marked as 'proposed' rather than automatic, and they recommend using 'DROP INDEX CONCURRENTLY' to minimize production impact.
  • [SAFE]: The skill uses static DDL analysis for structural redundancy while requiring 'runtime truth' (actual usage stats) for identifying unused indexes, preventing false positives based on static analysis alone.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 5, 2026, 02:08 AM