query-uniprot
Query UniProt protein database. Use when user asks about protein sequences, functions, annotations, domains, or protein identifiers. Triggers on "uniprot", "protein function", "protein sequence", "gene product", "protein info".
npx skills add BioTender-max/awesome-bio-agent-skills --skill query-uniprot --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# UniProt Protein Database Query Query the UniProt REST API for protein information. ## When to Use - User asks about a protein's function, sequence, or annotation - User provides a gene name and wants protein info - User needs protein accession IDs - User asks "what does gene X do" (protein level) ## How to Execute ```python import requests import json BASE_URL = "https://rest.uniprot.org" # 1. Search by gene name (default: human, reviewed/Swiss-Prot) def search_uniprot(gene_name, organism_id=9606, max_results=5): url = f"{BASE_URL}/uniprotkb/search" params = { "query": f"gene_exact:{gene_name} AND organism_id:{organism_id} AND reviewed:true", "format": "json", "size": max_results, "fields": "accession,id,gene_names,protein_name,organism_name,length,cc_function,ft_domain,sequence" } r = requests.get(url, params=params) r.raise_for_status() return r.json() # 2. Get by accession ID def get_uniprot_entry(accession): url = f"{BASE_URL}/uniprotkb/{accession}.json" r = requests.get(url) r.raise_for_status() return r.json() # 3. Get FASTA sequence def get_fasta(accession): url = f"{BASE_URL}/uniprotkb/{accession}.fasta" r = requests.get(url) r.raise_for_status() return r.text # Example u
- When to Use
- How to Execute
- Common Search Patterns
- Output Format
- Follow-up Suggestions
What does the query-uniprot skill do?
Query UniProt protein database. Use when user asks about protein sequences, functions, annotations, domains, or protein identifiers. Triggers on "uniprot", "protein function", "protein sequence", "gene product", "protein info".
How do I install it?
Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill query-uniprot --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
