{"id":24689,"plugin_id":"plugins~Plugin_7113e6f705948191bad2d24c30465361","kind":"skill","collection_source":null,"comparison_source":null,"observed_at":"2026-09-30T23:18:35.246Z","digest":"162070040d9bbd8701d6c8ce4e0744cbf742984583da28690820df655a706a5f","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":"agents/openai.yaml","size_in_bytes":115},{"relative_path":"scripts/rest_request.py","size_in_bytes":10728}],"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## 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\n## References\n- No additional runtime references are required; keep the import package limited to this file and `scripts/rest_request.py`.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}