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:
ensure_daily_journal(date=CURRENT_DATE) - •Purpose: Make sure the destination file
journals/YYYY_MM_DD.mdexists and has the template.
- •usage:
- •
Clean Temp Links (Formatting)
- •usage: Run
clean_temp_linksscript onpages/TempLinks.md. - •Purpose: Remove
**HH:MM**, decode URLs. - •Command:
python3 .agent/skills/clean_temp_links/clean_links.py "{workspace_root}/pages/TempLinks.md"
- •usage: Run
- •
Clean Link Titles
- •usage: Run
clean_link_titlesscript onpages/TempLinks.md. - •Purpose: Remove suffixes like
| TechNews,- MoneyDJ. - •Command:
python3 .agent/skills/clean_link_titles/clean_titles.py "{workspace_root}/pages/TempLinks.md"
- •usage: Run
- •
Add Hashtags
- •usage:
add_hashtagsLLM skill onpages/TempLinks.md. - •Purpose: Analyze content and append tags (#AI, #TSLA, etc.).
- •usage:
- •
Organize to Journal
- •usage:
organize_links_to_journalLLM skill. - •Input:
pages/TempLinks.md - •Target:
journals/YYYY_MM_DD.md - •Purpose: Sort links into sections and move them to today's journal.
- •usage:
- •
Clear Temp Links
- •usage: Run
clear_filescript onpages/TempLinks.md. - •Purpose: After successful move, clear
TempLinks.md. - •Command:
python3 .agent/skills/clear_file/clear_file.py "{workspace_root}/pages/TempLinks.md"
- •usage: Run
Usage
Run this skill to execute the entire pipeline.