parallel-web-extract

作者: parallel-web

从多个URL并行提取内容,高效利用令牌。通过单条命令处理网页、文章、PDF及JavaScript密集型网站。在分叉上下文中运行,相比内置WebFetch减少令牌开销。支持批量提取多个URL,可设置可选聚焦目标。需安装parallel-cli并完成认证;提取内容以Markdown格式输出至本地文件,便于后续查询。

npx skills add https://github.com/parallel-web/parallel-agent-skills --skill parallel-web-extract

URL Extraction

Extract content from: $ARGUMENTS

Command

Choose a short, descriptive filename based on the URL or content (e.g., vespa-docs, react-hooks-api). Use lowercase with hyphens, no spaces. Substitute it into the command inline — $FILENAME is a placeholder, not a shell variable.

Pass each requested URL as a separate quoted positional argument, up to 20 per call. Do not collapse multiple URLs into one quoted $ARGUMENTS string or use eval to split them. Construct arguments directly from the requested URLs. For example:

parallel-cli extract "https://docs.parallel.ai/integrations/cli" "https://docs.parallel.ai/integrations/cursor-marketplace" --json -o "/tmp/parallel-docs.json"

-o saves JSON. Use a .json extension and inspect an existing path before use because Extract overwrites it. Read the saved file as authoritative; stdout may truncate and human-readable output previews only part of the content. Do not treat a stale file as a successful response after a failed call.

Options if needed:

  • --objective "focus area" to focus extraction on a specific goal (also silences the "neither objective nor search_queries" warning that V1 emits when neither is set)
  • -q "keyword" (repeatable) to prioritize keywords in excerpts
  • --full-content to include the complete page body (for long articles, PDFs, or when excerpts may not capture what you need)
  • --full-content-max-chars N to cap full-content size per result
  • --no-excerpts to strip excerpts when you only want full content
  • --session-id "<returned-session-id>" to group related Search/Extract calls. A session ID is not a Task interaction ID or run ID; never use it with research status/poll or --previous-interaction-id

Handling failed extractions

Inspect the exit status, API error, results, per-URL errors and any warnings. errors: [] is normal success. Nonempty errors can coexist with successful results: retain and present successful content, then name each failed URL and its returned reason. Empty results or missing content are not a successful extraction. Do not fabricate content. For affected URLs, suggest:

  • Verifying the URL (the page may have moved)
  • Requesting --full-content if excerpts are empty but the returned metadata supports that the page was fetched
  • Using parallel-cli search to locate the current URL if the page was renamed

Response format

Return content as:

Page Title

Use returned full_content for full-page requests; excerpts alone are selected passages and must be labelled as such. Even full content may be capped by --full-content-max-chars or upstream limits; do not promise completeness when capped. Preserve retrieved content verbatim, with these rules:

  • Keep content verbatim - do not paraphrase or summarize
  • Preserve every numbered/bulleted item in the retrieved content; do not claim an excerpt contains the whole page
  • Strip only obvious noise: nav menus, footers, ads
  • Preserve all facts, names, numbers, dates, quotes

After the response, mention the output file path (/tmp/$FILENAME.json) so the user knows it's available for follow-up questions.

For large content, keep the full verbatim text in the saved file and provide a brief labelled preview plus its path. Never silently truncate content while claiming it is the complete extraction.

Setup

If parallel-cli is not found, install and authenticate:

/parallel:parallel-cli-setup

If a documented command or option is missing, check the installed version and upgrade through its installation method: standalone parallel-cli update, pipx pipx upgrade parallel-web-tools, uv uv tool upgrade parallel-web-tools, Homebrew brew upgrade parallel-web/tap/parallel-cli, or npm npm update -g parallel-web-cli. Verify help in the same terminal before retrying.

For authentication errors, inspect parallel-cli auth --json and its authenticated boolean; exit zero alone does not prove authentication. A 403 can indicate permissions, policy or billing. Report the actual error; check balance only for a billing-specific failure and never add funds without explicit confirmation.

来自 parallel-web 的更多技能

parallel-monitor
parallel-web
持续按固定频率追踪网页变化。当用户要求“监控”、“追踪变化”、“关注”或“提醒我”某内容时使用…
migrate-to-parallel
parallel-web
将Exa、Tavily、Perplexity或Firecrawl的网页数据集成完全迁移到相应的Parallel产品,同时保持应用程序行为不变。使用…
parallel-data-enrichment
parallel-web
批量丰富公司、人员或产品数据,通过网页来源字段(如CEO姓名、融资信息、联系方式)进行补充。支持内联JSON数据或CSV文件输入,并将丰富后的结果输出为CSV。异步运行,通过监控URL和轮询命令跟踪进度。需要parallel-cli工具和互联网访问,可处理大型数据集并配置超时时间。通过自然语言意图描述(例如“CEO姓名和成立年份”)支持灵活的字段请求。
parallel-deep-research
parallel-web
针对复杂主题的详尽研究,支持可配置的深度、延迟与成本权衡。三个处理层级(pro-fast、ultra-fast、ultra)耗时从30秒到25分钟不等,成本按基准的1倍至3倍递增。异步执行与轮询机制:即时启动研究,通过URL监控进度,就绪后获取结果且不阻塞流程。输出格式化的Markdown报告与JSON元数据;执行摘要打印至标准输出以便快速概览。专为显式...
parallel-findall
parallel-web
发现与自然语言描述匹配的实体(公司、人物、产品等)。当用户要求“找出所有X”或“列出每个Y,这些Y……”时使用。
parallel-memory
parallel-web
在可能有用时,回忆过去的Parallel Task、Monitor和FindAll运行记录;在接到请求时,清除运行记录或清空记忆。
parallel-web-search
parallel-web
快速网络搜索,用于获取当前信息、进行研究及事实核查。可执行单一目标查询或并行多个关键词搜索,返回最多10条结果,包含摘要和元数据。支持通过--after-date进行时效性过滤,以及使用--include-domains进行特定域名搜索。输出结构化JSON,包含标题、URL、发布日期和摘要,便于解析和后续查询。要求每条声明使用Markdown格式的内联引用...
setup
parallel-web
设置 Parallel 插件(安装 CLI)