/hedge-fund-web-toolkit:filings-media-pdfsfrom hedge-fund-web-toolkit
Retrieves and parses PDFs, decks, spreadsheets, and media for investment research using Nimble Extract and Media APIs. Converts filings to markdown, extracts tables, archives copies, and downloads images/audio/video.
Ships in hedge-fund-web-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Two Nimble capabilities do this work:
| Capability | Endpoint | Returns | Use it to |
|---|---|---|---|
| Extract + file parsing | POST https://sdk.nimbleway.com/v2/extract with file_parsing_options | The document as markdown in data.markdown | Read a PDF, DOCX, XLSX/XLS/ODS/CSV or PPTX/PPT/ODP: summarize it, quote it, pull tables, diff it against a prior version |
| Media Download | POST https://sdk.nimbleway.com/v2/media (realtime) or /v2/media/async (to your bucket) | The raw file (binary), validated against the MIME types you expect | Keep the original file: archive a point-in-time copy, download images, audio or video, or hand a file to another tool |
Rule of thumb: if the next step is reading, parse with Extract. If the next step needs the file itself, download with Media.
Both run through the REST API, the SDKs (nimble_python, @nimble-way/nimble-js, nimble-go) or the nimble CLI with NIMBLE_API_KEY set. The Nimble MCP server does not expose Media or file-parsing options, so when you only have MCP, use nimble_extract for HTML pages and tell the user the CLI or API is needed for parsing documents and downloading media. Never print the API key; let the shell expand $NIMBLE_API_KEY.
nimble_extract or /v2/extract without parsing options) and save parsing for exhibits and documents that only exist as PDFs.focus: "general" plus content_type: ["pdf"] (or "presentations", "spreadsheets", "documents"), include_domains: [<company IR domain>], and a date window. Example query: "<Company>" investor presentation 2026.Q3-2026-Earnings-Deck-vF2.pdf get replaced silently; record the URL and the date you fetched it.curl -s -X POST https://sdk.nimbleway.com/v2/extract \
-H "Authorization: Bearer $NIMBLE_API_KEY" -H "Content-Type: application/json" \
-d '{
"url": "https://investors.example.com/static-files/q3-2026-deck.pdf",
"formats": ["markdown"],
"file_parsing_options": {"mode": "light", "max_pages": 80}
}' | jq -r '.data.markdown' > q3-2026-deck.md
Python (plain HTTP, works with any SDK version):
import os, requests
r = requests.post("https://sdk.nimbleway.com/v2/extract",
headers={"Authorization": f"Bearer {os.environ['NIMBLE_API_KEY']}"},
json={"url": url, "formats": ["markdown"],
"file_parsing_options": {"mode": "pro", "max_pages": 150}},
timeout=300)
r.raise_for_status()
doc = r.json()
markdown, warnings = doc["data"].get("markdown", ""), doc.get("warnings", [])
Choose the mode
| Mode | Best for | Notes |
|---|---|---|
light (default) | Text-native PDFs with simple layouts: releases, letters, most agreements and prospectuses | Fast and cheapest. No OCR. Tables can come back flat |
pro | Financial tables (income statements, debt schedules, capitalization tables), scanned or image-only PDFs, court filings that are scans | LLM-based parsing with OCR fallback. About $7.50 per 1,000 pages, on top of the base Extract price |
Start with light for text. Switch to pro when tables come back flattened or pages come back empty. Test one document before a large batch.
Parameters that matter
formats: ["markdown"]: returns only the parsed text. Without it, the original file also comes back base64-encoded in data.html, which bloats the response.max_pages: a guard against surprise 600-page filings. A PDF over the limit is rejected before parsing (400 file exceeds limit), with no parsing charge. It does not truncate: raise the limit, omit it, or find a shorter document (the exhibit instead of the whole filing). Only PDFs are page-checked.200 with a warning and is not billed; check warnings and an empty data.markdown before trusting the result..csv extension or text/csv content type.country routes the fetch through a region when an IR site is geo-restricted.What parsing cannot do well: charts, diagrams and heavily designed slides. For a deck whose numbers live in charts, check the matching earnings release or financial supplement (often XLSX, which parses cleanly) instead of reading values off the chart.
Item 1A. Risk Factors, Item 7, Note 9 — Debt) and read only the sections the question needs. Do not paste a whole 10-K into context.hf-filing-changes agent in company-deep-research does this end to end.Realtime (raw bytes back in the response):
curl -s -X POST https://sdk.nimbleway.com/v2/media \
-H "Authorization: Bearer $NIMBLE_API_KEY" -H "Content-Type: application/json" \
-d '{"url": "https://investors.example.com/q3-2026-deck.pdf",
"expected_mime_types": ["application/pdf"]}' \
-D headers.txt --output 2026-11-11_EXMP_q3-2026-deck.pdf
The body is the file itself, not JSON. Read the actual type from the Content-Type response header. In the SDKs, read the raw response (nimble.media.with_raw_response.run(...) in Python, .asResponse() in TypeScript). The CLI prints structured output only, so use curl or an SDK for downloads.
Async (file delivered to your bucket):
curl -s -X POST https://sdk.nimbleway.com/v2/media/async \
-H "Authorization: Bearer $NIMBLE_API_KEY" -H "Content-Type: application/json" \
-d '{"url": "https://example.com/webcast-replay.mp4",
"expected_mime_types": ["video/mp4"],
"storage": {"url": "s3://research-archive/exmp/2026-q3/", "type": "s3",
"object_name": "exmp_2026q3_webcast_20261111"}}'
It returns a task.id at once; poll GET /v2/tasks/{task_id} until state is success (or failed). The file lands at storage.url + object_name + its original extension. Bucket permissions must be granted to Nimble first (see the Callbacks & Delivery guide in the Nimble docs). Use async for large files, video, and anything going straight into a data lake.
Parameters
expected_mime_types: always set it. The request fails if the server returns something else, which catches the common case of an HTML error or login page served in place of the file. Wildcards work: ["image/*"], ["application/pdf"], ["audio/*", "video/mp4"], ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"].country / locale: fetch as if from a region, for geo-restricted IR sites or regional product images.storage.object_name must be unique. A repeated name overwrites the earlier file. Build names from ticker, document type and date, for example EXMP_10-K_2026-02-14.Investment uses for Media
.m3u8) and players behind registration forms are not direct files; record the page URL instead and do not get past registration.For tens to hundreds of documents (every 10-K exhibit for a coverage list, every deck from a conference):
dataset_building mode for "find every investor deck from these 40 companies since 2025").max_pages, and write each result to disk named <ticker>_<doctype>_<date>.md. Keep a ledger (URL, status, pages, warnings) and retry failures once with pro./v2/media/async into the bucket, one unique object_name per file.NIMBLE_API_KEY.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nimbleway/web-toolkits --plugin hedge-fund-web-toolkit5 skills in this plugin
/alt-data-at-scaleCollect large alternative datasets from the web for hedge fund research with Nimble Extract Templates, using batch runs, async delivery, scheduled Extract Jobs, and template generation for unsupported sites. Use for consumer and product data at volume, such as SKU prices and promotions, in-stock rates, bestseller ranks, product reviews and ratings, restaurant menus and delivery listings, job postings, store locations, app and social metrics, travel and ticket pricing, real estate listings, and AI-answer visibility, tracked over time and mapped to tickers. Do NOT use for a one-off lookup (use company-fast-search) or a cited research brief (use company-deep-research)./company-deep-researchDeep, cited research on a company for hedge fund and investment teams, run by Nimble Web Search Agents. Use when a question needs many sources or a structured, sourced output, such as a fundamental deep dive, catalyst calendar, filing-change diff, forensic red-flag screen, management track record, channel check, customer and supplier map, competitor momentum, government contracts, merger deal terms, deal approval tracking, borrower credit file or credit early warning. Also use when the request fits none of those: the skill shows how to create and run a custom Web Search Agent. Do NOT use for a single fact or one known URL (use company-fast-search), for downloading or parsing filings and decks (use filings-media-pdfs), or for bulk retailer, review, job or social data (use alt-data-at-scale).3 plugins ship this exact skill · first indexed Nov 12, 2026
Other plugins' skills for the same job