{"id":24748,"plugin_id":"plugins~Plugin_7113e6f705948191bad2d24c30465361","kind":"skill","collection_source":null,"comparison_source":null,"observed_at":"2026-09-30T23:18:36.493Z","digest":"7900546e5563f154efff490f2073af6329eb3343fdb1c1806808d4c43b1c7f1d","against":null,"payload":{"name":"ncbi-pmc-skill","description":"Submit compact NCBI PMC Open Access requests for article/file availability metadata. Use when a user wants concise PMC Open Access summaries; save raw XML only on request.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":93},{"relative_path":"scripts/ncbi_pmc.py","size_in_bytes":8755}],"skill_md_contents":"---\nname: ncbi-pmc-skill\ndescription: Submit compact NCBI PMC Open Access requests for article/file availability metadata. Use when a user wants concise PMC Open Access summaries; save raw XML only on request.\n---\n\n## Operating rules\n- Use `scripts/ncbi_pmc.py` for all PMC Open Access calls in this package.\n- This skill is intentionally narrow: it currently covers the PMC Open Access service rather than the full PMC API surface.\n- Pass endpoint-specific query parameters under `params`, typically `id` for a PMCID or DOI-style lookup supported by the OA service.\n- Re-run requests in long conversations instead of relying on older tool output.\n- Treat displayed `...` in tool previews as UI truncation, not literal request content.\n\n## Execution behavior\n- Return concise markdown summaries from the script output by default.\n- Return raw XML only if the user explicitly asks for machine-readable output.\n- Prefer targeted endpoint calls instead of broad unfiltered dumps.\n- If the user needs the full raw response, set `save_raw=true` and report the saved file path.\n\n## Input\n- Read one JSON object from stdin.\n- Optional fields: `params`, `record_path`, `max_items`, `max_depth`, `timeout_sec`, `save_raw`, `raw_output_path`\n- Common PMC Open Access patterns:\n  - `{\"params\":{\"id\":\"PMC3257301\"},\"max_items\":10}`\n  - `{\"params\":{\"id\":\"10.1093/nar/gkr1184\"},\"max_items\":10}`\n\n## Output\n- Success returns `ok`, `source`, and 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 '{\"params\":{\"id\":\"PMC3257301\"},\"max_items\":10}' | python scripts/ncbi_pmc.py\n```\n\n## References\n- No additional runtime references are required; keep the import package limited to this file and `scripts/ncbi_pmc.py`.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}