跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

MySQL Read Only Query Skill

技能 已验证 活跃
属于:Ai Skills

Execute read-only SQL queries against multiple MySQL databases. Use when: (1) querying MySQL databases, (2) exploring database schemas/tables, (3) running SELECT queries for data analysis, (4) checking database contents. Supports multiple database connections with descriptions for intelligent auto-selection. Blocks all write operations (INSERT, UPDATE, DELETE, DROP, etc.) for safety.

目的

To safely and efficiently query multiple MySQL databases for data analysis and exploration, with intelligent database auto-selection and robust safety features.

功能

  • Execute read-only SQL queries
  • Support for multiple MySQL database connections
  • Intelligent database auto-selection based on descriptions
  • Blocks all write operations (INSERT, UPDATE, DELETE, etc.)
  • Configurable SSL support and query timeouts

使用场景

  • Querying MySQL databases for data analysis
  • Exploring database schemas and tables
  • Checking database contents for specific information
  • Connecting to and managing multiple database instances

非目标

  • Performing any write operations (INSERT, UPDATE, DELETE, DROP, etc.)
  • Executing multi-statement SQL queries
  • Operating on databases other than MySQL
  • Providing a full database administration interface

工作流

  1. List configured databases using `--list`
  2. Match user intent to database descriptions for selection
  3. Explore database structure using `--tables` or `--schema`
  4. Execute SQL queries with optional `--limit`

先决条件

  • Python 3.8+
  • mysql-connector-python: `pip install -r requirements.txt`

安装

请先添加 Marketplace

/plugin marketplace add sanjay3290/ai-skills
/plugin install ai-skills@ai-skills

质量评分

已验证
99 /100
about 18 hours ago 分析

信任信号

最近提交7 days ago
星标272
许可证Apache-2.0
状态
查看源代码

类似扩展

DBHub Database Query Guide

100

DBHub MCP 服务器查询数据库指南。每当您需要通过 DBHub 的 MCP 工具(search_objects、execute_sql)来探索数据库模式、检查表或运行 SQL 查询时,请使用此技能。在任何数据库查询任务、模式探索、数据检索或通过 MCP 执行 SQL 时激活,即使用户只说“检查数据库”或“为我查找一些数据”。此技能可确保您遵循正确的先探索后查询的工作流程,而不是猜测表结构。

技能
bytebase

Dsql

100

Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL migration, DDL operations, query plan explainability, and SQL compatibility validation. Triggers on phrases like: DSQL, Aurora DSQL, create DSQL table, DSQL schema, migrate to DSQL, distributed SQL database, serverless PostgreSQL-compatible database, DSQL query plan, DSQL EXPLAIN ANALYZE, why is my DSQL query slow.

技能
awslabs

Migrate Validate

100

Validate pending migrations for foreign key consistency, rollback safety, and best practices

技能
ruvnet

Sql Optimization

100

Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.

技能
github

Migrate Create

99

Create a new sequentially numbered database migration with up/down SQL files

技能
ruvnet

Agentdb Query

99

Query AgentDB through the controller bridge -- semantic routing, hierarchical recall, causal graphs, context synthesis, pattern store/search

技能
ruvnet