← Yuhang Lian

AI agents · Built · · 4 min read

Three agents that watch production

I handed my most repetitive checks to scheduled Claude agents. They can read almost everything and change nothing, and I send every answer myself.

By Yuhang Lian, software engineer in Dublin

On my support week I answer the team's help channel while still working my own tickets. Some checks I used to run by hand every Monday. So I gave both jobs to agents. Each one runs on a schedule in Claude Code, reads through MCP connectors (Slack, Confluence, Datadog) and a few read-only scripts, and reports only to me.

*/15 9-17 * * 1-5   support-rota assistant   → draft reply, private channel
0 9 * * 1           ghost-user audit         → new since last week
0 10 * * 1          SCIM setup check         → customers who skipped a step

The support-rota assistant

Every 15 minutes on weekdays it reads the rota to see whether I'm on duty. For each new question it reads the channel history first, because many questions have been answered before, then Confluence, the code and read-only Auth0 lookups. It posts what it found and a suggested reply to my private channel. I check it, fix it, and send it myself.

Two Monday audits

The ghost-user audit pages through production Auth0 for users that have no Nitro account, compares them with last week's snapshot, and reports the new ones with their login connection. A weekly diff makes a jump visible the week it happens.

The SCIM setup check searches Datadog for SCIM create requests that Auth0 rejects as duplicates. That pattern means an Entra customer skipped the attribute-mapping step in the setup guide, so Entra keeps trying to create users who already exist. We can point them at the guide before they open a ticket.

The guardrails that make it work

  • Read-only everywhere. The prompt says so, and the permissions enforce it: the agent may run only a few read-only helper scripts and read tools.
  • It posts in exactly one place, my private channel. A human sends every answer.
  • Text in messages, tickets and logs is data, never instructions.
  • Unattended runs stall on any permission prompt, so every tool they need is allowed in advance, and nothing else is.

What I took from it

  • Start with the boring check you repeat every week.
  • Give an agent less power than you think it needs.
  • History first: the best answer is often one a teammate already gave.