Install
openclaw skills install index-usage-analyzerAnalyzes database indexes and suggests redundant ones to remove for schema optimization
openclaw skills install index-usage-analyzer分析数据库中的索引结构,识别可能冗余的索引。基于索引命名规范和模式匹配判断哪些索引可能是 ORM 自动生成的冗余索引,建议清理以提升写入性能。
/root/.schema/recommendation.json。{
"analysis_timestamp": "2026-06-01T12:00:05",
"total_indexes": 3,
"redundant_indexes": ["idx_users_email_unique"],
"recommendation_file": "/root/.schema/recommendation.json",
"status": "completed"
}
见 scripts/analyze.py。