name: process_news_digest
description: End-to-end workflow to process daily news digest: ensures journal, cleans links, tags, and organizes them.
Process News Digest Workflow
This is the main skill that chains all other skills to perform the full nightly news digest workflow.
Steps
-
Ensure Daily Journal Exists
- usage: Run
ensure_daily_journal python script.
- Purpose: Make sure the destination file
journals/YYYY_MM_DD.md exists and has the template.
- Command:
python3 .agent/skills/ensure_daily_journal/ensure_journal.py (defaults to today)
-
Clean Temp Links (Formatting)
- usage: Run
clean_temp_links script on pages/TempLinks.md.
- Purpose: Remove
**HH:MM**, decode URLs.
- Command:
python3 .agent/skills/clean_temp_links/clean_links.py "../notes/pages/TempLinks.md"
-
Clean Link Titles
- usage:
clean_link_titles LLM skill on ../notes/pages/TempLinks.md.
- Purpose: Remove suffixes like
| TechNews and prefixes intelligently.
-
Add Hashtags
- usage:
add_hashtags LLM skill on ../notes/pages/TempLinks.md.
- Purpose: Analyze content and append tags (#AI, #TSLA, etc.).
-
Organize to Journal
- usage:
organize_links_to_journal LLM skill.
- Input:
../notes/pages/TempLinks.md
- Target:
journals/YYYY_MM_DD.md
- Purpose: Sort links into sections and move them to today's journal.
-
Clear Temp Links
- usage: Run
clear_file script on ../notes/pages/TempLinks.md.
- Purpose: After successful move, clear
TempLinks.md.
- Command:
python3 .agent/skills/clear_file/clear_file.py "../notes/pages/TempLinks.md"
Usage
Run this skill to execute the entire pipeline.