parallel-web-extract

作者: parallel-web

從多個URL平行提取內容,節省token。單一指令即可處理網頁、文章、PDF及JavaScript密集型網站。在分叉環境中執行,相較內建WebFetch能減少token開銷。支援批次提取多個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.

parallel-cli extract "$ARGUMENTS" --json -o "/tmp/$FILENAME.json"

Concrete example:

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

Note: -o always saves JSON. The extension must be .json.

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

Handling failed extractions

If the response has an errors field, an empty results array, or a 404/timeout for the URL, do NOT fabricate content. Tell the user the extraction failed, surface the upstream status, and suggest:

  • Verifying the URL (the page may have moved)
  • Retrying with --full-content if excerpts came back empty but the page exists
  • Using parallel-cli search to locate the current URL if the page was renamed

Response format

Return content as:

Page Title

Then the extracted content verbatim, with these rules:

  • Keep content verbatim - do not paraphrase or summarize
  • Parse lists exhaustively - extract EVERY numbered/bulleted item
  • 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.

Setup

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

/parallel:parallel-cli-setup

If parallel-cli extract returns 403, tell the user balance is likely required. Offer to run parallel-cli balance get, and if needed ask for explicit confirmation before running parallel-cli balance add <amount_cents>. Then retry the original extract command.

來自 parallel-web 的更多技能

parallel-cli-setup
parallel-web
Set up and maintain the Parallel CLI (install, auth, balance, skills install)
official
parallel-data-enrichment
parallel-web
批量豐富公司、人物或產品數據,透過網絡來源欄位如CEO姓名、資金及聯絡資訊。接受內嵌JSON數據或CSV檔案;將豐富後的結果輸出至CSV。非同步執行,可透過監控URL及輪詢指令追蹤進度。需使用parallel-cli工具及網路連線;處理大型數據集並支援可設定的超時時間。透過自然語言意圖描述(例如「CEO姓名與成立年份」)支援靈活的欄位請求。
official
parallel-deep-research
parallel-web
針對複雜主題進行詳盡研究,具備可設定的深度、延遲與成本權衡。三個處理層級(pro-fast、ultra-fast、ultra)從30秒到25分鐘不等,成本從基準的1倍到3倍。非同步執行搭配輪詢機制:立即啟動研究,透過URL監控進度,無需阻塞即可在準備就緒時擷取結果。輸出格式化的Markdown報告與JSON元資料;執行摘要會輸出至標準輸出(stdout)以便快速瀏覽。專為明確...
official
parallel-findall
parallel-web
發現符合自然語言描述的實體(公司、人物、產品等)。當使用者要求「找出所有X」或「列出每個Y,其…」時使用。
official
parallel-monitor
parallel-web
持續以固定頻率追蹤網頁變化。當使用者要求「監控」、「追蹤變更」、「關注」或「提醒我」某事物時使用…
official
parallel-web-search
parallel-web
快速網路搜尋,用於獲取當前資訊、研究及事實查證。可執行單一目標查詢或多關鍵字平行搜尋,回傳最多10筆結果,包含摘要與元資料。支援透過--after-date進行時間敏感篩選,以及使用--include-domains進行特定領域搜尋。輸出結構化JSON,包含標題、網址、發布日期與摘要,便於解析與後續查詢。每個主張需使用Markdown格式內嵌引用來源...
official
result
parallel-web
根據執行 ID 取得已完成的研究任務結果
official
setup
parallel-web
設定 Parallel 插件(安裝 CLI)
official