tavily-extract

Extract clean markdown or text content from URLs via the Tavily CLI.

Updated Jul 16, 2026
One-click install
npx skills add https://github.com/flemx/salesforce-langgraph-agent --skill tavily-extract-flemx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tavily-extract
Source: https://github.com/flemx/salesforce-langgraph-agent/tree/main/.agents/skills/tavily-extract
Command: npx skills add https://github.com/flemx/salesforce-langgraph-agent --skill tavily-extract-flemx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Retrieving readable content from web pages often means dealing with raw HTML, JavaScript-rendered pages, and cluttered markup. This Skill converts one or more URLs into clean, LLM-optimized markdown or text without manual scraping code. ## Core Features & Use Cases - URL Content Extraction: Pull clean markdown or text from up to 20 URLs in a single call, with basic or advanced extraction depth for JavaScript-heavy pages. - Query-Focused Chunking: Use --query and --chunks-per-source to return only the chunks relevant to a specific topic instead of full pages. - Flexible Output: Save results directly to a file with -o or get structured JSON output for downstream processing. - Use Case: You have five documentation URLs and only need the sections about authentication. Run a query-focused extraction to get just the relevant chunks as markdown. ## Quick Start Ask the agent to extract the content of a specific URL as markdown, optionally narrowing results with a query such as "extract the authentication sections from this docs page".

Frequently Asked Questions about tavily-extract

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

FAQPage Schema
How do I extract text content from a URL?

Run tvly extract followed by the URL, for example tvly extract "https://example.com/article" --json. The command returns clean markdown by default, or plain text with the --format text option.

How do I extract content from JavaScript-rendered pages?

Use the --extract-depth advanced option to handle JS-rendered SPAs and dynamic content. Try the default basic depth first since it is faster, and fall back to advanced only if content is missing.

Can I extract content from multiple URLs at once?

Yes, pass multiple URLs to a single tvly extract call, up to a maximum of 20 URLs per request. For larger lists, batch the URLs into multiple calls.

How do I get only relevant sections from a web page?

Use --query with your topic and --chunks-per-source (1-5) to rerank and return only the chunks relevant to your query instead of the full page content.

What if the tvly command is not found?

Install the Tavily CLI first with curl -fsSL https://cli.tavily.com/install.sh | bash, then run tvly login to authenticate before using any extract commands.