Agent skill

Foldseek Structural Search

by google-deepmind in google-deepmind/science-skills

Performs 3D structural searches of proteins against various databases (PDB, AlphaFold, CATH, MGnify, etc.) using the Foldseek API.

Apache-2.0Auto-check passedResearch & Science

Install Foldseek Structural Search

skills CLI
$ npx skills add google-deepmind/science-skills --skill foldseek-structural-search -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install google-deepmind/science-skills foldseek-structural-search --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/google-deepmind/science-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/foldseek_structural_search .claude/skills/foldseek-structural-search && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
foldseek-structural-search
GitHub stars
3.2k
Used in
1 other repo
Token cost
~1.3k tokens
SKILL.md length
654 words
Files
3 (incl. scripts, references)
Skills in repo
40
Repo updated
First seen
Licence
Apache-2.0

At a glance

Performs 3D structural searches of proteins against various databases (PDB, AlphaFold, CATH, MGnify, etc.) using the Foldseek API.

  • Works in 2 steps: uv: Read the uv skill and follow its… → User Notification: If…
  • Provides a physical 3D coordinate file (.cif
  • SKILL.md covers Prerequisites, Goal, Core Rules and Instructions, plus 1 more section
  • Runs Python scripts from its folder

What it does

Foldseek Structural Search is an agent skill from google-deepmind/science-skills. Performs 3D structural searches of proteins against various databases (PDB, AlphaFold, CATH, MGnify, etc.) using the Foldseek API. Use ONLY when the user provides a physical 3D coordinate file (.cif, .mmcif, or .pdb) and wants to find structurally similar proteins. Do NOT use if the user only provides a protein sequence, gene name, or UniProt ID.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `scripts/search.py`).

It sits in Research & Science, covering Protein structure and design. It works with AlphaFold and UniProt. The repository describes itself as: GDM Science Skills to speed up agentic scientific workflows with better grounding and higher token efficiency. Integrate insights from AlphaGenome, AFDB, UniProt and 30+ other… The licence is Apache-2.0.

When your agent uses it

  • Provides a physical 3D coordinate file (.cif
  • .pdb) and wants to find structurally similar proteins
  • The user only provides a protein sequence

Example prompts

  • “Use the foldseek-structural-search skill to perform 3D structural searches of proteins against various databases (PDB, AlphaFold, CATH, MGnify…”
  • “/foldseek-structural-search”

Requirements

  • Python 3

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. uv: Read the uv skill and follow its Setup instructions to ensure
  2. User Notification: If .licenses/foldseek_structural_search_LICENSE.txt

What it can do on your machine

Read from SKILL.md and the folder at commit 6883275. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • search.foldseek.com
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Foldseek Structural Search loads about 1.3k tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 94 tokens; SKILL.md has 654 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~94
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from google-deepmind/science-skills at commit 6883275, republished under its Apache-2.0 licence (© google-deepmind). 654 words, ~1,338 tokens.

Download SKILL.mdSave it as .claude/skills/foldseek-structural-search/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
foldseek-structural-search
description
Performs 3D structural searches of proteins against various databases (PDB, AlphaFold, CATH, MGnify, etc.) using the Foldseek API. Use ONLY when the user provides a physical 3D coordinate file (.cif, .mmcif, or .pdb) and wants to find structurally similar proteins. Do NOT use if the user only provides a protein sequence, gene name, or UniProt ID.

Prerequisites

  1. uv: Read the uv skill and follow its Setup instructions to ensure uv is installed and on PATH.
  2. User Notification: If .licenses/foldseek_structural_search_LICENSE.txt does not already exist in the workspace root directory then (1) prominently notify the user to check the terms at https://search.foldseek.com/search and https://github.com/steineggerlab/foldseek, then (2) create the file recording the notification text and timestamp.

Goal

Submit a user-provided 3D protein structure file (.cif, .mmcif, or .pdb) to the Foldseek web server API to find structurally similar proteins. Report the top structural hits, interpret key alignment metrics, summarize the inferred protein functions, save the Markdown-formatted table to a .md file, and save the full detailed results to a local JSON file.

Core Rules

  • File Requirement: This tool absolutely cannot search by sequence, name, or accession ID. It strictly requires a .pdb, .cif, or .mmcif file path.
  • Strict Validation: Never bypass the input validation or the database allowlist check.
  • Do Not Parse the JSON: Rely entirely on the generated .md file for your immediate summary. The JSON is saved purely for subsequent, specialized tool use.
  • No Raw Parsing: Do not attempt to parse or read the raw 3D coordinates yourself; always pass the file to the script.
  • Notification: If this skill is used, ensure this is mentioned in the output.

Instructions

  1. Strict Input Validation: Verify that the user has explicitly provided a valid path to a .cif, .mmcif, or .pdb file in their workspace.
    • If the user provided a protein name, an amino acid sequence, or an accession ID (e.g., a UniProt ID) but NO downloaded structure file, halt immediately. Do not run the script.
    • Inform the user that Foldseek requires a physical 3D coordinate file, and suggest downloading the structure first (e.g., using the AlphaFold fetch tool).
  2. Database Validation: Check if the user requested specific databases to search.
    • Allowed List: afdb50, afdb-swissprot, pdb100, BFVD, mgnify_esm30, cath50, gmgcl_id, bfmd, afdb-proteome.
    • If the user requests a database NOT on this list, halt immediately. Do not run the script. Inform the user that the database is unsupported and provide them with the allowed list.
  3. Generate File Names: Generate descriptive output file names for both the JSON data and the Markdown table based on the input file (e.g., proteinA_foldseek_results.json and proteinA_foldseek_results.md).
  4. Execute the python script based on the user's request, redirecting the standard output into your generated .md file:
    • Default (No databases specified): uv run scripts/search.py <path-to-file> -o <generated-filename.json> > <generated-filename.md>
    • Custom (Valid databases specified): uv run scripts/search.py <path-to-file> -o <generated-filename.json> --databases <db1,db2,db3> > <generated-filename.md>
  5. The script will query the databases, save the full JSON payload, and write a Markdown-formatted table to your specified .md file.
  6. Read the Results: Open and read the newly generated .md file carefully to view the Markdown table.
  7. Interpret the Metrics: Summarize the top 3 to 5 structural matches that have meaningfull annotations for the user. When reporting, assess the match quality using these specific fields:
    • Prob (Probability): Values approaching 1.0 (100%) indicate extreme confidence that the fold is a true structural homologue.
    • Q-Cov (Query Coverage): High percentages mean the match covers the majority of the query protein's overall shape, rather than just a small local motif.
    • E-value & Seq Identity: Use these to provide additional evolutionary context.
  8. Perform Functional Analysis: Analyze the text descriptions embedded within the Target ID column for the reported matches.
    • Explicitly report the specific protein names/functions of the top structural homologues.
    • Provide a synthesized overview summarizing the entire variety of different functions, domains, or protein families found across the whole list of homologues (e.g., "Most hits are portal proteins, but there is also a distinct cluster of viral capsid matches...").
  9. Explicitly inform the user of both newly created files (.json and .md) and their locations so they can be seamlessly used in subsequent analysis steps.
Show full SKILL.md (23 more words)Show less

* If the API returns an error or the file is missing, inform the user clearly

and ask them to verify the file path.

© google-deepmind, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts, references) in skills/foldseek_structural_search of google-deepmind/science-skills.

  • SKILL.md
  • references/citation.bib
  • scripts/search.py

Open the folder on GitHubat commit 6883275

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in google-deepmind/science-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Foldseek Structural Search next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Foldseek Structural Search compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Foldseek Structural Search this skillgoogle-deepmind/science-skills3.2k1 repos~1.3kAutomated safety check: PassApache-2.0
Bio DB ToolsDrugClaw/DrugClaw125—~1.4kAutomated safety check: PassApache-2.0
Ggetdavila7/claude-code-templates32k11 repos~6.3kAutomated safety check: PassMIT
Alphafold Databasedavila7/claude-code-templates32k10 repos~4kAutomated safety check: PassMIT
Tooluniverse Protein Structure Retrievalwu-yc/LabClaw1.1k2 repos~2.8kAutomated safety check: PassNone
Bio Structural Biology Alphafold PredictionsFreedomIntelligence/OpenClaw-Medical-Skills3.1k1 repos~2.1kAutomated safety check: PassNone

Similar skills

  • Bio DB Tools

    DrugClaw/DrugClaw

    Query public biology databases and APIs including UniProt, RCSB PDB, AlphaFold DB, ClinVar, dbSNP, gnomAD, Ensembl, GEO, InterPro, KEGG, OpenTargets, Reactome, and STRING.

    125 GitHub stars~1.4k tokensUpdated 6 mo ago
    Research & ScienceAuto-check passed
  • Gget

    davila7/claude-code-templates

    CLI/Python toolkit for rapid bioinformatics queries. An agent skill from davila7/claude-code-templates.

    32k GitHub starsUsed in 11 repos~6.3k tokens
    Research & ScienceAuto-check passed
  • Alphafold Database

    davila7/claude-code-templates

    Access AlphaFold's 200M+ AI-predicted protein structures. An agent skill from davila7/claude-code-templates.

    32k GitHub starsUsed in 10 repos~4k tokens
    Research & ScienceAuto-check passed
  • Retrieves protein structure data from RCSB PDB, PDBe, and AlphaFold with protein disambiguation, quality assessment, and comprehensive structural profiles.

    1.1k GitHub starsUsed in 2 repos~2.8k tokens
    Research & ScienceAuto-check passed
  • Bio Structural Biology Alphafold Predictions

    FreedomIntelligence/OpenClaw-Medical-Skills

    Access and analyze AlphaFold protein structure predictions. An agent skill from FreedomIntelligence/OpenClaw-Medical-Skills.

    3.1k GitHub starsUsed in 1 repo~2.1k tokens
    Research & ScienceAuto-check passed
  • Alphafold DB

    aipoch/medical-research-skills

    Access over 200M protein structures from AlphaFold DB; use when you need to retrieve predicted 3D structures (PDB/mmCIF), confidence metrics (pLDDT/PAE), or protein metadata by UniProt accession.

    2k GitHub stars~606 tokensUpdated 21 days ago
    Research & ScienceAuto-check passed

More from google-deepmind/science-skills

All 40 skills in this repo
  • Clinical Trials Database

    google-deepmind/science-skills

    Query ClinicalTrials.gov via APIv2. An agent skill from google-deepmind/science-skills.

    3.2k GitHub starsUsed in 3 repos~3.2k tokens
    Auto-check passed
  • Dbsnp Database

    google-deepmind/science-skills

    A skill your agent uses when you want to look up, map, and search for short genetic variants (SNPs, indels) in NCBI's dbSNP database.

    3.2k GitHub starsUsed in 3 repos~3.4k tokens
    Auto-check: notes
  • Gtex Database

    google-deepmind/science-skills

    A skill your agent uses when you want to retrieve quantitative RNA expression data and variant eQTL information from the GTEx (Genotype-Tissue Expression) Project across 54 non-diseased tissue sites.

    3.2k GitHub starsUsed in 3 repos~1.5k tokens
    Auto-check passed
  • Human Protein Atlas Database

    google-deepmind/science-skills

    A skill your agent uses when you want to retrieve semi-quantitative protein expression and spatial localisation data from the Human Protein Atlas (HPA).

    3.2k GitHub starsUsed in 3 repos~1.6k tokens
    Auto-check passed
  • Alphafold Database Fetch And Analyze

    google-deepmind/science-skills

    Retrieve and analyze AlphaFold predicted structures for a protein.

    3.2k GitHub starsUsed in 2 repos~1.2k tokens
    Auto-check passed
  • Alphagenome Single Variant Analysis

    google-deepmind/science-skills

    Analyzes genetic variant effects on gene expression (RNA-seq), chromatin accessibility (DNASE), histone marks (ChIP), and transcription factors using the AlphaGenome API.

    3.2k GitHub starsUsed in 2 repos~3k tokens
    Auto-check: notes

Questions about Foldseek Structural Search

What does Foldseek Structural Search do?

Performs 3D structural searches of proteins against various databases (PDB, AlphaFold, CATH, MGnify, etc.) using the Foldseek API. Foldseek Structural Search is an agent skill from google-deepmind/science-skills.) using the Foldseek API.

When should I use Foldseek Structural Search?

Foldseek Structural Search fits situations like: provides a physical 3D coordinate file (.cif; .pdb) and wants to find structurally similar proteins; the user only provides a protein sequence.

How do I install Foldseek Structural Search in Claude Code?

Run `npx skills add google-deepmind/science-skills --skill foldseek-structural-search -a claude-code`. Or copy the skill folder (skills/foldseek_structural_search in google-deepmind/science-skills) into .claude/skills/foldseek-structural-search in your project. Claude Code loads it when a task matches its description.

How do I install Foldseek Structural Search in Codex?

Run `npx skills add google-deepmind/science-skills --skill foldseek-structural-search -a codex`. Or copy the skill folder (skills/foldseek_structural_search in google-deepmind/science-skills) into .agents/skills/foldseek-structural-search in your project. Codex loads it when a task matches its description.

Can I use Foldseek Structural Search in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add google-deepmind/science-skills --skill foldseek-structural-search -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/foldseek-structural-search, .gemini/skills/foldseek-structural-search, .github/skills/foldseek-structural-search and .opencode/skills/foldseek-structural-search in your project.

What does Foldseek Structural Search need to run?

Going by SKILL.md and its folder, Foldseek Structural Search needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Foldseek Structural Search access the network?

SKILL.md names 2 domains. As links in the text: search.foldseek.com and github.com. This is read from the text; nothing was executed.

Is Foldseek Structural Search safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Foldseek Structural Search use?

Foldseek Structural Search is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Foldseek Structural Search use?

About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 112 tokens, read only when the agent opens those files.

What are the alternatives to Foldseek Structural Search?

Skills that share tags, products or a category with Foldseek Structural Search: Bio DB Tools (DrugClaw/DrugClaw, 125 stars), Gget (davila7/claude-code-templates, 32k stars), Alphafold Database (davila7/claude-code-templates, 32k stars) and Tooluniverse Protein Structure Retrieval (wu-yc/LabClaw, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Foldseek Structural Search?

google-deepmind (a GitHub organization) maintains it in google-deepmind/science-skills, which has 3,220 GitHub stars. The repository holds 40 skills in this directory. The repository was last updated on September 15, 2026.

Source: google-deepmind/science-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.