Scienceofficial

alphafold-database-fetch-and-analyze

google-deepmind/science-skills · updated Jun 4, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/google-deepmind/science-skills --skill alphafold-database-fetch-and-analyze
0 commentsdiscussion
summary

### Alphafold Database Fetch And Analyze

  • name: "alphafold-database-fetch-and-analyze"
  • description: "Retrieve and analyze AlphaFold predicted structures for a protein. Use when the user provides a specific UniProt Accession ID and wants structural confidence metrics (pLDDT), domain boundary analysis,..."
skill.md
name
alphafold-database-fetch-and-analyze
description
> Retrieve and analyze AlphaFold predicted structures for a protein. Use when the user provides a specific UniProt Accession ID and wants structural confidence metrics (pLDDT), domain boundary analysis, or disorder assessment. Do not use if the user only has a protein name, gene name, or amino acid sequence — ask for a UniProt ID first.

AlphaFold Database: Fetch and Analyze

Prerequisites

  1. uv: Read the uv skill and follow its Setup instructions to ensure uv is installed and on PATH.
  2. User Notification: If LICENSE_NOTIFICATION.txt does not already exist in this skill directory then (1) prominently notify the user to check the terms at https://alphafold.ebi.ac.uk/, then (2) create the file recording the notification text and timestamp.

Overview

Downloads AlphaFold predicted structures (mmCIF) and Predicted Aligned Error (PAE) matrices from the AlphaFold Database for a given UniProt ID, then performs automated heuristic analysis on structural confidence (pLDDT), intrinsically disordered regions, rigid domain boundaries, and inter-domain flexibility.

Do NOT use when:

  • The user only has a protein name, gene name, or amino acid sequence (no UniProt ID) — ask them to look up the ID on UniProt.
  • The user wants to search for structural homologs (use Foldseek).
  • The user wants to run AlphaFold predictions on a custom sequence.
  • The user needs experimental PDB structures (use RCSB PDB).

Core Rules

  • Use the Wrapper: ALWAYS execute the provided helper scripts to query the database rather than accessing the database directly. The scripts automatically enforce the required rate limit gracefully.
  • Do not attempt to calculate domain boundaries or assess structural disorder yourself; always rely on the output provided by the script.
  • If this skill is used, ensure this is mentioned in the output.

Utility Scripts

1. Fetch Structure Files

Downloads the .cif structure file, _predicted_aligned_error.json, and API metadata JSON (-metadata.json) for a UniProt ID. Handles fragment fallback for very large proteins.

Examples:

uv run scripts/fetch_structure.py P00520 -o /path/to/output/
uv run scripts/fetch_structure.py P04637 -o /path/to/custom_results/

Always specify -o with an absolute path or a path relative to the user's project root, never a path relative to the skill directory.

2. Analyze pLDDT Confidence

Reads pLDDT confidence metrics from a saved AFDB metadata JSON file (produced by fetch_structure.py) and prints a heuristic confidence assessment (structured, disordered, mixed).

Example:

uv run scripts/analyze_plddt.py ./data/AF-P00520-F1-metadata.json

3. Analyze PAE / Domain Boundaries

Reads a downloaded PAE JSON file and detects rigid domain boundaries using a sliding-window PAE heuristic.

Example:

uv run scripts/analyze_pae.py ./data/AF-P00520-F1-predicted_aligned_error_v6.json

Interpreting the Output

The script prints analysis to stdout. Read it carefully and synthesize the results for the user:

  1. Isoform / Large Protein Warning (MANDATORY): Check the script output for any [!] WARNING lines. If the script reports that no canonical entry was found and an isoform was used, or if the protein is very large (>2700 AAs), you MUST prominently relay this warning to the user. Do not omit this warning.
  2. Synthesize the Structural Analysis: Combine the "pLDDT Conclusion" and the "PAE Structural Conclusion" into a single, cohesive overall summary. Describe the protein's overall folding confidence, the presence of disordered regions, and its rigid domain layout.
  3. Highlight the supporting metrics:
    • Overall Global pLDDT and the breakdown of fraction confidence (especially Very Low vs. Very High).
    • Domain Boundary Analysis (number of distinct global domains and their specific residue ranges).
  4. Explicit Disorder Warning: If the analysis concludes that the protein is highly intrinsically disordered (e.g., high fraction of <50 pLDDT or lack of rigid domains), issue a separate, prominent warning. Advise the user against proceeding with whole-protein downstream structural analysis (like Foldseek or docking). If small ordered domains exist amidst the disorder, advise the user to restrict any future analysis strictly to those specific residue boundaries.
  5. Remind the user that per-residue pLDDT is embedded in the B-factor column of the downloaded mmCIF file.
how to use alphafold-database-fetch-and-analyze

How to use alphafold-database-fetch-and-analyze on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add alphafold-database-fetch-and-analyze
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/google-deepmind/science-skills --skill alphafold-database-fetch-and-analyze

The skills CLI fetches alphafold-database-fetch-and-analyze from GitHub repository google-deepmind/science-skills and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/alphafold-database-fetch-and-analyze

Reload or restart Cursor to activate alphafold-database-fetch-and-analyze. Access the skill through slash commands (e.g., /alphafold-database-fetch-and-analyze) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Installation Steps

  1. 1.Install skill using provided installation command
  2. 2.Test with simple use case relevant to your work
  3. 3.Evaluate output quality and relevance
  4. 4.Iterate on prompts to improve results
  5. 5.Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use When

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid When

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.673 reviews
  • Chaitanya Patil· Dec 24, 2024

    Useful defaults in alphafold-database-fetch-and-analyze — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Maya Torres· Dec 24, 2024

    I recommend alphafold-database-fetch-and-analyze for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Yuki Jain· Dec 24, 2024

    alphafold-database-fetch-and-analyze reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Tariq Khan· Dec 16, 2024

    We added alphafold-database-fetch-and-analyze from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Naina Taylor· Dec 16, 2024

    Keeps context tight: alphafold-database-fetch-and-analyze is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Henry Mehta· Dec 12, 2024

    Registry listing for alphafold-database-fetch-and-analyze matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Meera Martinez· Dec 4, 2024

    alphafold-database-fetch-and-analyze reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Isabella Martinez· Nov 23, 2024

    Useful defaults in alphafold-database-fetch-and-analyze — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Meera Gill· Nov 19, 2024

    alphafold-database-fetch-and-analyze reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Piyush G· Nov 15, 2024

    alphafold-database-fetch-and-analyze has been reliable in day-to-day use. Documentation quality is above average for community skills.

showing 1-10 of 73

1 / 8