Logo: Deepline Analytics

Deepline Analytics

Organisatioun
getaero-io
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.

Add to TypingMind

Iwwersiicht

Editeurgetaero-io
Repositorygtm-eng-skills
Skill-Nummdeepline-analytics
Stären
72
Forks
15
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    getaero-io huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Deepline Analytics an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/getaero-io/gtm-eng-skills/tree/main/skills/deepline-analytics
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/getaero-io/gtm-eng-skills.git /tmp/gtm-eng-skills
mkdir -p .claude/skills
cp -r /tmp/gtm-eng-skills/skills/deepline-analytics .claude/skills/deepline-analytics
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Deepline Analytics an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Deepline Analytics automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Deepline Analytics net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Deepline Analytics

Quick Start

bash
npm install -g deepline
deepline -h

CLI resolution

Run deepline when it is available. If the shell reports that command is missing, use <workspace-root>/.deepline/runtime/bin/deepline (or the npm-created .cmd shim on Windows). If neither exists, follow https://code.deepline.com/INSTALL.md to set up Deepline.

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 for 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. Do not guess table names or fall straight to raw SQL; both usually produce incorrect business definitions.

Deepline Internal Analytics Sources

For Deepline's own product, usage, and operational analytics, choose the source by question. Do not assume every Snowflake metric is dbt-modeled.

SourceTables / datasetUse forCaveats
Convex replica raw ledgerAERO_DB.CONVEX_RAW.*, especially PLAY_RUNS and INGESTION_PLANESPersisted app state, play-run status, prebuilt/custom play identity, customer database inventory/stateAuthoritative historically, but can lag same-day activity. Raw tables may include sensitive app/customer fields.
Convex replica reporting viewsAERO_DB.CONVEX.USAGE_EVENTS, BA_USER, BA_MEMBERTool/enrich calls, Deepline credits, user/org identityUSAGE_EVENTS is the primitive billing/usage ledger. Never expose provider spend. Some views are published selectively; verify freshness first.
Axiom production logsDataset vercelReal-time play/run failures, CLI outcomes, provider/tool errors, log-message failure classesLog-shaped. Deduplicate run/request ids and compare against Snowflake when accuracy matters.
RudderStack product eventsRUDDERSTACK.EVENTS.* (TRACKS, PAGES, IDENTIFIES, event tables)Product journey, page views, signup/auth lifecycle, attributionNot the operational ledger. Some browser events may be missing from Snowflake.
dbt / transformed analytics martsAERO_DB.ANALYTICS* schemas, for example ANALYTICS.FCT_CUSTOMER_JOURNEY, DIM_ACCOUNT, CUSTOMER_STREAM, and dbt views such as STG_*Modeled business metrics: GTM, customer journey, CRM, TAMNot the default source for play-runtime health unless a modeled table is explicitly known to cover it.

Current product usage dashboard source of truth:

  • Play runs: Snowflake AERO_DB.CONVEX_RAW.PLAY_RUNS plus Axiom vercel logs with [sdk-cli-observability] kind: 'play_run_completed' and [cli-failure-report] failure_kind: 'play_run_failed'.
  • Legacy workflow runs: Snowflake AERO_DB.CONVEX_RAW.WORKFLOW_RUNS joined to AERO_DB.CONVEX_RAW.WORKFLOWS.
  • Tool/enrich calls: Snowflake AERO_DB.CONVEX.USAGE_EVENTS plus Axiom vercel logs with [integrations.execute.outcome].
  • User/org dimensions and internal filters: prefer Snowflake AERO_DB.CONVEX_RAW.BA_USER and AERO_DB.CONVEX_RAW.BA_MEMBER for freshness; use reporting views only after checking freshness.
  • Customer database: Snowflake AERO_DB.CONVEX.USAGE_EVENTS for customer-db usage and AERO_DB.CONVEX_RAW.INGESTION_PLANES for table/plane inventory.

That dashboard does not use AERO_DB.ANALYTICS* dbt/transformed models. If you add dbt-modeled metrics, document the model names, freshness, and grain next to the raw/Axiom parity metric.

Decision Matrix

User asks...JobStart with
"What is total pipeline by quarter?"Metric breakdownsnowflake_get_semantic_layer, then snowflake_run_semantic_query
"Break revenue down by product/month"Dimensional analysisInspect semantic tables for revenue metrics and time dimensions
"How many opportunities / accounts / calls..."Simple count metricFind the semantic count metric before writing SQL
"Why does this number look wrong?"Debug/validationRun semantic query, inspect returned SQL, then compare with raw SQL only if needed
"Query this specific warehouse table"SQL fallbackCheck whether it is represented in the semantic layer; otherwise use snowflake_run_query
"Upload/edit/read the semantic layer"Admin setupUse snowflake_update_semantic_layer / snowflake_get_semantic_layer, then return here for querying

Standard Loop

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.

  1. Confirm workspace context. If the result depends on customer setup, run deepline auth status to see which workspace receives the query.
  2. Inspect the semantic layer. Run deepline tools execute snowflake_get_semantic_layer ... before constructing payloads: includeYaml: false for a quick table list, includeYaml: true when choosing exact metrics, dimensions, or filters.
  3. Map the user's words to semantic objects. Choose one semantic table_name, named metrics, named dimensions or time_dimensions, and named filters from the YAML. Do not invent them.
  4. Pilot the smallest useful query. One metric and a low rowLimit, for example {"type": "metrics", "params": {"table_name": "OPPORTUNITY", "metrics": ["num_opportunities"]}, "rowLimit": 1}; expand after it succeeds. This cheaply catches missing credentials, missing semantic objects, and warehouse schema drift.
  5. Inspect returned SQL and rows. snowflake_run_semantic_query returns result rows and the rendered SQL. The SQL is the audit trail and the safest starting point for a raw-SQL fallback.
  6. Answer in business terms. Name the metric, grouping dimensions, filters/base filters, row limits, and caveats. If the tool says results were limited, say so.

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, look for MCP tools, or write raw SQL first.

  1. Confirm the workspace: deepline auth status.

  2. Read the semantic layer: deepline tools execute snowflake_get_semantic_layer --payload '{"includeYaml": true}'.

  3. Run the semantic query with both the user-facing label and the sortable date-start dimension. For other metrics, replace only table_name, metrics, and dimensions after confirming names in the semantic layer.

    bash
    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
    }'
  4. Read the result rows directly from the response. Select latest periods by sorting DISCOVERY_QUARTER_START descending; rowLimit is not ordering. Do not chase extracted_csv files, shell-sort CSV artifacts, or rerun the semantic query unless the response is unavailable.

  5. Do not open saved transcript files, tool-results/*.txt, or full semantic-layer blobs with Read, 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 with includeYaml: false for a table list before requesting full YAML.

Semantic Query Contract

Use the typed metrics payload by default:

json
{
  "type": "metrics",
  "params": {
    "table_name": "OPPORTUNITY",
    "metrics": ["num_opportunities"],
    "dimensions": ["close_quarter_label"],
    "filters": ["exclude_renewal_opportunities"]
  },
  "rowLimit": 100
}

The legacy flat metrics form is also accepted when needed: the params fields at the top level with no type, for example {"table_name": "OPPORTUNITY", "metrics": ["num_opportunities"], "dimensions": ["close_quarter_label"], "rowLimit": 100}.

Allowed Concepts

  • table_name is a semantic table name from the YAML, not the model root name and not necessarily the physical Snowflake table.
  • metrics are aggregate business definitions. Use them for reported numbers.
  • dimensions and time_dimensions group the metric. Use semantic names, not raw SQL expressions.
  • facts are row-level values: useful for detail extracts, usually wrong for aggregate reports.
  • filters are named semantic filters from the YAML.
  • rowLimit limits returned rows. Use low limits for pilots and larger limits only after the payload is correct.

Latest Periods Are Not Row Limits

Do not use rowLimit: 5 to answer "last 5 quarters", "latest 12 months", or similar questions. Results are not ordered unless you sort the returned rows or run SQL that orders them. Instead:

  • Pair a label dimension with its sortable date-start dimension, for example discovery_quarter_label plus discovery_quarter_start.
  • Query enough groups to cover the full period range, such as rowLimit: 100 for quarters.
  • Sort the returned rows by the date-start dimension; without one, parse labels like Q226 as Q2 2026.
  • Ignore malformed/null buckets like Q unless the user explicitly asks about missing-date records.
  • Only then present the final N rows.

Custom SQL Knobs

The semantic tool supports Aero-compatible custom SQL fields: custom_dimensions, custom_filter_expressions, steps[].source_table, steps[].ts_expr, steps[].filter_expr, steps[].events_sql. Use them when the semantic layer has the right table/metric but lacks the exact date bucket or filter the user needs. They are raw SQL snippets, so prefer named semantic dimensions and filters when they exist. Write custom dimensions expression-first with an alias, for example DATE_TRUNC('month', close_date) AS close_month, not alias-first.

Choosing Semantic Objects

  • Tables describe the grain and base filters. Base filters apply automatically; mention one if it materially changes counts.
  • Metric descriptions often say which time dimension they pair with. Follow the pairing: created_* instead of close_* can change the business meaning.
  • Time dimensions often have both date-start and label forms. Use labels for user-facing grouped output and date-start when chronological ordering matters.
  • Synonyms are hints, not payload names. Use the canonical name unless the tool explicitly supports aliases.
  • Relationship-backed fields may appear as qualified names like sf_account.industry. Use them only if the YAML defines the relationship and the field.

Filters:

  • Bad: { "filters": ["stage_name = 'Closed Won'"] }. SQL inside filters fails because the renderer looks for a named filter with that whole string.
  • Good: { "filters": ["exclude_renewal_opportunities"] }, a named semantic filter.
  • Good when no named filter exists: { "custom_filter_expressions": ["stage_name = 'Closed Won'"] }. Keep the semantic metric/table and put the raw predicate there.

Error Handling

Error patternMeaningResponse
SNOWFLAKE_CREDENTIALS_REQUIREDWorkspace has no Snowflake credentialsAsk user to connect Snowflake; do not retry different payloads
"No Snowflake semantic layer is configured"No saved layer for this workspaceAsk for/upload semantic layer before querying
"table not found" in renderertable_name is not a semantic tableRe-read YAML and use a table under tables:
"metric/dimension/filter not found"Payload invented or misspelled a semantic objectRe-read YAML; use canonical names
SQL compilation invalid identifierRendered SQL references a column missing from the active Snowflake schema, or a renderer exposure bugShow the rendered SQL/error; compare with raw SQL only after preserving the semantic intent
Results include blank/null bucketsNull dimension values, or the label expression permits blanksReport the bucket and consider a named has_* filter if present
limited: trueReturned rows were truncated by rowLimitSay the output is limited; rerun with a higher limit if the user needs all groups

When a semantic query fails, fix the table/metric/dimension/filter and rerun before claiming an answer. If you fall back to raw SQL, state that it is a fallback and preserve the semantic metric definition you started from.

Reporting Results

A good analytics answer includes:

  • The result in plain business language.
  • The semantic table, metrics, dimensions, and filters used.
  • Any automatic base filters that matter, such as excluding deleted/test records.
  • The time grain and whether it is created-date, close-date, occurred-date, discovery-date, or another business timestamp.
  • Whether the result was limited or sampled.
  • The rendered SQL when the user is debugging, validating, or likely to reuse it.
  • The metric's exact term from the semantic layer: forecast, pipeline, ACV, ARR, bookings, and net revenue are not interchangeable.

Raw SQL Fallbacks

Use snowflake_run_query when the question is outside the semantic layer, when you need to debug a warehouse/schema issue, or when the semantic renderer cannot express the requested shape even with custom dimensions/filters. Start from the rendered semantic SQL whenever possible because it carries base filters, joins, and metric definitions. Do not silently replace a semantic metric with a hand-written approximation; if you change the definition, name the change and explain why.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Deepline Analytics op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Deepline Analytics besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Deepline Analytics an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/getaero-io/gtm-eng-skills/tree/main/skills/deepline-analytics an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Deepline Analytics benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Deepline Analytics benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Deepline Analytics domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Deepline Analytics gratis?

Jo. getaero-io huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇