AGENT SKILL

metadata-and-sources

Use PaperQA metadata clients and external paper/trial source helpers safely without local parsing or RAG querying.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
metadata-and-sources
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Use PaperQA metadata clients and external paper/trial source helpers safely without local parsing or RAG querying.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

Metadata and Sources

Use this sub-skill when the task is about PaperQA metadata hydration or external source acquisition, not about parsing local documents or answering over an existing Docs collection.

Route here for

  • Looking up paper metadata with DocMetadataClient from title, doi, authors, and requested fields.
  • Choosing DEFAULT_CLIENTS, ALL_CLIENTS, or a custom ordered provider set for Crossref, Semantic Scholar, OpenAlex, Unpaywall, journal quality, and retraction checks.
  • Understanding how Docs.aadd(..., title=..., doi=..., authors=...) uses metadata hydration and how upgrade_doc_to_doc_details merges metadata back into a Doc.
  • Enabling ClinicalTrials.gov search through PaperQA settings and the clinical_trials_search tool.
  • Using OpenReview or Zotero helpers after the user has authorized network access, downloads, optional extras, and credentials.

Route away from here

  • Local PDF/text/HTML/Office/image parsing, chunking, and parser extras: use the docs-and-parsing sub-skill.
  • Asking questions over loaded papers, Docs.aquery, ask, agent_query, evidence, and answer generation: use the agentic-rag sub-skill.
  • pqa CLI and index build/search workflows: use the cli-and-indexing sub-skill.
  • Model, embedding, prompt, LiteLLM, and settings JSON details outside source-specific tool selection: use the settings-and-configuration sub-skill.

Operating sequence

  1. Identify the source intent: metadata-only hydration, metadata during Docs.aadd, ClinicalTrials.gov search, OpenReview paper discovery, Zotero library ingestion, or third-party paper acquisition advice.
  2. For metadata clients, read metadata-clients.md before composing providers or selecting fields.
  3. For ClinicalTrials.gov, OpenReview, Zotero, and paper-acquisition boundaries, read clinical-trials-and-literature-sources.md.
  4. For failures, read troubleshooting.md before retrying live services.
  5. Prefer the bundled no-network scripts for local inspection and formatting checks:
    • scripts/inspect_metadata_clients.py
    • scripts/mock_clinical_trials_format.py

Safety defaults

  • Do not run live metadata, ClinicalTrials.gov, OpenReview, Zotero, or paper-download calls unless the user explicitly wants network access and accepts provider terms, credentials, and rate-limit implications.
  • Use DEFAULT_CLIENTS or a small custom provider list before ALL_CLIENTS for fast DOI/title hydration.
  • Do not recommend third-party scraping as a default paper acquisition path. Prefer user-supplied PDFs, authorized APIs, institutional access, OpenReview, Zotero, and direct open-access URLs.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351