Jina Reader
URL 内容提取 + 网络搜索。
执行
# 读取 URL(转 Markdown)
bun ~/.pi/agent/skills/jina-reader/scripts/reader.ts read "<url>"
# 搜索
bun ~/.pi/agent/skills/jina-reader/scripts/reader.ts search "<query>"
# 选项
read <url> [--format markdown|html|text|json] [--timeout N] [--no-cache] [--selector ".class"]
search <query> [--count N] [--site domain.com] [--type web|images|news]
API Key
~/.pi/agent/skills/jina-reader/.env 中配置 JINA_API_KEY。
示例
bun scripts/reader.ts read "https://docs.jina.ai"
bun scripts/reader.ts search "AI news" --count 5 --site arxiv.org
bun scripts/reader.ts read "https://example.com" --selector ".article" --format json