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
- 参考文档references/clinical-trials-and-literature-sources.md7.7 KB
- 参考文档references/metadata-clients.md9.6 KB
- 参考文档references/troubleshooting.md8.0 KB
- 脚本scripts/inspect_metadata_clients.py5.8 KB
- 脚本scripts/mock_clinical_trials_format.py7.7 KB
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
DocMetadataClientfromtitle,doi,authors, and requestedfields. - 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 howupgrade_doc_to_doc_detailsmerges metadata back into aDoc. - Enabling ClinicalTrials.gov search through PaperQA settings and the
clinical_trials_searchtool. - 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-parsingsub-skill. - Asking questions over loaded papers,
Docs.aquery,ask,agent_query, evidence, and answer generation: use theagentic-ragsub-skill. pqaCLI and index build/search workflows: use thecli-and-indexingsub-skill.- Model, embedding, prompt, LiteLLM, and settings JSON details outside source-specific tool selection: use the
settings-and-configurationsub-skill.
Operating sequence
- 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. - For metadata clients, read metadata-clients.md before composing providers or selecting
fields. - For ClinicalTrials.gov, OpenReview, Zotero, and paper-acquisition boundaries, read clinical-trials-and-literature-sources.md.
- For failures, read troubleshooting.md before retrying live services.
- Prefer the bundled no-network scripts for local inspection and formatting checks:
scripts/inspect_metadata_clients.pyscripts/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_CLIENTSor a small custom provider list beforeALL_CLIENTSfor 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
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.
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.
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.
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.
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.
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).