← 返回 Skills 市场
smile-xuc

Jina Reader

作者 smile-xuc · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1069
总下载
0
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install haibo-jina-reader
功能描述
Extract clean, readable markdown content from any URL using Jina Reader API. Use when you need to fetch and parse web pages without dealing with HTML, JavaScript rendering, or paywalls. Ideal for research, article summarization, content analysis, and working with search results from tavily-search, web_search, or searxng skills.
使用说明 (SKILL.md)

Jina Reader

Overview

Jina Reader provides clean markdown extraction from any URL, bypassing HTML complexity, JavaScript rendering, and many paywalls. It returns structured text content with metadata (title, URL, published time) that's perfect for AI analysis.

Quick Start

Extract markdown content

scripts/jina-reader.py \x3Curl>

Extract with JSON metadata

scripts/jina-reader.py \x3Curl> --format json

Save to file

scripts/jina-reader.py \x3Curl> -o output.md

Core Operations

1. Basic Extraction

Extract clean markdown from any URL:

scripts/jina-reader.py https://example.com/article

Returns: Full markdown content including title, metadata headers, and structured text.

Use when: You need readable text from a webpage for summarization, analysis, or content processing.

2. JSON Format

Get structured data with metadata:

scripts/jina-reader.py https://example.com/article --format json

Returns:

{
  "status": "success",
  "metadata": {
    "title": "Article Title",
    "url": "https://example.com/article",
    "published": "Mon, 10 Feb 2026 12:00:00 GMT"
  },
  "content": "Markdown content..."
}

Use when: You need programmatic access to metadata or want to integrate with other tools.

3. Shell Script Quick Access

For simple one-liners:

scripts/jina-reader.sh https://example.com/article

Returns: Raw markdown content directly to stdout.

Use when: Quick extraction without arguments or when piping to other commands.

Usage Patterns

Combining with Search

When using tavily-search, web_search, or searxng skills:

  1. Get search results with relevant URLs
  2. Extract content from top results using jina-reader
  3. Process and summarize the extracted content
# Example workflow
URL="https://example.com/article"
scripts/jina-reader.py "$URL" --format json | jq -r '.content'

Batch Processing

Extract from multiple URLs:

for url in $(cat urls.txt); do
  scripts/jina-reader.py "$url" -o "output/$(basename $url).md"
done

Content Analysis

Pipe extracted content to analysis tools:

scripts/jina-reader.py https://example.com/article | wc -w
scripts/jina-reader.py https://example.com/article | grep -i "keyword"

Options

Python Script (jina-reader.py)

  • url (required): The URL to extract content from
  • -f, --format: Output format - markdown or json (default: markdown)
  • -t, --timeout: Request timeout in seconds (default: 30)
  • -o, --output: Save output to file instead of stdout

Shell Script (jina-reader.sh)

  • url (required): The URL to extract content from

Limitations

  • Timeout: Default 30 seconds. Increase with -t for slow-loading pages
  • Rate limits: Jina Reader API has rate limits. Use batching strategically
  • Dynamic content: Can't extract content generated by client-side JavaScript after page load
  • Authentication: Can't access pages requiring login or special headers

Troubleshooting

Timeout errors

scripts/jina-reader.py \x3Curl> -t 60  # Increase timeout

Invalid URLs

The tool auto-prepends https:// if missing. Use fully qualified URLs for reliability.

Empty content

Some pages may block scraping. Try the shell script as fallback, or verify the URL is accessible.

Resources

scripts/jina-reader.py

Full-featured Python tool with JSON output, metadata extraction, and file saving.

scripts/jina-reader.sh

Lightweight shell script for quick markdown extraction.

安全使用建议
This skill is coherent with its purpose, but it forwards the target URL (and the remote service will fetch that URL) to a third-party endpoint (https://r.jina.ai). Do not use it with private, internal, or sensitive URLs you don't want a remote service to fetch or see. Note the shell script does not normalize https URLs correctly and may produce malformed requests for inputs starting with 'https://'; prefer the Python script (which normalizes schemes) or validate inputs. Ensure the environment has the Python 'requests' package installed if you use the Python script. If you need to avoid sending content outside your network, consider a local extraction tool instead or audit/host an extraction service you control.
功能分析
Type: OpenClaw Skill Name: haibo-jina-reader Version: 1.0.0 The skill bundle is classified as suspicious due to two significant vulnerabilities. The `scripts/jina-reader.sh` script is vulnerable to shell injection, as the user-provided URL is directly embedded into the `JINA_API` string without proper sanitization before being passed to `curl`, potentially allowing arbitrary command execution. Additionally, the `scripts/jina-reader.py` script has a path traversal vulnerability in its file output functionality (`-o` argument), allowing an attacker to write extracted content to arbitrary file paths on the system by using `../` sequences in the output filename. While these are severe flaws, there is no clear evidence of intentional malicious behavior (e.g., data exfiltration, backdoor installation) by the skill's author, classifying them as vulnerabilities rather than direct malice.
能力评估
Purpose & Capability
Name/description match the included scripts and instructions: both Python and shell tools call the Jina Reader endpoint (r.jina.ai) and return markdown/JSON. No unrelated credentials, binaries, or installs are requested.
Instruction Scope
Instructions are focused on extraction and piping results to other tools. They do cause the agent to send target URLs (and indirectly the pages' content, depending on the remote service) to r.jina.ai — this is expected for the stated purpose but is a privacy/network exposure concern (see user_guidance). The shell script has a minor scheme-handling bug for https URLs which can produce a malformed request; Python script normalizes schemes.
Install Mechanism
No install spec; scripts are included directly. No archives or external installers are fetched. The Python script depends on the widely used 'requests' package but does not attempt to install it itself.
Credentials
The skill declares no required environment variables, credentials, or config paths. The code likewise does not read secrets or system configuration. No disproportionate credential access is requested.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or system configuration. It does network requests to an external API — expected for its functionality — but it does not request persistent elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install haibo-jina-reader
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /haibo-jina-reader 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Extract clean markdown from any URL using Jina Reader API
元数据
Slug haibo-jina-reader
版本 1.0.0
许可证
累计安装 4
当前安装数 4
历史版本数 1
常见问题

Jina Reader 是什么?

Extract clean, readable markdown content from any URL using Jina Reader API. Use when you need to fetch and parse web pages without dealing with HTML, JavaScript rendering, or paywalls. Ideal for research, article summarization, content analysis, and working with search results from tavily-search, web_search, or searxng skills. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1069 次。

如何安装 Jina Reader?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install haibo-jina-reader」即可一键安装,无需额外配置。

Jina Reader 是免费的吗?

是的,Jina Reader 完全免费(开源免费),可自由下载、安装和使用。

Jina Reader 支持哪些平台?

Jina Reader 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Jina Reader?

由 smile-xuc(@smile-xuc)开发并维护,当前版本 v1.0.0。

💬 留言讨论