Install
openclaw skills install nerua1-prasowkaGenerate a daily news portal as a single HTML file. Uses fetch_news.py + web_fetch + LLM for summaries. 18 categories, dark/light toggle, responsive layout.
openclaw skills install nerua1-prasowkaGenerate a daily news portal as a single HTML file.
<workspace>/canvas/prasowka-{YYYYMMDD}.html<workspace>/skills/prasowka/data<workspace>/skills/prasowka/referencesmkdir -p <workspace>/canvas <workspace>/skills/prasowka/data
DATE=$(date +%Y%m%d)
SEEN_URLS_FILE="$DATA_DIR/seen_urls.json"
Read $REFS_DIR/topics.md — format:
ai-models: 15
ai-tools: 10
ai-video: 15
...
Launch a subagent for each topic:
def fetch_topic_news(topic, limit):
result = subprocess.run([
"python3", "scripts/fetch_news.py",
"--topic", topic,
"--limit", str(limit)
], capture_output=True, text=True)
if result.returncode != 0:
return web_search(f"latest {topic} news {limit}")
return json.loads(result.stdout)
def filter_new_urls(articles, seen_urls):
return [a for a in articles if a['url'] not in seen_urls]
Launch a subagent for each article:
def summarize_article(url):
content = web_fetch(url, extract_text=True)
if not content or len(content) < 100:
return None
summary = llm_summarize(content[:3000])
return summary
Use template with dark/light toggle, 18 categories, 2-3 sentence summaries.
scripts/fetch_news.pyreferences/topics.mdreferences/format.mdIf this saved you time: ☕ PayPal.me/nerudek