Files
scientific-agent-skills/scientific-skills/parallel-web/references/web-extract.md
T
Timothy Kassis cd54077cae refactor: update output file formats in parallel-web references to JSON
Changed output file extensions from .csv to .json in data enrichment, web extract, and web search documentation for consistency and improved data handling. Updated related command examples to reflect these changes.
2026-04-13 15:46:50 -07:00

1.6 KiB

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.

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

Options if needed:

  • --objective "focus area" to focus on specific content

Academic content handling

When extracting from academic sources (arXiv, PubMed, journal sites, conference proceedings), use --objective to focus on the most valuable sections:

parallel-cli extract "$URL" --json --objective "extract abstract, methodology, key findings, and conclusions" -o "$FILENAME.json"

For arXiv papers, prefer the /abs/ URL (which has structured metadata) over the raw PDF URL when available. If the user provides a PDF link, extract it directly — parallel-cli handles PDFs.

Response format

Return content as:

Page Title

For academic papers, include structured metadata when available:

  • Authors: list of authors
  • Published: date and venue/journal
  • DOI: if available
  • Abstract: the paper's abstract

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
  • For academic papers, preserve figure/table captions and references

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