← Back to Skills Marketplace
hanxueyuan

coze-web-fetch

by hanxueyuan · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
389
Downloads
0
Stars
4
Active Installs
2
Versions
Install in OpenClaw
/install coze-web-fetch
Description
Fetch and extract content from URLs using coze-coding-dev-sdk. Supports web pages, PDF, Office documents (doc/docx/ppt/pptx/xls/xlsx/csv), text files, e-book...
README (SKILL.md)

Coze Web Fetch

Fetch and extract structured content from any URL using coze-coding-dev-sdk. Returns text, images, and links in various output formats.

Quick Start

Basic Fetch

npx ts-node {baseDir}/scripts/fetch.ts -u "https://example.com/article"

Multiple URLs

npx ts-node {baseDir}/scripts/fetch.ts \
  -u "https://example.com/page1" \
  -u "https://example.com/page2"

Output as Markdown

npx ts-node {baseDir}/scripts/fetch.ts \
  -u "https://docs.python.org/3/tutorial/" \
  --format markdown

Output as JSON

npx ts-node {baseDir}/scripts/fetch.ts \
  -u "https://example.com/document.pdf" \
  --format json

Text Only (No Images/Links)

npx ts-node {baseDir}/scripts/fetch.ts \
  -u "https://example.com/article" \
  --text-only

Script Options

Option Description
-u, --url \x3Curl> URL to fetch (required, can be repeated)
--format \x3Cfmt> json, text, markdown (default: text)
--text-only Extract text content only
--help Show help message

Supported Document Formats

Format Extensions
PDF .pdf
Office Documents .doc, .docx, .ppt, .pptx, .xls, .xlsx, .csv
Text Files .txt, .text
E-books .epub, .mobi
XML .xml
Images .jpg, .png, .gif, .webp, etc.
Web Pages .html, .htm, or any URL

Output Formats

Text (default)

============================================================
FETCHED CONTENT
============================================================
Title: Example Article
URL: https://example.com/article

------------------------------------------------------------
CONTENT
------------------------------------------------------------
[TEXT] This is the main article content...

[IMAGE] https://example.com/image.jpg

[LINK] Related Article -> https://example.com/related

Markdown

# Example Article

**URL**: https://example.com/article

---

## Content

This is the main article content...

![Image](https://example.com/image.jpg)

- [Related Article](https://example.com/related)

JSON

Raw API response with full content structure.

Content Types

The fetcher extracts three types of content:

Type Description
text Extracted text content from the page
image Image URLs with display information
link Hyperlinks found in the content

Notes

  • Use --text-only for cleaner output when you only need text
  • PDF and Office documents are automatically parsed
  • Images are re-signed for secure access
  • Multiple URLs can be fetched in a single command
Usage Guidance
This skill appears to do what it says (fetch and extract content) but there are gaps you should verify before installing: 1) The script imports 'coze-coding-dev-sdk' but the skill does not declare how/when that package or ts-node/typescript are installed — confirm the runtime will provide these dependencies. 2) The SDK likely sends fetched content to coze's API; ask whether any API key or account is required, and which environment variables or config files (if any) the SDK reads. The skill does not declare required credentials, which is a red flag for possible unintended data transmission. 3) The README claim that 'images are re-signed' is not implemented in the visible code — clarify what 're-signed' means and whether any signing keys are needed. 4) Before using on sensitive URLs, review or vendor-audit the coze-coding-dev-sdk source (or run the fetcher in an isolated environment) to see exactly what data is uploaded and where. If you need to proceed, require the author to add explicit dependency and env var declarations (and a statement of what data is sent to coze.com) or run the tool in a sandbox.
Capability Analysis
Type: OpenClaw Skill Name: coze-web-fetch Version: 0.1.0 The skill bundle provides a legitimate utility for fetching and parsing web content and documents (PDF, Office, etc.) using the coze-coding-dev-sdk. The code in scripts/fetch.ts is straightforward, implementing command-line argument parsing and output formatting without any signs of data exfiltration, malicious execution, or obfuscation.
Capability Assessment
Purpose & Capability
The name/description and the script align: it uses a coze SDK to fetch and extract content. However the skill requires the external package coze-coding-dev-sdk (imported in scripts/fetch.ts) but the SKILL.md and registry metadata do not declare that package or other Node dependencies (typescript/ts-node). Also the SKILL.md claims 'Images are re-signed for secure access' which is not implemented in the visible code — that claim is inconsistent.
Instruction Scope
The SKILL.md instructs running 'npx ts-node scripts/fetch.ts' which will execute the script that calls client.fetch(url). That likely sends the fetched document content to the remote coze service (via the SDK) — this network transmission is expected for this purpose but is not documented in SKILL.md (no explicit note that content is uploaded to coze.com). The instructions do not read local files or secrets, but they omit any mention of required credentials or config that the SDK's Config() may load.
Install Mechanism
There is no install spec (instruction-only), which is low risk. However required runtime packages are undeclared: the script imports 'coze-coding-dev-sdk' and is executed with ts-node; SKILL.md only lists 'npx' as required. Without explicit install steps, the script may fail or behave differently depending on the environment. This is an operational/documentation gap rather than direct evidence of malice.
Credentials
The skill declares no required environment variables or credentials, yet it instantiates Config() from an external SDK — that Config may read API keys or other tokens (e.g., COZE_API_KEY or a config file). The absence of declared env vars or primary credential is disproportionate and hides whether user data will be sent to a third-party service requiring auth. The skill also makes claims (image re-signing) that could imply use of signing keys, but no keys are declared.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or persistent platform privileges. It does not modify other skills or system settings in the visible files.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install coze-web-fetch
  3. After installation, invoke the skill by name or use /coze-web-fetch
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release. - Fetch and extract content from URLs using coze-coding-dev-sdk. - Supports web pages, PDF, Office documents, text files, e-books, XML, and images. - Returns structured output with text, images, and links. - Offers output in text, markdown, or JSON formats. - Allows fetching multiple URLs in a single command. - Provides options for text-only extraction.
v1.0.0
- Initial release of coze-web-fetch. - Fetch and extract structured content from web pages, PDFs, Office documents, text files, e-books, XML, and images. - Supports output as plain text, Markdown, or JSON. - Handles multiple URLs in a single command. - Option to extract text-only content. - Extracted output includes text, images, and links.
Metadata
Slug coze-web-fetch
Version 0.1.0
License MIT-0
All-time Installs 5
Active Installs 4
Total Versions 2
Frequently Asked Questions

What is coze-web-fetch?

Fetch and extract content from URLs using coze-coding-dev-sdk. Supports web pages, PDF, Office documents (doc/docx/ppt/pptx/xls/xlsx/csv), text files, e-book... It is an AI Agent Skill for Claude Code / OpenClaw, with 389 downloads so far.

How do I install coze-web-fetch?

Run "/install coze-web-fetch" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is coze-web-fetch free?

Yes, coze-web-fetch is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does coze-web-fetch support?

coze-web-fetch is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created coze-web-fetch?

It is built and maintained by hanxueyuan (@hanxueyuan); the current version is v0.1.0.

💬 Comments