Recipes / Content & social
Any agentRoutineContent & social

Daily work report from git diffs and agent session logs

A scheduled assistant reads git diffs across many repos plus his coding-agent chat logs, writes a report of what he actually did, and drafts content from it.

From Tyler Thomlinson on X · Feb 2026

Setup time1 hour
CostModel usage
RunsMorning and evening
Needsshell script, Claude Code session logs, Telegram or email
Last updated2026-11-10

What the source did

  • Runs a shell script morning and evening across 16 repositories.
  • Parses Claude Code session logs, not just commits.
  • Builds a work report, drafts posts from it and sends everything to Telegram.

Summary written by Agent Cookbook from the original post. See the original for the full context. How we source recipes

Our notes

What it takes
A shell script on your laptop that scans git diffs across your repos and parses agent session logs, a model, and a delivery channel (he used Telegram). His runs every morning and evening.
Where it breaks
The assistant has access to his whole machine. He says that's fine for one person, but organisations need scoped access: scoped keys, isolated VMs, secrets never exposed to the agent, audit trails and kill switches.
Human checkpoint
The post describes no review step; it runs with 'no manual input'. In our version it only drafts, and you post after checking nothing confidential leaked.
Tools involved
shell script, Claude Code session logs, Telegram or email

✓ Verified Source link checked and still live. Notes by Thomas, editor. How we verify

Copy the prompt

Ours Our version, based on what Tyler Thomlinson described. Not their wording. Fill in the [BRACKETS].

Here are today's git diffs (stat only) for [REPOS] and excerpts from my agent session logs. Write: (1) a 5-bullet work report of what I actually shipped or learned, (2) one short post draft about the most interesting thing, with no client names, secrets or file paths. Mark anything you're unsure about with (?).

Approval rule

🛡
Drafts only. You post manually after checking nothing confidential leaked.

Set it up

  1. Script: in our version, collect git log --since=12h --stat per repo and the latest session-log excerpts.
  2. Send both to the model with the prompt.
  3. Deliver to a private chat or your inbox. He used Telegram.

Common failures

⚠
  • The script runs with access to his whole machine. He says that's fine for one person, but organisations need scoped access: scoped keys, isolated VMs, secrets kept from the agent, audit trails and kill switches.
  • In our version, filter session logs for secrets and client details before sending.

Variations

  • Weekly version for standups.
  • Grok Bot routine reading a repo folder on the box.

Get the 10 best agent setups. Free.

Plus new recipes every week. One email, no spam.

Unsubscribe anytime. Privacy

Related recipes

Same job: Content & social

In these guides: AI agents for content creators →

Read original ↗