ClickHouse Investigation Queries

•
6
•

Formulates safe, optimized ClickHouse SQL queries to investigate AT Protocol accounts and Osprey rule executions.

ClickHouse Investigation Queries provides essential patterns, safety constraints, and performance optimizations for querying Osprey rule execution datasets in ClickHouse. Tailored for AT Protocol abuse detection and trust-and-safety investigations, it guides Claude Code to formulate SELECT-only queries with mandatory LIMIT clauses and timestamp partitioning filters across wide event tables containing hundreds of dynamic columns. This skill prevents resource exhaustion, timeouts, and syntax violations while facilitating forensic account analysis, bot entropy detection, content similarity matching, and coordinated co-sharing cluster investigations.

主な機能

01Enforces ClickHouse safety constraints including SELECT-only execution, required LIMIT clauses, and timeout prevention
02Optimizes high-volume queries with mandatory timestamp partitioning and selective column projection
036 GitHub stars
04Navigates wide event schemas containing dynamic PascalCase columns across 600+ Osprey rules
05Guides performant text similarity and copypasta analysis using guarded ngramDistance() functions
06Supports specialized investigation workflows for bot entropy, URL overdispersion, and co-sharing clusters

ユースケース

01Investigating coordinated bot activity and anomalous URL dispersion across the AT Protocol
02Correlating abusive accounts using infrastructure timing, PDS signups, and co-sharing clusters
03Auditing Osprey rule performance, false-positive candidates, and network hit rates