Notes & PKMDocumentedScanned

orf-digest

On-demand ORF news digest in German.

Share:

Installation

npx clawhub@latest install orf

View the full skill documentation and source below.

Documentation

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 items (max 15)
  • orf inland / orf ausland → bias selection
  • orf 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: (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 text (1–2 words, ALL CAPS). You must invent this. - MIDDLE: smaller text (3–6 words) that describes the story. You must invent this. - The two lines must not form a connected sentence. - Avoid repeating the same words between the two lines. - BOTTOM: exactly 1–2 simple icons (no maps, no busy collages) - Icon variety: make icons distinct across panels whenever possible. - Do not reuse the same icon pair across multiple panels. - Avoid overusing generic icons (e.g. globe + pin); only use them when no better match exists. - 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

  • Parse n and optional focus (inland|ausland) from the user message.

  • Run python3 skills/orf-digest/scripts/orf.py --count --focus --format json.

  • Send each returned item as its own message (3-line format).

  • Generate the ZiB studio mood image via Nano Banana:

  • - Build prompt from items: python3 skills/orf-digest/scripts/orf.py --count --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 ` 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.