summarize-hacker-news
Installation
SKILL.md
Protocol
- Use this curl comand to fetch front page stories using the Hacker News Algolia API.
curl -L "https://hn.algolia.com/api/v1/search?tags=front_page" | python3 -c "
import json, sys
data = json.load(sys.stdin)
for hit in data['hits']:
print(f\"{hit.get('objectID')} | {hit.get('title')} | {hit.get('points')} pts | {hit.get('num_comments')} comments | {hit.get('url')}\")
"
- Filter out the top 5 articles that you think would be of interest to me.
- Use parallel calls to
tool read_webpageto get the contents of each article. - Summarize all the articles.