Db query

From fisker086/AIOps · View interactive version

Db query is an AI agent skill from the GitHub repository fisker086/AIOps. Read-only database queries for MySQL and PostgreSQL inspection

How to use this skill

Skill file

Database Query Skill

Provides read-only database query capabilities:

Use builtin_db_query tool with fields:

Note: Only SELECT and EXPLAIN forms that do not contain blocked substrings are allowed (INSERT, UPDATE, DELETE, DROP, ALTER, CREATE, etc. anywhere in the string will be rejected). INSERT, UPDATE, DELETE, DROP, ALTER, CREATE are blocked for safety.

Wrong DSN, blocked SQL, or TLS mismatch (e.g. server requires SSL but DSN uses sslmode=disable) will return an error in the tool result.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.