optimizing-clickhouse-and-hogql-queries vs db-repair
optimizing-clickhouse-and-hogql-queries and db-repair are both databases skills. db-repair scores higher (94 vs 81 out of 100). optimizing-clickhouse-and-hogql-queries has more GitHub stars (41k), and optimizing-clickhouse-and-hogql-queries was updated more recently (today). The table compares them side by side.
| optimizing-clickhouse-and-hogql-queries | db-repair | |
|---|---|---|
| Score | 81 / 100 | 94 / 100 |
| What it does | Workflow for optimizing ClickHouse and HogQL queries. Use when a HogQL query, query runner, insight, or report is too slow; when a hand-written ClickHouse query (via `sync_execute` or in a migration) is too slow; when ClickHouse times out or hits memory limits; when investigating a slow `system.query_log` row; or when reviewing a proposed HogQL printer change for performance. Covers extracting the ClickHouse SQL, common smells (`FROM ... FINAL`, `JSONExtract` over properties, missing skip indexes, self-joins, CTE blow-up), measuring against a real cluster, and applying the fix at the right layer (printer, query runner, or migration). Does NOT cover Postgres / Django ORM / app-database queries; for those use `profiling-slow-api-endpoints`. | Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe. |
| Publisher | Community: PostHog | Community: garrytan |
| Grades | Maintenance A, Licence F, Quality A | Maintenance A, Licence A, Quality A |
| npm downloads a week | Not on npm | Not on npm |
| Runs | Skill | Skill |
| Works with | Claude Code, Claude apps | Claude Code, Claude apps |
| GitHub stars | 41,381 | 33,756 |
| Last commit | 5 Dec 2026 | 30 Nov 2026 |
| Licence | NOASSERTION | MIT |
| Listed since | 13 Nov 2026 | 25 Oct 2026 |
| Install optimizing-clickhouse-and-hogql-queries | Install db-repair |
Questions
Is optimizing-clickhouse-and-hogql-queries or db-repair more popular?
optimizing-clickhouse-and-hogql-queries has more GitHub stars: 41,381.
Can I use optimizing-clickhouse-and-hogql-queries and db-repair together?
Yes. AI assistants can load several skills at once. Install both and the assistant picks the right one for each task.