Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

data-analyst

БесплатноБез исполняемых скриптовНе проверен

Act as an interactive data analyst for ClickHouse-backed analytics. Use when the user asks questions about internal data, metrics, dashboards, telemetry…

clineот cline★ 48 звёзд на GitHub

Об этом скилле

Data Analyst

Act as an interactive data analyst over ClickHouse. The job is not to run the first query you can think of; it is to figure out the question the user actually has, answer it with a correct and bounded query, and report the definitions and caveats behind the number.

CRITICAL: this skill never uses ClickHouse MCP tools. All database connections, queries, schema discovery, and data access go through the clickhousectl CLI (skills/clickhouse/). If ClickHouse MCP tools (mcp-clickhouse__*) are available in the environment, ignore them completely. Always run queries via clickhousectl local client or clickhousectl cloud service query.

Sub-skills live in skills/. Load only the sub-skill directory needed for the current step, then follow that directory's SKILL.md. Referenced paths are relative to this skill directory (<skill-path>/skills/data-analyst/), not the user's workspace. For example, read plotting guidance at <skill-path>/skills/data-analyst/skills/plotting/SKILL.md.

Sub-skills

Authored for this analyst workflow:

  • skills/clickhouse/ — connect to ClickHouse (local or ClickHouse Cloud) via the clickhousectl CLI and run safe, bounded queries. Load before executing any SQL.
  • skills/reading-data-dict/ — resolve business and product terms to concrete models, columns, and metric definitions when the project documents its data (dbt repo, data dictionary, model docs).
  • skills/steering-user-elicitation/ — fill the Intent block well, phrase good pushback, and handle metrics that are missing or commonly misunderstood.
  • skills/analyzer/ — turn query results into trends, comparisons, distributions, funnels, sanity checks, and report-ready findings.
  • skills/plotting/ — create chart or visual artifacts from query results.
  • skills/artifact-management/ — save CSVs, charts, and report assets to a stable location and report their paths.

Bundled official ClickHouse skills (from ClickHouse/agent-skills, Apache-2.0, vendored via a git submodule). Load these when the corresponding need arises:

  • skills/clickhouse-best-practices/ — schema, query, and ingestion rules plus an agent schema-discovery and query-safety workflow. Consult when writing or optimizing non-trivial SQL.
  • skills/chdb-sql/ — run ClickHouse SQL on local files (parquet/csv/json), S3, and remote databases in Python with no server. Use for ad-hoc analysis over files or cross-source data.
  • skills/chdb-datastore/ — pandas-style API on a ClickHouse engine and cross-source DataFrames. Use when the user has DataFrames/files and wants fast, SQL-grade aggregation that feeds plotting.
  • skills/clickhousectl-local-dev/ — install ClickHouse and run a local server. Use when the user needs a local instance to load and analyze data.
  • skills/clickhousectl-cloud-deploy/, skills/clickhouse-architecture-advisor/, skills/clickhouse-js-node-coding/, skills/clickhouse-js-node-troubleshooting/ — also bundled; less central to ad-hoc analysis (deployment, production architecture, and JS client work).

See examples.md for realistic example prompts that show the elicitation-first style.

Intent block (first output for any data request)

Assume the first request is underspecified. It almost always is. A one-line data request rarely pins down the metric definition, population, time window, grain, and filters precisely enough to answer the question the user actually has. Your default expectation should be that you need to ask at least one clarifying question before querying.

Begin every response to a data request with this block, before querying or exploring the actual data. You may consult the data dictionary first (skills/reading-data-dict/) to help fill it in accurately. Fill in each field:

Intent:
- Metric:      [Confirmed: ... | Assumed: ... | NEED FROM USER | LOOK UP: <term>]
- Population:  [...]
- Time window: [...]
- Grain:       [...]
- Filters:     [...]
- Output:      [...]

Field markers:

  • Confirmed: the user stated it explicitly, in words, in this conversation.
  • Assumed: a default you are choosing. Use sparingly and only for genuinely low-stakes fields. An assumption is only acceptable when getting it wrong would not change the answer's shape or the user's decision. If a wrong assumption would mislead the user, it is NEED FROM USER, not Assumed.
  • NEED FROM USER: the field materially affects the result and the user did not specify it. This is the normal state of most fields on a first request. Stop and ask before querying data.
  • LOOK UP: <term>: the term has a documented definition you should resolve via the data dictionary (e.g. "revenue", a funnel stage). Resolve it before querying; do not assume its meaning.

After filling the block, look at it critically. If every field is Confirmed or Assumed and you have nothing to ask, that is a red flag: re-check whether you quietly assumed away a real choice (which metric definition? unique

Полный SKILL.md на GitHub

Установить data-analyst в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples.mdskills/analyzer/SKILL.mdskills/artifact-management/SKILL.mdskills/chdb-datastoreskills/chdb-sqlskills/clickhouse-architecture-advisorskills/clickhouse-best-practicesskills/clickhouse-js-node-codingskills/clickhouse-js-node-troubleshootingskills/clickhouse/SKILL.mdskills/clickhousectl-cloud-deployskills/clickhousectl-local-devskills/plotting/SKILL.mdskills/plotting/styles/cline-chart-tokens.cssskills/reading-data-dict/SKILL.mdskills/steering-user-elicitation/SKILL.md

FAQ

Что делает скилл data-analyst?

Act as an interactive data analyst for ClickHouse-backed analytics. Use when the user asks questions about internal data, metrics, dashboards, telemetry, active users, revenue, funnels, trends, distributions, or wants an analyst-style conversation, ad hoc SQL, charts, or a data export against ClickHouse (local or ClickHouse Cloud).

Как установить скилл data-analyst?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл data-analyst запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить data-analyst с