Install in one command
digitorn install hub://digitorn/weekly-digestWhat you get
- Posts the Monday digest at 9am, every week
- Reads from GitHub PRs and changelog files
- Idempotent, two runs in a row do not duplicate
- Cheap on Haiku, no premium model needed
Credentials this template uses
Click each one for the credential setup command, scope guidance, and provider details.
The full YAML, ready to fork
app.yaml
1app:2 app_id: weekly-digest3 name: "Weekly digest"4 version: "1.0.0"5 category: "ops"67modules:8 web: {}9 channels:10 config:11 slack:12 bot_token: { credential: slack_bot_oauth }13 post_channel: "#engineering"1415execution:16 mode: background17 entry_agent: reporter18 triggers:19 - id: monday-9am20 type: cron21 schedule: "0 9 * * MON"22 message: "Generate this week's engineering digest."2324agents:25 - id: reporter26 modules: [{web: [search, fetch]}, {channels: [slack_post]}]27 brain:28 provider: anthropic29 model: claude-haiku-4-530 credential:31 ref: anthropic_main32 scope: per_user33 provider: anthropic34 system_prompt: |35 Generate a concise digest of the last 7 days.36 Check if today's digest was already posted before posting again.37 Keep it under 300 words. Be terse.How it works
cron trigger with schedule next to the agent
The trigger declares schedule: '0 9 * * MON' and points at the reporter agent. The runtime fires on the cron, runs the agent to completion, exits. No always-on process.
minimal tool surface
Web for fetching changelog, GitHub PAT for fetching merged PRs, Slack channel for posting. The agent sees only what it needs to do its job.
idempotent system prompt
The prompt instructs the agent to check whether this week's digest has already been posted before posting a new one. Belt-and-suspenders against accidental double-runs.
Read the deep dive
10 apps you can ship in 50 lines of YAML
Read article
Newsletter
Get the next post in your inbox.
Engineering notes from the Digitorn team. No marketing, no launch announcements, no "10 prompts that will change your life". Just the things we write that we'd want to read.
Other templates
developerStarter coder/templates/starter-coderdeveloperClaude Code clone/templates/claude-code-cloneresearchDeep research agent/templates/deep-researchmessagingSlack helper/templates/slack-helperdeveloperPull request reviewer/templates/pr-reviewerknowledgeDocumentation generator/templates/doc-writercreativeLive React app builder/templates/react-buildermessagingVoice assistant/templates/voice-assistantopsScheduled data pipeline/templates/data-pipeline