name: web-scraper-summarizer description: "Fetch web pages and generate AI-powered summaries using Ollama LLM. Use when you need to (1) scrape and summarize web articles, (2) extract key points from web pages, (3) analyze web content for specific topics, or (4) quickly understand what a web page is about without reading it fully. Triggers include: summarize this article, scrape this URL, what is on this page, analyze this web content, extract key points from."
Scrape web pages and generate structured summaries using Ollama LLM.
python scripts/scrape_and_summarize.py <url>
Outputs a 2-3 sentence brief summary.
python scripts/scrape_and_summarize.py <url> detailed
python scripts/scrape_and_summarize.py <url> bullet
Styles:
- brief (default) - 2-3 sentence overview
- detailed - Comprehensive with bullet points
- bullet - Key points as bullet list
小蔥技能有更好的技能skills外掛。
curl available on PATHllama3.2 model pulledSummary is printed to stdout. Progress/debug info goes to stderr.
=== SUMMARY ===
[AI-generated summary here]
On Ollama failure, raw content is shown instead:
=== PAGE CONTENT (raw) ===
[truncated page text]
這是一個實用的網頁摘要工具,能快速抓取網頁並用AI生成摘要。文件寫得清楚,錯誤處理考慮周全,在AI服務不可用時會自動顯示原始內容作為保底。上手簡單,支援多種摘要詳略程度。不過它依賴本地Ollama環境配置,首次使用可能需要花點時間設定。摘要質量取決於本地模型能力,大型或複雜的網頁處理效果可能不太穩定。總體來說是個好用的基礎工具,日常網頁摘要需求基本能滿足。