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.

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元資料;執行摘要會輸出至標準輸出(stdout)以便快速瀏覽。專為明確...
parallel-findall
parallel-web
發現符合自然語言描述的實體(公司、人物、產品等)。當使用者要求「找出所有X」或「列出每個Y,其…」時使用。
parallel-memory
parallel-web
在可能有幫助時回想過去的 Parallel Task、Monitor 和 FindAll 運行;在被要求時驅逐運行或清除記憶。
parallel-web-search
parallel-web
快速網路搜尋,用於獲取當前資訊、研究及事實查證。可執行單一目標查詢或多關鍵字平行搜尋,回傳最多10筆結果,包含摘要與元資料。支援透過--after-date進行時間敏感篩選,以及使用--include-domains進行特定領域搜尋。輸出結構化JSON,包含標題、網址、發布日期與摘要,便於解析與後續查詢。每個主張需使用Markdown格式內嵌引用來源...
setup
parallel-web
設定 Parallel 插件(安裝 CLI)