sql-index-optimizer-multi-db当用户希望“通过建表语句 + 慢 SQL 自动优化索引”时使用此 Skill,支持 MySQL、Oracle、PostgreSQL。脚本使用 Python,自动解析 DDL 与慢 SQL 中的 WHERE/JOIN/ORDER BY 列,生成候选索引及对应数据库的 CREATE INDEX 语句,并输出到文件。
Install via ClawdBot CLI:
clawdbot install houyalei/sql-index-optimizer-multi-dbGrade Limited — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Generated May 11, 2026
电商平台订单表数据量大,慢查询频繁。通过DDL和慢SQL自动生成索引建议,提升订单检索、报表生成等场景的性能。
金融交易系统需要快速查询交易记录,定期使用此技能分析慢SQL,自动生成复合索引,减少查询延迟。
SaaS应用中多租户共享数据库,租户数据隔离查询性能差。自动分析DDL和慢SQL,为不同租户场景生成优化索引。
物流系统需要高效查询配送轨迹,慢SQL影响运营效率。自动生成候选索引,改善WHERE和JOIN条件的列索引。
游戏服务器需要快速响应排行榜查询,使用此技能分析慢SQL,生成覆盖索引,提升ORDER BY和过滤性能。
用户按次数或包月付费使用该技能进行索引优化分析,每次输出完整报告。适合中小型企业定期优化需求。
将本技能作为插件集成到数据库管理平台中,提供增值服务。平台按用户数或企业许可收费。
基于自动生成的索引建议,提供人工复核和调优服务,结合执行计划分析,形成付费咨询套餐。
💬 Integration Tip
运行时需确保Python环境及sqlparse库已安装,可通过requirements.txt管理依赖;建议将输出文件作为临时建议,在高写入表上使用前务必复核执行计划。
Scored May 11, 2026
Database Designer - POWERFUL Tier Skill
Skill Oracle — Curated documentation of quality ClawHub skills. Markdown tables telling agents which tools work and which are empty. Not an API or code library.
Database Schema Designer
Use when optimizing SQL queries, designing database schemas, or tuning database performance. Invoke for complex queries, window functions, CTEs, indexing strategies, query plan analysis.
Data engineering skill for building scalable data pipelines, ETL/ELT systems, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka,...
Verify claims, statements, and information against reliable sources. Use when user asks to fact-check, verify, confirm, validate, or check the accuracy of an...