web-reader

Extract titles, HTML, text, and publication times from web URLs.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Cao-R/SamrtEmailAssistantAgents --skill web-reader-cao-r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-reader
Source: https://github.com/Cao-R/SamrtEmailAssistantAgents/tree/main/skills/web-reader
Command: npx skills add https://github.com/Cao-R/SamrtEmailAssistantAgents --skill web-reader-cao-r

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires z-ai-web-dev-sdk, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of extracting content from web pages, eliminating the need for manual scraping and enabling efficient web content processing.

Core Features & Use Cases

  • Web Page Content Extraction: Automatically extract titles, HTML, text, and publication times from any web URL.
  • Automated Content Extraction: Retrieve web page content programmatically, saving time on manual scraping.
  • Use Case: Imagine you need to scrape news articles from multiple sources for a content aggregation service. This Skill can help automate the process, allowing you to focus on higher-level tasks.

Quick Start

Run the z-ai function command to extract content from a specified URL. For example: `z-ai function -n page_reader -a '{"url": "https://example.com"}'

Frequently Asked Questions about web-reader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract web page content and text from a URL automatically?

You can extract web page content automatically by running the `z-ai function` command with the `page_reader` script, passing the target URL as an argument to retrieve titles, HTML, text, and publication times.

What is the best way to scrape news articles for a content aggregation service?

The best way to scrape news articles for aggregation is using an automated content extraction script that programmatically retrieves titles and text from web URLs, saving time on manual scraping and letting you focus on higher-level tasks.

Does web content extraction require the z-ai-web-dev-sdk package?

Yes, web content extraction requires the `z-ai-web-dev-sdk` package installed in your environment, as the backend content handling and HTML parsing logic depends entirely on this SDK to function.

Can I retrieve publication times and titles alongside HTML when web scraping?

Yes, you can retrieve publication times and titles alongside raw HTML and text. The content extraction process automatically parses these specific data fields from any provided web URL.

How do I parse HTML from a web page using z-ai functions?

To parse HTML from a web page, execute the `z-ai function` command with the `page_reader` component and supply a JSON object containing your target URL to fetch and process the HTML structure programmatically.