sqldb-operations-cli
Pass
Audited by Gen Agent Trust Hub on Jul 31, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- Administrative SQL Command Execution: The skill provides instructions for using powerful T-SQL commands, such as
KILLto terminate database sessions andALTER EVENT SESSIONto manage diagnostic traces. These are standard operations for database administrators but require careful application as they can affect system state or availability. The instructions recommend these actions only after explicit user confirmation. - Dynamic Local Script Generation: In
references/query-reference.md, the skill demonstrates a pattern of writing T-SQL code to a local file (e.g.,create_xe_session.sql) before executing it via thesqlcmd -iflag. This method is used to ensure portability and stability for multi-line scripts across different shell environments and platforms. - Sensitive Performance Metadata Access: The diagnostic workflows involve querying system views like
sys.query_store_query_textandsys.dm_exec_requests. While these provide deep visibility into database activity and query text—which may contain business logic or parameters—this access is fundamental to the skill's purpose of identifying and resolving performance bottlenecks.
Audit Metadata