← Life Sciences DatabasesCONTENT HISTORYWHAT CHANGED · RULE-BASED ANALYSIS
Update to Life Sciences Databases
Snapshot Sep 30, 2026 · 23:01 UTC · version 0.1.5
Collection source: not recorded for this historical snapshot.
First saved snapshot
No earlier snapshot is available to establish a change.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"name": "uniprot-skill",
"description": "Submit compact UniProt REST API requests for UniProtKB, UniRef, UniParc, and FASTA stream endpoints. Use when a user wants concise UniProt summaries; save raw JSON or FASTA only on request.",
"included_files": [
{
"relative_path": "scripts/rest_request.py",
"size_in_bytes": 1097
}
],
"skill_md_contents": "---\nname: uniprot-skill\ndescription: Submit compact UniProt REST API requests for UniProtKB, UniRef, UniParc, and FASTA stream endpoints. Use when a user wants concise UniProt summaries; save raw JSON or FASTA only on request.\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 `uniprot-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 UniProt API calls.\n- Use `base_url=https://rest.uniprot.org`.\n- The script accepts `max_items`; for search endpoints, start with API `size=10` and `max_items=10`.\n- Single accession or cluster lookups usually do not need `max_items`.\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 real request.\n- If the user asks for full JSON or FASTA, 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: `uniprotkb/search`, `uniprotkb/<accession>`, `uniref/<cluster>`, `uniparc/search`, and `uniprotkb/stream`.\n- For `stream`, use `response_format=text` so the script returns only a short `text_head` unless raw output is requested.\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 UniProt patterns:\n - `{\"base_url\":\"https://rest.uniprot.org\",\"path\":\"uniprotkb/search\",\"params\":{\"query\":\"gene:TP53 AND organism_id:9606\",\"fields\":\"accession,gene_names\",\"size\":10,\"format\":\"json\"},\"record_path\":\"results\",\"max_items\":10}`\n - `{\"base_url\":\"https://rest.uniprot.org\",\"path\":\"uniprotkb/P04637\",\"params\":{\"format\":\"json\"}}`\n - `{\"base_url\":\"https://rest.uniprot.org\",\"path\":\"uniprotkb/stream\",\"params\":{\"query\":\"organism_id:562\",\"format\":\"fasta\",\"size\":2},\"response_format\":\"text\"}`\n\n## Output\n- Success returns `ok`, `source`, `path`, `method`, `status_code`, `warnings`, and either compact `records`, a compact `summary`, or `text_head`.\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://rest.uniprot.org\",\"path\":\"uniprotkb/search\",\"params\":{\"query\":\"gene:TP53 AND organism_id:9606\",\"fields\":\"accession,gene_names\",\"size\":10,\"format\":\"json\"},\"record_path\":\"results\",\"max_items\":10}' | python scripts/rest_request.py\n```\n"
}SHA-256: dfaf5ffcf9bd7e5f00af3d479bd8ec38890b24606befcafb5c18e7061a9ed4cf