Data

Answer a data question on agreed definitions

Ask Merlin for a number in #data and get it from your agreed dbt models instead of raw tables. The reply shows the SQL, the models used and the caveats.

@Merlin from now on, when someone in #data asks for a number, start from our dbt models and the metric definitions skill, then query only the curated Unity Catalog tables those models build, never raw tables. Reply with the number, the SQL you ran, the models you used and any caveats. If there is no agreed definition, say so and ask an analyst instead of inventing one. When an analyst corrects a definition, remember it for this channel.

#data
Get started for free
  1. Starts whenSomeone asks @Merlin in #data for a number, such as last month's active workspaces
  2. Merlin worksClaude Code or Codex reads the dbt models and metric definitions, then queries only curated Unity Catalog tables in Databricks with read-only access
  3. You getThe number, the SQL, the models used and the caveats in the thread. Analyst corrections are saved to #data memory.

Tools

  • Slack
  • dbt
  • Databricks

Capabilities

  • Integrations
  • Skills
  • Memory
  • Your agent's MCP

How it works

From a question in #data to a number you can check.

Mention @Merlin in #data with the number you need. Analysts can add context in the same thread.

Acme

Channels

general

eng

product

support-eng

data

finance

it-help

legal

Direct messages

Merlin

Nora

Leo

data

24

MessagesAdd canvasFiles

Today

Nora09:41

@Merlin how many active workspaces did we have in September? It's for the board deck.

Message #data

Before and after

Quick numbers stop coming from raw tables.

Without Merlin

Someone asks an analyst, who stops their own work to find the right model, write the query and explain it.

  1. 01Ask who knows in #data
  2. 02Wait for an analyst
  3. 03Find the right model
  4. 04Check the metric definition
  5. 05Write the query
  6. 06Run it on the curated table
  7. 07Compare with the dashboard
  8. 08Explain the caveats
  9. 09Answer the follow-up

With Merlin

One mention gets an answer on the agreed definitions, with the SQL to check it.

  1. @Merlin in #dataAsked by Nora in the channel
  2. Queries curated tables on the data team's Mac miniCodex with dbt and Databricks
  3. Number, SQL and caveats in the threadCorrections saved to #data memory

Setup

Give your agent dbt and Databricks, then ask in #data.

Set these up once and anyone in #data can ask for a number. Memory is optional; notes saved in a public channel like #data can inform runs across the workspace.

  1. 01Connect a machineRuntimeInstall the Merlin desktop app or CLI on a computer running Claude Code or Codex. You can also use a machine a teammate shares with your workspace.
  2. 02Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs /invite @Merlin.
  3. 03Add dbt to your agentYour agent's MCPConnect the dbt MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
  4. 04Add Databricks to your agentYour agent's MCPConnect the Databricks MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
  5. 05Keep metric definitions in a skillSkills

    Put your metric definitions, standard exclusions and which models count as curated in a shared skill, so every answer applies them the same way.

  6. 06Give Databricks read-only accessYour agent's MCP

    Sign the Databricks MCP server in as a user or service principal that can only read the curated schemas. Unity Catalog permissions apply to every query it runs.

  7. 07Turn on memoryOptionalMemoryMemory is off by default. When an owner or admin turns it on, every run gets the facts your team saves in public Slack channels. A private channel also keeps its own store for its members.
  8. 08Paste the setup promptGuidanceAn owner or admin sends the prompt below to @Merlin once, and it becomes workspace guidance for every future run.

Prompt

Tell Merlin which definitions count, once.

@Merlin from now on, when someone in #data asks for a number, start from our dbt models and the metric definitions skill, then query only the curated Unity Catalog tables those models build, never raw tables. Reply with the number, the SQL you ran, the models you used and any caveats. If there is no agreed definition, say so and ask an analyst instead of inventing one. When an analyst corrects a definition, remember it for this channel.

#data

Once, when you paste it

  1. PromptYou paste the prompt to @Merlin
  2. GuidanceMerlin saves your rules as workspace guidance

Every time someone mentions Merlin in Slack

  1. IntegrationThe Slack app spots the mention
  2. RuntimeMerlin picks an available machine
  3. ContextThe run gathers context
  4. WorkClaude Code or Codex queries the curated tables
  5. SteeringYour team steers the work in the thread
  6. ResultMerlin replies with the number and its SQL

Bring your coding agents into the tools your team already uses.

Let your whole team hand work to Claude Code and Codex today. Connect one machine and add Merlin to Slack, Linear or GitHub. 14-day free trial, no API keys, no card.