query-kegg
Query KEGG for biological pathways and gene info. Use when user asks about metabolic pathways, signaling pathways, pathway genes, or KEGG IDs. Triggers on "kegg", "pathway", "metabolic pathway", "signaling pathway", "pathway genes".
npx skills add BioTender-max/awesome-bio-agent-skills --skill query-kegg --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.
# KEGG Pathway Database Query Query the KEGG REST API for biological pathways, genes, and compounds. ## When to Use - User asks about biological pathways (glycolysis, apoptosis, etc.) - User wants to find which pathways a gene is in - User asks about KEGG pathway IDs - User wants pathway gene lists ## How to Execute ```python import requests BASE_URL = "https://rest.kegg.jp" # 1. Find pathways by keyword def find_pathways(keyword, organism="hsa"): url = f"{BASE_URL}/find/pathway/{keyword}" r = requests.get(url) lines = r.text.strip().split('\n') results = [] for line in lines: if line: parts = line.split('\t') pid = parts[0].replace("map", organism) if organism else parts[0] results.append({"id": pid, "name": parts[1] if len(parts) > 1 else ""}) return results # 2. Get pathway details def get_pathway(pathway_id): url = f"{BASE_URL}/get/{pathway_id}" r = requests.get(url) return r.text # 3. Get genes in a pathway def get_pathway_genes(pathway_id): url = f"{BASE_URL}/link/genes/{pathway_id}" r = requests.get(url) genes = [] for line in r.text.strip().split('\n'): if line: parts = line.split('\t') if len(parts) >= 2: genes.append(parts[1]) return genes # 4. Get gene info def get_gene(
- When to Use
- How to Execute
- API Pattern
- Organism Codes
- Follow-up Suggestions
What does the query-kegg skill do?
Query KEGG for biological pathways and gene info. Use when user asks about metabolic pathways, signaling pathways, pathway genes, or KEGG IDs. Triggers on "kegg", "pathway", "metabolic pathway", "signaling pathway", "pathway genes".
How do I install it?
Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill query-kegg --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 144 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.
