orf-digest
SafeNotes & PKM
On-demand ORF news digest in German. Use when the user says 'orf', 'pull orf', or 'orf 10'.
SKILL.md
# ORF Digest (news.orf.at)
## Command format
Interpret a user message that starts with `orf` as a request for an ORF News digest.
Supported forms:
- `orf` → default 5 items
- `orf <n>` → n items (max 15)
- `orf inland` / `orf ausland` → bias selection
- `orf <n> inland|ausland` → both
## Source + scope
- Primary source: `news.orf.at` (German)
- Prefer: **Inland** politics, **Ausland** / international politics, and major headlines.
- Exclude: sports (Sport).
## Output requirements
- Do **not** send any extra commentary/preamble/epilogue.
- Send results as **individual messages**.
- Each item message must be exactly:
- first line: the headline (German)
- second line: `<age>` (e.g. `45m ago`, `6h ago`, `2d ago`)
- third line: the ORF link
- After the item messages, send **one final message** with the generated image.
- The image must visually incorporate the pulled news on the wraparound studio video wall using **4–6 distinct story panels**.
- **Panel layout (must):**
- TOP: big bold topic label (2–3 words, ALL CAPS)
- MIDDLE: smaller 3–6 word mini-headline (news-style)
- BOTTOM: exactly 1–2 simple icons (no maps, no busy collages)
- **Readability:** keep text minimal and large enough to render cleanly.
- No logos/watermarks.
- If the chat provider requires non-empty text for media, use a minimal caption `.`.
## Procedure
1. Parse `n` and optional `focus` (`inland`|`ausland`) from the user message.
2. Run `python3 skills/orf-digest/scripts/orf.py --count <n> --focus <focus> --format json`.
3. Send each returned item as its own message (3-line format).
4. Generate the ZiB studio mood image via Nano Banana:
- Build prompt from items: `python3 skills/orf-digest/scripts/orf.py --count <n> --focus <focus> --format json | node skills/orf-digest/scripts/zib_prompt.mjs`
- Generate: `skills/orf-digest/scripts/generate_zib_nano_banana.sh ./tmp/orf-zib/zib.png`
- Send image as final message.
If fetching/parsing fails or returns 0 items:
- Use the browser tool to open `https://news.orf.at/`, pick N non-sport headlines by judgment, and send them in the same 3-line format.
- Still generate a ZiB studio image with a few generic political-news Easter eggs.
More in Notes & PKM
apple-mail
SafeApple Mail.app integration for macOS. Read inbox, search emails, send emails, reply.
apple-notes
SafeManage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move.
bear-notes
SafeCreate, search, and manage Bear notes via grizzly CLI.
better-notion
SafeFull CRUD for Notion pages, databases, and blocks. Create, read, update, delete, search, and query.