Agent Skills
› openai/plugins
› biorxiv-skill
biorxiv-skill
GitHub用于向bioRxiv和medRxiv API提交紧凑请求,获取预印本元数据、DOI查询及出版链接。支持按日期或DOI检索,默认返回简洁Markdown摘要,也可按需保存原始JSON数据,适用于快速查阅文献详情。
Trigger Scenarios
用户需要查询特定生物医学预印本的详细信息
用户希望通过DOI查找论文元数据
用户需要获取某段时间内的预印本列表摘要
Install
npx skills add openai/plugins --skill biorxiv-skill -g -y
SKILL.md
Frontmatter
{
"name": "biorxiv-skill",
"description": "Submit compact bioRxiv and medRxiv API requests for details, publication-linkage, and DOI lookups. Use when a user wants concise preprint metadata summaries"
}
Operating rules
- Use
scripts/rest_request.pyfor all bioRxiv and medRxiv API calls. - Use
base_url=https://api.biorxiv.org. - The script accepts
max_items; fordetailsandpubspages, start aroundmax_items=10. - Prefer one cursor page at a time instead of increasing page size or pasting long collections into chat.
- Re-run requests in long conversations instead of relying on older tool output.
- Treat displayed
...in tool previews as UI truncation, not part of the true request.
Execution behavior
- Return concise markdown summaries from the script JSON by default.
- Return the raw script JSON only if the user explicitly asks for machine-readable output.
- Prefer these paths:
details/<server>/<start>/<end>/<cursor>/json,details/<server>/<doi>/na/json,pubs/<server>/<start>/<end>/<cursor>, andpubs/<server>/<doi>/na/json. - If the user needs full page contents, set
save_raw=trueand report the saved file path rather than pasting large collections into chat.
Input
- Read one JSON object from stdin.
- Required fields:
base_url,path - Optional fields:
method,params,headers,json_body,form_body,record_path,response_format,max_items,max_depth,timeout_sec,save_raw,raw_output_path - Common biorxiv patterns:
{"base_url":"https://api.biorxiv.org","path":"details/biorxiv/2025-03-21/2025-03-28/0/json","record_path":"collection","max_items":10}{"base_url":"https://api.biorxiv.org","path":"details/medrxiv/10.1101/2020.09.09.20191205/na/json","record_path":"collection","max_items":10}{"base_url":"https://api.biorxiv.org","path":"pubs/medrxiv/2020-03-01/2020-03-30/0","record_path":"collection","max_items":10}
Output
- Success returns
ok,source,path,method,status_code,warnings, and either compactrecordsor a compactsummary. - Use
raw_output_pathwhensave_raw=true. - Failure returns
ok=falsewitherror.codeanderror.message.
Execution
echo '{"base_url":"https://api.biorxiv.org","path":"details/biorxiv/2025-03-21/2025-03-28/0/json","record_path":"collection","max_items":10}' | python scripts/rest_request.py
References
- No additional runtime references are required; keep the import package limited to this file and
scripts/rest_request.py.
Version History
- 11c74d6 Current 2026-07-19 09:37


