find and rank recent tech news articles optimised for engagement, novelty, and discussion in a software engineering class setting
Select and present 3 high-impact, discussion-worthy tech news stories that are likely to win attention and votes in a technical classroom setting.
Search for a broad set of recent articles, not just top headlines.
curl -s "https://api.search.brave.com/res/v1/news/search?q=$(echo "$ARGUMENTS_REST software engineering AI security infrastructure unusual tech" | sed 's/ /+/g')&count=20&freshness=dw" \
-H "X-Subscription-Token: ${BRAVE}" \
-H "Accept: application/json"
For each article, retrieve additional context.
curl -s "https://api.search.brave.com/res/v1/web/search?q=$(echo "$ARTICLE_URL" | sed 's/ /+/g')&count=5" \
-H "X-Subscription-Token: ${BRAVE}" \
-H "Accept: application/json"
For each article:
Prioritise articles that:
Conceptually:
Select:
For each selected article, rewrite the headline so it:
Write a structured Markdown file using this format:
# Class Picks — {date}
## 🥇 Best Pick
**Headline:**
{rewritten headline}
**Hook:**
{1–2 sentence explanation of why this matters}
**Why it wins:**
{clear reason this would attract votes}
**Relevance to software engineering:**
{systems / infra / AI / security angle}
**Discussion prompt:**
{1 question to spark debate}
---
## 🥈 Most Unique Pick
**Headline:**
{rewritten headline}
**Hook:**
{1–2 sentence explanation of why this matters}
**Why it wins:**
{clear reason this would attract votes}
**Relevance to software engineering:**
{systems / infra / AI / security angle}
**Discussion prompt:**
{1 question to spark debate}
---
## 🥉 Backup Pick
**Headline:**
{rewritten headline}
**Hook:**
{1–2 sentence explanation of why this matters}
**Why it wins:**
{clear reason this would attract votes}
**Relevance to software engineering:**
{systems / infra / AI / security angle}
**Discussion prompt:**
{1 question to spark debate}
Get a timestamp with:
date +"%Y%m%d-%H%M%S"
Save the file to:
/workspace/data/class-picks-{YYYYMMDD-HHMMSS}.md
Use the write_file tool.