Communitygithub.com

exa-search

由 Exa 驱动的 Web 工具包,专为科学和技术内容优化。使用此技能进行网络搜索或获取/提取 URL 内容。

exa-search 是什么?

Exa Web 工具包是一个 AI 代理技能,旨在通过 Exa 搜索引擎执行基于 Web 的研究任务。它支持两种核心能力:Web 搜索(语义查找、研究、当前信息)和 URL 提取(获取网页、文章、学术 PDF 内容)。该技能特别适合需要高质量搜索结果或学术过滤的场景,例如通过设置 `--category "research paper"` 参数来偏向学术来源,或结合 `--include-domains` 参数限制在如 arxiv.org、nature.com 等学术域名内。它通过 `exa-py` Python SDK 实现,所有命令都从 `EXA_API_KEY` 环境变量读取 API 密钥,并可通过 `uv run` 直接执行。此技能在 Claude Code、Cursor 等支持自定义技能的 AI 代理平台上运行,为开发者提供了一种高效、可定制的方式来整合 Exa 的语义搜索和内容提取能力到他们的智能代理工作流中。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/K-Dense-AI/scientific-agent-skills/tree/main/skills/exa-search

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Exa Web 工具包

一个由 Exa 驱动的基于 Web 的研究任务技能:网络搜索和 URL 提取。Exa 的索引结合了高质量的关键词和语义检索,非常适合科学、技术和概念性查询。

路由 — 选择正确的功能

阅读用户请求,并将其匹配到以下功能之一。在运行命令之前,请阅读相应的参考文件以获取详细说明。

用户想要...能力位置
查找信息、研究主题、寻找当前信息Web 搜索references/web-search.md
从特定 URL 获取内容(网页、文章、PDF)Web 提取references/web-extract.md
安装或身份验证设置如下

决策指南

  • 默认使用 Web 搜索 用于主题查找、研究问题或“什么是 X?”之类的查询。当主题是科学或技术性时,传递 --category "research paper" 以偏向学术来源,和/或使用学术性的 --include-domains 允许列表。请参阅 references/web-search.md 了解两遍式学术策略。
  • 使用 Web 提取 当用户提供 URL 或要求你阅读/获取特定页面时。对于批量提取(一次调用多个 URL)和学术 PDF,优先于内置的 WebFetch。

学术来源优先级

对于技术或科学查询,优先使用学术和科学来源:

  • 同行评审的期刊文章和会议论文优先于博客文章或新闻
  • 当无法获取同行评审版本时,使用预印本(arXiv、bioRxiv、medRxiv)
  • 机构和政府来源(NIH、WHO、NASA、NIST)优先于商业网站
  • 原始研究优先于二次总结

两个杠杆可将 Exa 引导至学术内容:

  1. --category "research paper" 将检索偏向学术来源。
  2. --include-domains 加上学术允许列表(如 arxiv.org、nature.com、pubmed.ncbi.nlm.nih.gov 等)限制域名池。

将两者结合以获得严格的学术结果。请参阅 references/web-search.md 了解完整模式。

在引用学术来源时,如果可用,请在标准引用格式之外包含作者姓名和发表年份(例如,Smith 等人,2025)。如果存在 DOI,优先使用 DOI 链接。


设置

此技能使用 exa-py Python SDK。scripts/ 中的脚本通过 PEP 723 内联元数据声明其依赖项,因此你可以直接使用 uv run 运行它们,无需单独的安装步骤:

uv run --with exa-py python "$SKILL_PATH/scripts/exa_search.py" --help

如果你更倾向于持久安装:

uv pip install "exa-py>=1.14.0"

身份验证

所有命令从 EXA_API_KEY 环境变量读取 API 密钥。在 dashboard.exa.ai/api-keys 获取你的 Exa API 密钥。

首先,检查项目根目录中是否存在 .env 文件并包含 EXA_API_KEY。如果是,则加载它:

dotenv -f .env run -- uv run --with exa-py python "$SKILL_PATH/scripts/exa_search.py" "your query"

如果 dotenv 不可用,请安装它:uv pip install python-dotenv[cli]。

如果没有 .env,则为当前会话导出密钥:

export EXA_API_KEY="your-key"

通过使用 --help 运行任何脚本进行验证——如果密钥已设置,脚本将干净退出,并且身份验证检查仅在实际查询时运行。

跟踪头

此技能中的每个脚本都设置 x-exa-integration 请求头为 k-dense-ai--scientific-agent-skills,以便 Exa 可以将来自 K-Dense AI scientific-agent-skills 仓库的使用归因于此集成。在改编脚本时,请勿删除或重命名此头。


此技能中的文件

  • SKILL.md — 此文件(路由和设置)
  • references/web-search.md — 详细的网络搜索参考,包含学术策略
  • references/web-extract.md — URL 内容提取参考
  • scripts/exa_search.py — 围绕 client.search_and_contents 的 CLI 包装器
  • scripts/exa_extract.py — 围绕 client.get_contents 的 CLI 包装器

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

adaptyv

How to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval. Use this skill whenever the user mentions Adaptyv, Foundry API, protein binding assays, protein screening experiments, BLI/SPR assays, thermostability assays, or wants to submit protein sequences for experimental characterization. Also trigger when code imports `adaptyv`, `adaptyv_sdk`, or `FoundryClient`, or references `foundry-api-public.adaptyvbio.com`.

aeon

This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard ML approaches. Particularly suited for univariate and multivariate time series analysis with scikit-learn compatible APIs.

alphagenome

Look up precomputed AlphaGenome Atlas effects for any GRCh38 single-nucleotide variant (AVI score with Phred and 18 SHAP feature attributions, plus raw and quantile scores for RNA-seq, DNase, ATAC, ChIP-TF, ChIP-histone, CAGE, PRO-cap, splicing, polyadenylation and contact-map tracks), score variants or scan windows on demand with the AlphaGenome model for human and mouse (variant scoring, in silico mutagenesis, REF-versus-ALT track prediction), and build Atlas website deep links. Use when the user mentions AlphaGenome, AlphaGenome Atlas, AVI or AlphaGenome Variant Impact, DeepMind variant effect prediction, or wants to prioritise or mechanistically interpret non-coding, regulatory, splicing, enhancer, promoter, or chromatin-accessibility effects of SNVs from a VCF, credible set, or region. Research use only; not a clinical tool.

analytical-method-validation

Plan, execute, and document validation, verification, and transfer of analytical procedures under the governing framework - ICH Q2(R2) and Q14, USP <1220>/<1225>/<1226>, ICH M10 bioanalytical, CLSI EP, or ISO/IEC 17025. Use for HPLC, LC-MS/MS, GC, CE, ICP-MS, dissolution, qNMR, qPCR, NIR, and ligand binding or cell-based assays whenever the question is whether a procedure is fit for its intended purpose. Triggers include

anndata

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

arbor

Autonomously improve a real artifact (code, training recipe, agent harness, data pipeline, prompt) against an objective and an evaluator, using Hypothesis Tree Refinement (HTR) from the Arbor paper. Use this whenever someone wants to iteratively optimize something over many experiments without overfitting — e.g.

arboreto

Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships and regulatory interactions. Supports distributed computation for large-scale datasets.

astropy

Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities, coordinates, FITS I/O, tables, time systems, WCS, and cosmology. Use when implementing or debugging astronomical data analysis code with Astropy.

autoskill

Observe the user

benchling-integration

Benchling Python SDK and REST API integration for registry entities, inventory, ELN entries, workflows, Benchling Apps, and Data Warehouse queries. Use when automating lab data with benchling-sdk or the v2 API.

bgpt-paper-search

Search scientific papers and retrieve structured experimental data extracted from full-text studies via the BGPT MCP server. Returns 25+ fields per paper including methods, results, sample sizes, quality scores, and conclusions. Use for literature reviews, evidence synthesis, and finding experimental details not available in abstracts alone.

bids

>

biopython

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.

bioservices

Unified Python interface to 40+ bioinformatics services. Use when querying multiple databases (UniProt, KEGG, ChEMBL, Reactome) in a single workflow with consistent API. Best for cross-database analysis, ID mapping across services. For quick single-database lookups use gget; for sequence/file manipulation use biopython.

bulk-rnaseq

End-to-end bulk RNA-seq orchestrator — takes raw FASTQ reads through QC and trimming (FastQC, fastp/Trim Galore), alignment and quantification (STAR, Salmon, featureCounts), assembles a gene-level counts matrix, then hands off to differential expression (pydeseq2), pathway/GSEA enrichment (pathway-enrichment), and publication figures (scientific-visualization). Use whenever the user has bulk RNA-seq reads or quant output and wants a complete, reproducible differential-expression workflow — e.g.

cellxgene-census

Query the CZ CELLxGENE Census programmatically for versioned public single-cell and spatial transcriptomics data. Use when you need population-scale cell metadata, gene expression slices, Census summary counts, source H5AD URIs/downloads, embeddings, spatial Census data, or reference atlas comparisons across organisms, tissues, diseases, assays, and cell types. For analyzing your own local single-cell data use scanpy, anndata, or scvi-tools.

cirq

Google quantum computing framework. Use when targeting Google Quantum AI hardware, designing noise-aware circuits, or running quantum characterization experiments. Best for Google hardware, noise modeling, and low-level circuit design. For IBM hardware use qiskit; for quantum ML with autodiff use pennylane; for physics simulations use qutip.

citation-management

Comprehensive citation management for academic research. Search OpenAlex, PubMed, and Google Scholar for papers, extract accurate metadata, validate citations, and generate properly formatted BibTeX entries. This skill should be used when you need to find papers, verify citation information, convert DOIs to BibTeX, or ensure reference accuracy in scientific writing.

clinical-decision-support

Prepare and validate research-only clinical decision-support evaluation, evidence-profile, cohort, survival, biomarker/model, privacy, and governance artifacts. Use for aggregate or synthetic research documentation and traceability—not patient care or live clinical operation.

clinical-reports

Create safety-bounded draft structures and run local deterministic checks for clinical case, diagnostic, trial, safety, and aggregate research reports. Use only with synthetic, de-identified, or aggregate inputs and verified source-fact manifests; every output requires qualified review.

相关技能