A Log Watcher Instead of Hours of Senior Dev Time: Headless Claude Code Reads a Startup's Logs on a Schedule and Pings Slack Only When Something Needs Action
- Level Advanced
- Setup1–3 hrs (estimated)
- Evidence Some evidence
- CostNot stated in source
- No-codeNo
What they did
A founder piped all of his product's logs into an S3 bucket with 90-day expiry, made them queryable with SQL through AWS Athena, and connected a server running headless Claude Code on a schedule with skills. Now it analyzes everything happening in the product and posts in Slack only when there is something to act on. He says this used to take a senior developer hours a week, and the setup took him about 7 hours in one day.
How it went
X post by the founder (Oct 27, 2026 UTC, about 12k views, 238 bookmarks): logs to S3 with 90-day expiry, AWS Athena for SQL, a server running headless Claude Code on a schedule with skills, Slack pings only when action is needed; setup took about 7 hours; replaced hours a week of a senior developer's time (his estimate)
Worth knowing
- X post by the founder (Oct 27, 2026 UTC, about 12k views, 238 bookmarks): logs to S3 with 90-day expiry, AWS Athena for SQL, a server running headless Claude Code on a schedule with skills, Slack pings only when action is needed; setup took about 7 hours; replaced hours a week of a senior developer's time (his estimate).
Prompt
Cleaned version rewritten from the source — not a direct quote.
You are our log watcher. Every [interval], query the last [interval] of application logs in [Athena database/table, or log source] with SQL. Look for new or rising errors, failed jobs, slow requests and anything unusual compared with the previous [7 days]. Group repeats together and ignore known noise listed in [file]. If nothing needs a person, post nothing. If something does, post one short Slack message to [channel] with what happened, how often, since when, a sample log line, the likely cause and a suggested next step. Never change infrastructure or data yourself.
Recommended
Try it in Grok Bot
- Copy the prompt (button below).
- Open Grok Bot chat and paste it. Replace any [bracketed] placeholders.
- Connect the listed tools (Slack) as connectors when Grok Bot asks.
- If the task repeats, ask: "Make this a daily routine."
Alternatives: the same prompt works in Claude Code, Claude, ChatGPT Agent, OpenClaw.
Set it up
Tools: Slack · Stack: Claude Code
- Read the original source for full context.
- Connect the tools your agent needs.
- Paste the prompt and replace [bracketed] placeholders.
- Run once manually and check the output before scheduling it.
Generic suggested steps, not from the source.
Evidence
X post by the founder (Oct 27, 2026 UTC, about 12k views, 238 bookmarks): logs to S3 with 90-day expiry, AWS Athena for SQL, a server running headless Claude Code on a schedule with skills, Slack pings only when action is needed; setup took about 7 hours; replaced hours a week of a senior developer's time (his estimate)
Source: X · 2026-10-27 · Verified by us: not yet · Report broken or outdated