Pytorch Clickhouse
pytorch/test-infra
Load this FIRST whenever working with PyTorch CI data (any pytorch/ org repo), the torchci/HUD codebase, or the PyTorch HUD ClickHouse database.
Optimize slow queries, analyze SQL performance, and collect evidence for expensive workloads.
$ npx skills add FrankChen021/datastoria --skill optimize-clickhouse-sql -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install FrankChen021/datastoria optimize-clickhouse-sql --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/FrankChen021/datastoria.git skills-src && mkdir -p .claude/skills && cp -r skills-src/resources/skills/optimize-clickhouse-sql .claude/skills/optimize-clickhouse-sql && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "optimize-clickhouse-sql" agent skill from https://github.com/FrankChen021/datastoria/tree/master/resources/skills/optimize-clickhouse-sql into .claude/skills/optimize-clickhouse-sql/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-clickhouse-sql", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/FrankChen021/datastoria/tree/master/resources/skills/optimize-clickhouse-sqlType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add FrankChen021/datastoria --skill optimize-clickhouse-sql -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install FrankChen021/datastoria optimize-clickhouse-sql --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FrankChen021/datastoria.git skills-src && mkdir -p .agents/skills && cp -r skills-src/resources/skills/optimize-clickhouse-sql .agents/skills/optimize-clickhouse-sql && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "optimize-clickhouse-sql" agent skill from https://github.com/FrankChen021/datastoria/tree/master/resources/skills/optimize-clickhouse-sql into .agents/skills/optimize-clickhouse-sql/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-clickhouse-sql", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add FrankChen021/datastoria --skill optimize-clickhouse-sql -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install FrankChen021/datastoria optimize-clickhouse-sql --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FrankChen021/datastoria.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/resources/skills/optimize-clickhouse-sql .cursor/skills/optimize-clickhouse-sql && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "optimize-clickhouse-sql" agent skill from https://github.com/FrankChen021/datastoria/tree/master/resources/skills/optimize-clickhouse-sql into .cursor/skills/optimize-clickhouse-sql/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-clickhouse-sql", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/FrankChen021/datastoria.git --path resources/skills/optimize-clickhouse-sql--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add FrankChen021/datastoria --skill optimize-clickhouse-sql -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install FrankChen021/datastoria optimize-clickhouse-sql --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FrankChen021/datastoria.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/resources/skills/optimize-clickhouse-sql .gemini/skills/optimize-clickhouse-sql && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "optimize-clickhouse-sql" agent skill from https://github.com/FrankChen021/datastoria/tree/master/resources/skills/optimize-clickhouse-sql into .gemini/skills/optimize-clickhouse-sql/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-clickhouse-sql", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install FrankChen021/datastoria optimize-clickhouse-sqlInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add FrankChen021/datastoria --skill optimize-clickhouse-sql -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/FrankChen021/datastoria.git skills-src && mkdir -p .github/skills && cp -r skills-src/resources/skills/optimize-clickhouse-sql .github/skills/optimize-clickhouse-sql && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "optimize-clickhouse-sql" agent skill from https://github.com/FrankChen021/datastoria/tree/master/resources/skills/optimize-clickhouse-sql into .github/skills/optimize-clickhouse-sql/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-clickhouse-sql", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add FrankChen021/datastoria --skill optimize-clickhouse-sql -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install FrankChen021/datastoria optimize-clickhouse-sql --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FrankChen021/datastoria.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/resources/skills/optimize-clickhouse-sql .opencode/skills/optimize-clickhouse-sql && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "optimize-clickhouse-sql" agent skill from https://github.com/FrankChen021/datastoria/tree/master/resources/skills/optimize-clickhouse-sql into .opencode/skills/optimize-clickhouse-sql/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-clickhouse-sql", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
optimize-clickhouse-sqlOptimize slow queries, analyze SQL performance, and collect evidence for expensive workloads.
Optimize Clickhouse SQL is an agent skill from FrankChen021/datastoria. Optimize slow queries, analyze SQL performance, and collect evidence for expensive workloads.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering SQL, Data warehousing and Query optimization. It works with SQL and ClickHouse. The repository describes itself as: AI-native ClickHouse console for your cluster diagnostics and query generation, optimization and data visualization.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit d0859a2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Optimize Clickhouse SQL loads about 1.2k tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 577 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 577 words (~1,202 tokens).
“Workflow is evidence-driven: collect evidence with tools, then recommend based on evidence only.”
Just SKILL.md in resources/skills/optimize-clickhouse-sql of FrankChen021/datastoria.
Open the folder on GitHubat commit d0859a2
Optimize Clickhouse SQL next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Optimize Clickhouse SQL this skillFrankChen021/datastoria | 327 | — | ~1.2k | Automated safety check: Pass | Custom licence | |
| Pytorch Clickhousepytorch/test-infra | 113 | — | ~2.8k | Automated safety check: Pass | Custom licence | |
| Chdb SQLvemetric/vemetric | 394 | 1 repos | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Modelersidequery/sidemantic | 129 | — | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Querying Tempotempoxyz/tidx | 107 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Semantic Analystsidequery/sidemantic | 129 | — | ~982 | Automated safety check: Pass | AGPL-3.0 |
pytorch/test-infra
Load this FIRST whenever working with PyTorch CI data (any pytorch/ org repo), the torchci/HUD codebase, or the PyTorch HUD ClickHouse database.
vemetric/vemetric
A skill your agent uses when the user wants to run SQL — especially analytical SQL — on local files (parquet/csv/json), URLs, S3 paths, or remote databases (Postgres, MySQL, MongoDB, ClickHouse…
sidequery/sidemantic
Build, validate, and manage semantic models using Sidemantic.
tempoxyz/tidx
Query indexed Tempo chain data via tidx HTTP API and CLI. An agent skill from tempoxyz/tidx.
sidequery/sidemantic
Answer analytical, KPI, metric, trend, cohort, and business-performance questions through a Sidemantic semantic layer.
Rain-kl/OpenFlare
Wavelet 项目专用:当新增或修改数据库表结构、索引、初始化数据、系统配置 seed、模板 seed、默认管理员、goose SQL 迁移、internal/infra/persistence/migrator、ClickHouse 分析库 DDL 或数据库升级流程时必须使用。本技能指导在 internal/infra/persistence/migrator/goose 下编写…
FrankChen021/datastoria
Query ClickHouse system tables to inspect query logs, monitor cluster health, check replication status, and analyze slow queries.
FrankChen021/datastoria
Rules for charts and visualization. An agent skill from FrankChen021/datastoria.
FrankChen021/datastoria
Diagnose ClickHouse runtime query failures when the user wants database-level cause and fix guidance from an error or numeric error code, not source-code root cause analysis.
FrankChen021/datastoria
Expert system for generating, validating, and optimizing ClickHouse SQL.
FrankChen021/datastoria
Diagnose ClickHouse cluster health and provide concrete remediation.
FrankChen021/datastoria
Investigate application or repository source code with searchfile and readfile to explain behavior, trace root causes of runtime or query errors, and answer with precise file citations.
Works with
Categories
Optimize slow queries, analyze SQL performance, and collect evidence for expensive workloads. Optimize Clickhouse SQL is an agent skill from FrankChen021/datastoria. Optimize slow queries, analyze SQL performance, and collect evidence for expensive workloads.
Optimize Clickhouse SQL fits situations like: tasks that involve SQL; tasks that involve Data warehousing; tasks that involve Query optimization.
Run `npx skills add FrankChen021/datastoria --skill optimize-clickhouse-sql -a claude-code`. Or copy the skill folder (resources/skills/optimize-clickhouse-sql in FrankChen021/datastoria) into .claude/skills/optimize-clickhouse-sql in your project. Claude Code loads it when a task matches its description.
Run `npx skills add FrankChen021/datastoria --skill optimize-clickhouse-sql -a codex`. Or copy the skill folder (resources/skills/optimize-clickhouse-sql in FrankChen021/datastoria) into .agents/skills/optimize-clickhouse-sql in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add FrankChen021/datastoria --skill optimize-clickhouse-sql -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/optimize-clickhouse-sql, .gemini/skills/optimize-clickhouse-sql, .github/skills/optimize-clickhouse-sql and .opencode/skills/optimize-clickhouse-sql in your project.
SKILL.md names no scripts, command-line tools or credentials: Optimize Clickhouse SQL is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Optimize Clickhouse SQL has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Optimize Clickhouse SQL: Pytorch Clickhouse (pytorch/test-infra, 113 stars), Chdb SQL (vemetric/vemetric, 394 stars), Modeler (sidequery/sidemantic, 129 stars) and Querying Tempo (tempoxyz/tidx, 107 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
FrankChen021 (a GitHub user) maintains it in FrankChen021/datastoria, which has 327 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on July 21, 2026.
Source: FrankChen021/datastoria on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.