K-Dense-AI/scientific-agent-skills / skills/exa-search
exa-search
VerifiedSearches scientific and technical web content with Exa and extracts page or PDF text from URLs in batches. Supports scholarly discovery with the publication category and academic domain filters. Applies to requests to search the web, look up current research, fetch a page, or extract an article using Exa.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 6.2 KB |
| references/web-extract.md | markdown | 3.4 KB |
| references/web-search.md | markdown | 6.5 KB |
| scripts/exa_extract.py | script | 4.4 KB |
| scripts/exa_search.py | script | 6.4 KB |
references/web-extract.md
View on GitHub# URL Extraction
Extract content from: $ARGUMENTS
## Command
Choose a short, descriptive filename based on the URL or content (e.g., `alphafold-paper`, `nature-editorial`). Use lowercase with hyphens, no spaces.
```bash
uv run "$SKILL_PATH/scripts/exa_extract.py" "$ARGUMENTS" \
--text \
-o "$FILENAME.json"
```
You can pass up to 100 URLs as positional arguments in one `/contents` call. Split larger lists into separate invocations; the wrapper rejects oversized batches.
Content modes:
- `--text` (default if nothing else is passed) returns full-text content
- `--highlights` returns extracted passages instead of full text
## Academic content handling
When extracting from academic sources (arXiv, PubMed, journal sites, conference proceedings), use `--text` to request the page text:
```bash
uv run "$SKILL_PATH/scripts/exa_extract.py" "$URL" \
--text \
-o "$FILENAME.json"
```
For arXiv, `/abs/` is an abstract/metadata page; it is not proof that the full
paper was extracted. Use a public HTML or PDF URL when full paper content is
needed, and inspect for missing methods, results, equations, figures, tables,
and references. Extraction may be partial, unavailable, or blocked by access
controls. Do not present an abstract or truncated extraction as the full paper.
### Freshness and returned status
Add `--max-age-hours 0` for a fresh fetch, `-1` for cache only, or an integer
1–720 to bound cache age. Omit it to let Exa use cached content and fetch when
unavailable. This maps to SDK `max_age_hours` / JSON `maxAgeHours`; the older
`livecrawl` control is deprecated.
Output contains `urls`, `num_results`, `results`, and `statuses`. Each SDK status
contains `id` (requested URL or document ID), `status` (`success` or `error`),
and optional `source` (`cached` or `crawled`). Associate statuses by ID, not array
position, and check that successful results contain usable text/highlights.
SDK 2.23.0 discards API `statuses[].error` and `requestId`; these are unavailable
in this wrapper. Do not guess whether an error was a paywall, timeout, or another
cause. Publication date is not crawl/retrieval time.
## Response format
Return content as:
**[Page Title](URL)**
For academic papers, include structured metadata when available:
- **Authors:** list of authors (from the `author` field)
- **Published:** from `published_date`
Then the extracted content, with these rules:
- Follow the requested extraction scope; quote only content that can be reproduced lawfully, otherwise summarize and link to the saved extraction
- When extracting a requested list, preserve its ordering and note any missing items
- Strip only obvious noise: nav menus, footers, ads
- Preserve the meaning and exact values of facts, names, numbers, and dates
- For academic papers, retain relevant figure/table captions and references when present; report omissions
**Partial-result handling** — when batching multiple URLs, one or more may fail (paywall, robots.txt, timeout). Report which URLs extracted successfully and which failed, rather than silently dropping failures.
After the response, mention the output file path (`$FILENAME.json`) so the user knows it's available for follow-up questions.
Verified against the [Contents API](https://exa.ai/docs/reference/get-contents) and [Python SDK source](https://github.com/exa-labs/exa-py/blob/master/exa_py/api.py) on 2026-09-30; authenticated commands are illustrative.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |