One-click install
npx skills add https://github.com/PrimeIntellect-ai/research-environments --skill open-webpage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: open_webpage
Source: https://github.com/PrimeIntellect-ai/research-environments/tree/main/environments/rlm_deepdive/rlm_deepdive/skills/open_webpage
Command: npx skills add https://github.com/PrimeIntellect-ai/research-environments --skill open-webpage

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx, pdfminer-six, rlm.

What problem does it solve?

It removes the manual effort of copying, reading, and reformatting content by automatically fetching a URL and extracting the complete readable text from both HTML pages and PDFs.

Core Features & Use Cases

  • Webpage HTML parsing: Downloads an HTML document, strips non-content elements (like scripts/styles), and converts the page into cleaned, readable text.
  • PDF text extraction: Detects PDFs by content-type and file/headers heuristics, then extracts full text from the PDF bytes.
  • No truncation and clean output: Returns the entire parsed page text, with basic whitespace and formatting cleanup.
  • Use Case: You need the full content of a documentation page (or a linked PDF spec) for summarization or analysis, but you want it reliably converted into plain text.

Quick Start

Use the open_webpage skill to fetch and parse the URL https://example.com and return the full parsed text.

Frequently Asked Questions about open_webpage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract full text from a webpage URL for research ingestion?

To extract full text from a webpage URL for research ingestion, fetch the HTML document via HTTP with redirect support, strip non-content elements like scripts and styles, and convert the remaining page into cleaned plain text.

Can I extract text from PDF documents using a URL link?

Yes, you can extract text from PDF documents using a URL link. The system detects PDFs via content-type and file header heuristics, fetches the PDF bytes, and extracts the complete readable text without truncation.

Does this HTML parsing approach return truncated content for downstream summarization?

No, this HTML parsing approach does not return truncated content for downstream summarization. It returns the entire parsed page text, applying only basic whitespace and formatting cleanup to ensure the complete document is available.

What is the best way to automate fetching and cleaning web content for analysis?

The best way to automate fetching and cleaning web content for analysis is to use an automated information-retrieval workflow that handles HTTP retrieval, content-type detection, and HTML-to-text extraction, returning plain strings ready for processing.

How does PDF text extraction handle errors during URL fetching?

During URL fetching and PDF text extraction, the system returns error responses as plain strings. This ensures that any retrieval or parsing failures are captured as readable text outputs rather than breaking the automated workflow.

Do I need httpx to fetch and parse webpages into plain text?

Yes, you need httpx to fetch and parse webpages into plain text. The HTTP retrieval component requires httpx for URL fetching with redirect support, while pdfminer-six handles the PDF-to-text extraction logic.