{"id":12148,"plugin_id":"Plugin_054ff933a434819187c4f95db80afc7f","kind":"skill","collection_source":null,"comparison_source":null,"observed_at":"2026-09-30T23:00:59.568Z","digest":"9a915f47682901490417721fc864cde6f3b250f798ea439a3752f7dfde6a493a","against":null,"payload":{"name":"alphafold-skill","description":"Submit compact AlphaFold Protein Structure Database API requests for prediction, UniProt summary, sequence summary, and annotation lookups. Use when a user wants AlphaFold metadata or concise structure summaries","included_files":[{"relative_path":"scripts/rest_request.py","size_in_bytes":1097}],"skill_md_contents":"---\nname: alphafold-skill\ndescription: Submit compact AlphaFold Protein Structure Database API requests for prediction, UniProt summary, sequence summary, and annotation lookups. Use when a user wants AlphaFold metadata or concise structure 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 `alphafold-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 AlphaFold API calls.\n- Use `base_url=https://alphafold.ebi.ac.uk/api`.\n- The script accepts `max_items`, but set it explicitly only when trimming array-heavy responses; single-entry lookups usually do not need it.\n- For `sequence/summary` or `annotations`, start around `max_items=3` to `5`.\n- Re-run the request if the conversation is long instead of trusting older tool output.\n- Treat displayed `...` in tool previews as UI truncation, not part of the real request.\n- If the user asks for full JSON, set `save_raw=true` and report the saved file path instead of pasting the payload into chat.\n\n## Execution behavior\n- Return concise markdown summaries from the script JSON by default.\n- Return the script JSON verbatim only if the user explicitly asks for machine-readable output.\n- Prefer these paths: `prediction/<qualifier>`, `uniprot/summary/<qualifier>.json`, `sequence/summary`, and `annotations/<qualifier>.json`.\n- Keep sequence-style inputs compact and prefer rerunning instead of copying prior output back into context.\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 AlphaFold patterns:\n  - `{\"base_url\":\"https://alphafold.ebi.ac.uk/api\",\"path\":\"prediction/Q5VSL9\"}`\n  - `{\"base_url\":\"https://alphafold.ebi.ac.uk/api\",\"path\":\"uniprot/summary/Q5VSL9.json\"}`\n  - `{\"base_url\":\"https://alphafold.ebi.ac.uk/api\",\"path\":\"annotations/Q5VSL9.json\",\"params\":{\"type\":\"MUTAGEN\"},\"max_items\":3}`\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` such as `invalid_json`, `invalid_input`, `network_error`, or `invalid_response`.\n\n## Execution\n```bash\necho '{\"base_url\":\"https://alphafold.ebi.ac.uk/api\",\"path\":\"prediction/Q5VSL9\"}' | python scripts/rest_request.py\n```\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}