web-reader

Installation
Summary

Web page content extraction with automatic title, HTML, and metadata retrieval.

  • Fetches and parses web pages via the page_reader function, returning structured data including title, HTML content, plain text, and publication time
  • Supports both CLI usage for quick tasks and SDK integration for programmatic access in backend code only
  • Includes caching, rate limiting, parallel processing, and error handling patterns for production applications
  • Handles multiple URLs, content aggregation, and advanced use cases like RSS feed readers and scraping pipelines
SKILL.md

Web Reader Skill

This skill guides the implementation of web page reading and content extraction functionality using the z-ai-web-dev-sdk package, enabling applications to fetch and process web page content programmatically.

Skills Path

Skill Location: {project_path}/skills/web-reader

This skill is located at the above path in your project.

Reference Scripts: Example test scripts are available in the {Skill Location}/scripts/ directory for quick testing and reference. See {Skill Location}/scripts/web-reader.ts for a working example.

Overview

Web Reader allows you to build applications that can extract content from web pages, retrieve article metadata, and process HTML content. The API automatically handles content extraction, providing clean, structured data from any web URL.

IMPORTANT: z-ai-web-dev-sdk MUST be used in backend code only. Never use it in client-side code.

Prerequisites

Related skills

More from answerzhao/agent-skills

Installs
1.6K
GitHub Stars
26
First Seen
Jan 23, 2026