deepline-analytics
Use this skill when answering business analytics, RevOps, GTM metric, pipeline, revenue, funnel, customer, or warehouse questions with Deepline. Triggers on…
от getaero-io★ 28 звёзд на GitHub
Установить deepline-analytics в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Deepline Analytics
Use this skill to answer customer analytics questions through Deepline's warehouse and semantic-layer tools. The goal is not just to run SQL; it is to preserve the customer's business definitions by starting from the semantic layer, validating the query path, and reporting exactly what metric definitions and filters were used.
Before You Start
Use deepline-gtm instead when the task is prospecting, enrichment, contact finding, outbound sequencing, personalization, or row-by-row lead/account research. Analytics questions ask about existing customer data: revenue, pipeline, funnel, conversion, retention, usage, calls, accounts, opportunities, or warehouse tables.
If Snowflake credentials or a semantic layer are missing, stop and report the setup blocker. Guessing table names or falling straight to raw SQL hides the actual problem and usually produces incorrect business definitions.
Decision Matrix
| User asks... | Job | Start with |
|---|---|---|
| "What is total pipeline by quarter?" | Metric breakdown | snowflake_get_semantic_layer, then snowflake_run_semantic_query |
| "Break revenue down by product/month" | Dimensional analysis | Inspect semantic tables for revenue metrics and time dimensions |
| "How many opportunities / accounts / calls..." | Simple count metric | Find the semantic count metric before writing SQL |
| "Why does this number look wrong?" | Debug/validation | Run semantic query, inspect returned SQL, then compare with raw SQL only if needed |
| "Query this specific warehouse table" | SQL fallback | Check whether it is represented in the semantic layer; otherwise use snowflake_run_query |
| "Upload/edit/read the semantic layer" | Admin setup | Use snowflake_update_semantic_layer / snowflake_get_semantic_layer, then return here for querying |
Standard Loop
Use the Deepline CLI for these tools. snowflake_get_semantic_layer and snowflake_run_semantic_query are Deepline tool IDs invoked with deepline tools execute ...; do not search for MCP/deferred tool names first.
- Confirm workspace context. If the result depends on customer setup, run
deepline auth statusso you know which workspace receives the query. - Inspect the semantic layer. Run
deepline tools execute snowflake_get_semantic_layer ...before constructing payloads. UseincludeYaml: falsefor a quick table list, andincludeYaml: truewhen choosing exact metrics, dimensions, or filters. - Map the user's words to semantic objects. Choose one semantic
table_name, namedmetrics, nameddimensionsortime_dimensions, and namedfiltersfrom the YAML. Do not invent them. - Pilot the smallest useful query. Start with one metric and low
rowLimit; expand after it succeeds. This catches missing credentials, missing semantic objects, and warehouse schema drift cheaply. - Inspect returned SQL and rows.
snowflake_run_semantic_queryreturns both result rows and rendered SQL. The SQL is the audit trail and the safest starting point for any raw-SQL fallback. - Answer in business terms. Name the metric, grouping dimensions, filters/base filters, row limits, and caveats. If the tool says results were limited, say that.
Fastest Metric Path
For a customer metric question where the semantic table is knowable from the wording, use this exact CLI path. Do not call ToolSearch, do not look for MCP tools, and do not write raw SQL first.
- Confirm the workspace:
deepline auth status
- Read the relevant semantic table slice:
deepline tools execute snowflake_get_semantic_layer --payload '{"includeYaml": true}' --json
- Run the semantic query with both the user-facing label and the sortable date-start dimension:
deepline tools execute snowflake_run_semantic_query --payload '{
"type": "metrics",
"params": {
"table_name": "OPPORTUNITY",
"metrics": ["total_pipeline_generated"],
"dimensions": ["discovery_quarter_label", "discovery_quarter_start"]
},
"rowLimit": 100
}' --json
Read
result.data.rowsdirectly from the JSON response. Select latest periods by sortingDISCOVERY_QUARTER_STARTdescending. Do not chaseextracted_csvfiles, shell-sort CSV artifacts, or rerun the semantic query unless the JSON response is unavailable.Do not open saved transcript files,
tool-results/*.txt, or full semantic-layer blobs withRead,cat, or ad hoc Python just to confirm names. Large semantic YAML can exceed tool read limits. Use the current command output, targeted text search, or rerun withincludeYaml: falsefor a table list before requesting full YAML.Do not treat
rowLimitas ordering. For labels likeQ226, parse them as Q2 2026 only if no date-start dimension is available.
Use the same shape for other metrics: replace only table_name, metrics, and dimensions after confirming names in the semantic layer.
Semantic Query Contract
The current public Snowflake semanti
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- .deepline-well-known-skill
- skill-metadata.json
FAQ
Что делает скилл deepline-analytics?
Use this skill when answering business analytics, RevOps, GTM metric, pipeline, revenue, funnel, customer, or warehouse questions with Deepline. Triggers on phrases like 'query Snowflake', 'analyze pipeline', 'total ACV', 'break down by quarter', 'use the semantic layer', 'run a semantic query', or any use of snowflake_get_semantic_layer / snowflake_run_semantic_query. Skip prospecting, enrichment, contact finding, outbound, or personalization workflows; use deepline-gtm for those.
Как установить скилл deepline-analytics?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deepline-analytics запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…