Engineering
Write the weekly on-call handoff
Every Monday, Merlin writes the on-call handoff in #oncall. You get last week's pages, the follow-ups still open and the alerts that keep coming back.
@Merlin every Monday at 09:00, write the on-call handoff here. List last week's PagerDuty pages with what each was and how it ended, the open Linear issues labeled On-call follow-up and any alert that paged more than once without a fix. Keep it short and link each page and issue.
- Starts whenA weekly schedule runs every Monday at
09:00and posts to#oncall Merlin worksClaude Code or Codex reads last week's pages in PagerDuty and the open follow-up issues in Linear
- You getA handoff in
#oncallwith each page, the follow-ups still open and anything still flaky
Tools
- PagerDuty
- Linear
- Slack
Capabilities
- Automations
- Integrations
- Your agent's MCP
How it works
From last week's pages to the on-call handoff in #oncall.
A weekly schedule starts a run every Monday at 09:00 and posts to
#oncall, as the rotation changes hands.Claude Code or Codex reads last week's pages in PagerDuty and the open Linear issues labeled On-call follow-up, and picks out alerts that paged more than once without a fix.
The handoff lands in
#oncallwith each page, the follow-ups still open and what keeps coming back, each with a link.
A weekly schedule starts a run every Monday at 09:00 and posts to #oncall, as the rotation changes hands.
Claude Code or Codex reads last week's pages in PagerDuty and the open Linear issues labeled On-call follow-up, and picks out alerts that paged more than once without a fix.
The handoff lands in #oncall with each page, the follow-ups still open and what keeps coming back, each with a link.
Overview
Agents
Skills
Memory
Automations
Integrations
Settings
Write the weekly on-call handoff
PauseDetailsRun history
Trigger
When Merlin runs it.
Run
What Merlin does each time, where it runs, and where the result goes.
every Monday at 09:00, write the on-call handoff here. List last week's PagerDuty pages with what each was and how it ended, the open Linear issues labeled On-call follow-up and any alert that paged more than once without a fix. Keep it short and link each page and issue.
Before and after
The next on-call starts with last week in one post.
Without Merlin
The outgoing on-call rebuilds the week from memory and three tools on their way out.
- 01Export last week's pages
- 02Read how each one ended
- 03Scroll #oncall for context
- 04Filter open follow-ups
- 05Spot alerts that repeat
- 06Write the handoff
- 07Add a link for each page
- 08Post it in #oncall
With Merlin
The handoff is waiting on Monday morning, whoever is rotating out.
- Every Monday at
09:00Weekly schedule posting to #oncall Reads PagerDuty and Linear on Ravi's MacBookClaude Code with the PagerDuty MCP
- The handoff in
#oncallPages, open follow-ups and repeat alerts
Setup
Give your agent PagerDuty, then schedule the handoff from #oncall.
Set these up once and the handoff arrives every Monday. Whoever sends the prompt becomes the automation's creator.
- 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 PagerDuty to your agentYour agent's MCPConnect the PagerDuty MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 03Connect LinearIntegrationsOnce you connect your Linear workspace, Merlin can read the linked issue and comment there too.
- 04Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs
/invite @Merlin. - 05Label follow-ups in LinearIntegrations
The handoff lists open issues labeled On-call follow-up, so add that label whenever a page leaves work behind.
- 06Paste the setup promptAutomationsSend the prompt below to @Merlin in Slack, in the channel it should post to. Merlin creates the automation and tells you what it set up.
Prompt
Schedule the weekly handoff with one message in #oncall.
@Merlin every Monday at 09:00, write the on-call handoff here. List last week's PagerDuty pages with what each was and how it ended, the open Linear issues labeled On-call follow-up and any alert that paged more than once without a fix. Keep it short and link each page and issue.
Once, when you send it
- PromptYou send the prompt to @Merlin
- AutomationMerlin creates the automation
Every scheduled run
- ScheduleThe schedule starts a run
- RuntimeMerlin picks the creator's machine first
- ContextThe run gathers context
- WorkClaude Code or Codex reads PagerDuty and Linear
- ResultMerlin posts the handoff in #oncall
- SteeringReplies in its thread follow up
Related use cases
More engineering tasks you can hand to Merlin.
- AutomationsIntegrationsYour agent's MCP
Engineering
Investigate an alert when it fires
When incident.io raises an alert, Merlin checks the service in Datadog and Sentry and what merged recently. You get the likely cause in #oncall.
incident.io reports a new alertThe likely cause in#oncall - IntegrationsYour agent's MCP
Engineering
Draft the postmortem for an incident
Ask Merlin in the incident channel once it's over. It drafts the postmortem in Notion from the channel and the merged pull requests, with the timeline, cause and follow-ups.
@Merlinin the incident's channelA postmortem draft, linked in the channel - IntegrationsMemoryYour agent's MCP
Engineering
Check production when someone asks if it's down
Ask Merlin in Slack when someone wonders if production is down. It checks error rates in Datadog, Vercel or Cloudflare and what merged last, then answers in the thread.
@Merlinin#eng-helpWhat it found, in the thread
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.