Data
Investigate a metric alert
Mention Merlin under a PostHog alert to learn whether a drop is real or broken tracking. It checks the breakdowns, flag changes and recent code before it answers.
@Merlin from now on, when someone asks you about a metric alert in #data, break the move down by platform, app version and country in PostHog. Line it up with recently merged pull requests, changes to the tracking code and Statsig gate or experiment changes. Say whether the drop looks real or like broken tracking, show the evidence and name the pull request if one changed an event. Don't change flags or code.
- Starts whenA PostHog alert posts in
#dataand someone mentions@Merlinin its thread Merlin worksClaude Code or Codex breaks the move down by platform, version and country in PostHog, then lines it up with merged pull requests and Statsig changes
- You getThe likely cause in the thread, with any tracking bug called out and the change that introduced it
Tools
- Slack
- GitHub
- PostHog
- Statsig
Capabilities
- Integrations
- Memory
- Your agent's MCP
How it works
From a PostHog alert to its likely cause.
When a PostHog alert posts in
#data, mention@Merlinin its thread and ask whether the move is real.Claude Code or Codex splits the move by platform, version and country in PostHog, then lines it up with merged pull requests, Statsig changes and edits to the tracking code.
The reply says whether the drop looks real or like broken tracking, with the evidence and the change behind it.
When a PostHog alert posts in #data, mention @Merlin in its thread and ask whether the move is real.
Claude Code or Codex splits the move by platform, version and country in PostHog, then lines it up with merged pull requests, Statsig changes and edits to the tracking code.
The reply says whether the drop looks real or like broken tracking, with the evidence and the change behind it.
Acme
Channels
general
eng
product
support-eng
data
finance
it-help
legal
Direct messages
Merlin
PostHog
Omar
Jess
data
24
Today
PostHog08:02
Alert: Signups completed is 31% below its 7-day average (412 against 597).
Message #data
Before and after
Alert threads get a cause instead of a pile of guesses.
Without Merlin
Someone splits the chart by hand, then asks around engineering about what shipped.
- 01Open the alert
- 02Break down by platform
- 03Break down by version
- 04Break down by country
- 05Scan merged pull requests
- 06Check flag changes
- 07Ask mobile what shipped
- 08Read the tracking code
- 09Find the event rename
- 10Post the verdict
With Merlin
One mention under the alert gets the breakdown and the code change in the same thread.
@Merlinunder the PostHog alertAsked by Omar in #dataBreaks down the drop on Omar's MacBookClaude Code with PostHog and Statsig
- Likely cause in the threadTracking bug traced to a pull request
Setup
Connect GitHub, give your agent PostHog and Statsig, then ask under any alert.
Set these up once and anyone in #data can ask about an alert from its thread. Memory is optional.
- 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.
- 02Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs
/invite @Merlin. - 03Install the GitHub appIntegrationsPick the repositories Merlin can access, so it can read and link the pull requests there. Pushes use the machine owner's own Git access.
- 04Add PostHog to your agentYour agent's MCPConnect the PostHog MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 05Add Statsig to your agentYour agent's MCPConnect the Statsig MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 06Keep known tracking quirks in #data memoryOptionalMemory
Ask Merlin to remember facts like "Android events can arrive a day late" in
#data. Notes saved in a public channel are readable across the workspace, so later alerts start from them. - 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.
- 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 how to look into an alert, once.
@Merlin from now on, when someone asks you about a metric alert in #data, break the move down by platform, app version and country in PostHog. Line it up with recently merged pull requests, changes to the tracking code and Statsig gate or experiment changes. Say whether the drop looks real or like broken tracking, show the evidence and name the pull request if one changed an event. Don't change flags or code.
Once, when you paste it
- PromptYou paste the prompt to @Merlin
- GuidanceMerlin saves your rules as workspace guidance
Every time someone mentions Merlin in Slack
- IntegrationThe Slack app spots the mention
- RuntimeMerlin picks an available machine
- ContextThe run gathers context
- WorkClaude Code or Codex breaks down the metric
- SteeringYour team steers the work in the thread
- ResultMerlin posts the likely cause in the thread
Related use cases
More data tasks you can hand to Merlin.
- IntegrationsMemoryYour agent's MCP
Data
Explain why two dashboards disagree
Ask Merlin in #data why two dashboards show different numbers. You get the difference in how each one counts and the numbers on both sides, with the SQL.
@Merlinin#dataThe difference and both numbers in the thread - IntegrationsSkills
Data
Check a feature's tracking before it merges
Mention Merlin on a pull request to check its analytics events against your tracking plan. You get a comment listing what's missing or misnamed.
@usemerlin-aiin a pull request commentMissing and misnamed events in a comment - IntegrationsYour agent's MCP
Data
Fix a failed overnight dbt run
Mention Merlin under a failed dbt or Databricks job. It reproduces the failure against a dev schema and opens a fix pull request with the root cause.
@Merlinunder a failed job post in#dataA fix pull request with the root cause
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.