fisker086/aiops/db-query
Claude Code and agent skill by fisker086/aiops
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Read-only database queries for MySQL and PostgreSQL inspection
Install
npx vskill@latest install fisker086/aiops/db-querySKILL.md
Database Query Skill
Provides read-only database query capabilities:
- Execute SELECT queries on MySQL and PostgreSQL
- Inspect table schemas and indexes
- Check database statistics and connection info
- Analyze query performance (
EXPLAIN ...only when the whole statement is safe; avoidEXPLAINon DDL)
Use builtin_db_query tool with fields:
driver:mysql, orpostgres/postgresql/pgx(on the AgentSphere desktop, MySQL/PostgreSQL use embedded Rust drivers; you do not needpsqlormysqlinstalled on PATH)dsn: connection string, for example:- PostgreSQL:
postgres://USER:PASSWORD@HOST:5432/DATABASE(桌面端若未写sslmode会自动补上sslmode=disable;若显式要求 SSL 如require/verify-full,桌面工具会提示不支持,请改用其他客户端) - MySQL:
USER:PASSWORD@tcp(HOST:3306)/DATABASE query: SQL to execute (SELECT or EXPLAIN-only; see safety note below)timeout: optional, query timeout in seconds (default: 10)
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.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/db_query/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/fisker086/aiops/db-query)