{"id":11606,"plugin_id":"Plugin_3d180245a1a881918476af7b5061e1e4","kind":"skill","collection_source":null,"comparison_source":null,"observed_at":"2026-09-30T22:59:51.729Z","digest":"58191bed438c8e0484beab832e95fb39424b614ff4a0edbcd38319d160185764","against":null,"payload":{"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","included_files":[{"relative_path":"scripts/rest_request.py","size_in_bytes":13811}],"skill_md_contents":"---\nname: biorxiv-skill\ndescription: Submit compact bioRxiv and medRxiv API requests for details, publication-linkage, and DOI lookups. Use when a user wants concise preprint metadata summaries\n---\n\n## Source presentation\n<!-- source-presentation-contract:v2 -->\n- Add claim-adjacent links only for substantive claims supported by returned `sources`; never cite empty, metadata-only, or failed lookups.\n- Preserve `checked_sources`, use only supported `canonical_url` mappings, and leave requested raw or machine-readable output unchanged.\n- Use the `biorxiv-skill` entry in `../../references/source-links.json` and follow `../../references/source-presentation.md`.\n\n## Operating rules\n- Use `scripts/rest_request.py` for all bioRxiv and medRxiv API calls.\n- Use `base_url=https://api.biorxiv.org`.\n- The script accepts `max_items`; for `details` and `pubs` pages, start around `max_items=10`.\n- Prefer one cursor page at a time instead of increasing page size or pasting long collections into chat.\n- Re-run requests in long conversations instead of relying on older tool output.\n- Treat displayed `...` in tool previews as UI truncation, not part of the true request.\n\n## Execution behavior\n- Return concise markdown summaries from the script JSON by default.\n- Return the raw script JSON only if the user explicitly asks for machine-readable output.\n- Prefer these paths: `details/<server>/<start>/<end>/<cursor>/json`, `details/<server>/<doi>/na/json`, `pubs/<server>/<start>/<end>/<cursor>`, and `pubs/<server>/<doi>/na/json`.\n- If the user needs full page contents, set `save_raw=true` and report the saved file path rather than pasting large collections into chat.\n\n## Input\n- Read one JSON object from stdin.\n- Required fields: `base_url`, `path`\n- Optional fields: `method`, `params`, `headers`, `json_body`, `form_body`, `record_path`, `response_format`, `max_items`, `max_depth`, `timeout_sec`, `save_raw`, `raw_output_path`\n- Common biorxiv patterns:\n  - `{\"base_url\":\"https://api.biorxiv.org\",\"path\":\"details/biorxiv/2025-03-21/2025-03-28/0/json\",\"record_path\":\"collection\",\"max_items\":10}`\n  - `{\"base_url\":\"https://api.biorxiv.org\",\"path\":\"details/medrxiv/10.1101/2020.09.09.20191205/na/json\",\"record_path\":\"collection\",\"max_items\":10}`\n  - `{\"base_url\":\"https://api.biorxiv.org\",\"path\":\"pubs/medrxiv/2020-03-01/2020-03-30/0\",\"record_path\":\"collection\",\"max_items\":10}`\n\n## Output\n- Success returns `ok`, `source`, `path`, `method`, `status_code`, `warnings`, and either compact `records` or a compact `summary`.\n- Use `raw_output_path` when `save_raw=true`.\n- Failure returns `ok=false` with `error.code` and `error.message`.\n\n## Execution\n```bash\necho '{\"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\n```\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}