---
title: "Building effective agent automations"
description: "A scheduled daily-brief agent built on Claude Managed Agents reads Slack channels and GitHub pull requests, tracks what changed since the last run, and posts a short brief to Slack."
url: "https://swe.quest/articles/building-effective-agent-automations-abcba7937b1d5df2"
canonical: "https://claude.dev/blog/building-effective-agent-automations/"
source: "claude.dev"
published: "2026-10-08"
difficulty: "medium"
kind: "How-to"
reading_minutes: 12
tags: ["ai-agents","llms","resilience"]
---

# Building effective agent automations

A post on [claude.dev](https://swe.quest/sources/claude-dev.md), published 2026-10-08, 12 min read, How-to. Original: [https://claude.dev/blog/building-effective-agent-automations/](https://claude.dev/blog/building-effective-agent-automations/)

## Summary

A scheduled daily-brief agent built on Claude Managed Agents reads Slack channels and GitHub pull requests, tracks what changed since the last run, and posts a short brief to Slack. The design runs through sources, destination, agent config, cron schedule, memory and guardrails, and pairs each with a common failure mode and its fix. Fixes include per-source bookmarks instead of fixed time windows, flagging failed reads instead of reporting a quiet day, and confirming Slack's ok response before updating the ledger. Credentials sit in a vault outside the sandbox, preferences are read-only and re-read every run, the GitHub token is read-only to limit prompt-injection damage, and per-run spending is capped.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)

## Prerequisites

- LLM agents and tool use ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- MCP basics ([easy posts on AI agents](https://swe.quest/tags/ai-agents.md?difficulty=easy))
- cron scheduling ([easy posts on Scheduling](https://swe.quest/tags/scheduling.md?difficulty=easy))

## Keywords

Claude Managed Agents, Claude Code, MCP, Slack API, GitHub, ant CLI

## Related posts

- [What We’ve Learned Building Proactive Agents](https://swe.quest/articles/what-we-ve-learned-building-proactive-agents-8e68c49be694e9fd.md): LangChain · 2026-11-17 · Easy · 8 min read · AI agents, LLMs
  Proactive agents run in the background toward goals, triggered by real-world events, developer schedules or schedules they set themselves; on LangChain's Managed Deep Agents over 70% of runs now come from schedules rather than human prompts.
- [What's New in Managed Deep Agents: schedules, per-run configuration, and Slack reactions](https://swe.quest/articles/what-s-new-in-managed-deep-agents-schedules-per-run-configuration-and-slack-e27b691eaef19a3a.md): LangChain · 2026-10-07 · Medium · 4 min read · AI agents, Configuration management, Communications
  Managed Deep Agents v0.9 adds three features: a Schedules SDK, per-run agent configuration, and Slack reactions.
- [Lessons on UX, security, and scale when building an enterprise-grade Slack agent](https://swe.quest/articles/lessons-on-ux-security-and-scale-when-building-an-enterprise-grade-slack-agent-718cb96cab6bcc78.md): Sourcegraph · 2026-05-04 · Medium · 5 min read · AI agents, Product engineering, Identity & auth, Resilience, Communications
  Sourcegraph's Deep Search Slack agent fits into enterprise workflows through staged status messages (emoji acknowledgement, escalation links for long searches), TL;DR answers with threaded follow-ups, and rich link unfurling via Slack's link\_shared events, SHA256-based entity IDs, chat.unfurl work objects and flexpane details.
- [How Grab built Scarlet: the AI teammate that turns a Slack message into a production data pipeline](https://swe.quest/articles/how-grab-built-scarlet-the-ai-teammate-that-turns-a-slack-message-into-a-cb0afbb754a543cf.md): Grab Engineering · 2026-11-23 · Medium · 12 min read · AI agents, Data pipelines, Testing, Identity & auth, LLMs
  Grab's ADW team rebuilt Scarlet, its Slack-based data-pipeline agent, around a short core prompt plus a versioned library of Markdown skills (platform, routing, repository, workflow) loaded on demand, shrinking the prompt about 25x and letting new teams onboard by adding one reviewed repository skill.
- [Automating cross-repo documentation with GitHub Agentic Workflows](https://swe.quest/articles/automating-cross-repo-documentation-with-github-agentic-workflows-e38fd8e813d70616.md): GitHub Engineering · 2026-07-08 · Medium · 9 min read · AI agents, Documentation, CI/CD, Supply chain security, Developer productivity
  Aspire's team uses GitHub Agentic Workflows to auto-draft documentation pull requests in a separate docs repo whenever a product pull request merges, with the shipping engineer assigned as reviewer.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
