pymol
Visualize, analyze, and render protein and molecular structures using PyMOL.
Skill by MarceloClaro
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/marceloclaro-pymol
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pymol
What's inside
- Skill name
pymol- Description
- Visualize, analyze, and render protein and molecular structures using PyMOL. Use when the user wants to create images of protein structures, perform structural alignments or superposition, measure distances or contacts, highlight binding sites or active site residues, color by B-factor/pLDDT, or analyze protein-ligand interactions. Do not use for docking, molecular dynamics, or sequence-only analysis.
- License
- MIT
- Instructions
- 137 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: references/PYMOL_REFERENCE.md, references/RECIPES.md
Files (1)
- SKILL.md
SKILL.md (first lines)
# PyMOL
## 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
license at https://www.pymol.org/, then (2) create the file recording the
notification text and timestamp.
## Overview
All PyMOL commands run on the host via `uv` with OSMesa software rendering — no
GPU, display, or X server is needed. Structure files must be downloaded to the
host before running PyMOL.
**Do NOT use when:**
- The user wants to run AlphaFold predictions.
- The user wants docking or molecular dynamics simulations.
- The user only has a sequence and no structure file — fetch the structure
first. Check if any other installed skills can retrieve structures from the
PDB or AlphaFold Database before proceeding.
## Setup (Agent Instructions)
Ensure that `uv` is installed on the host system. The PyMOL scripts use PEP 0723
headers to declare their dependencies, and `uv run` will automatically handle
installing them (including `pymol-open-source-whl`) when the script is executed.
## Core Rules
- **Output paths must be absolute or relative to the user's project root.**
Always run PyMOL scripts from the user's project directory.
- **Software rendering only.** Use `cmd.png()` for output. Never use
`cmd.draw()` or `cmd.ray()` with hardware acceleration — OSMesa does not
support it. Set environment variable `PYOPENGL_PLATFORM=osmesa` for headless
rendering.
- **Always save a `.pse` session file** alongside any PNG output. This lets
the user open the session in their local PyMOL for further inspection.
- **Always call `cmd.quit()`** at the end of every PyMOL script. Omitting it
causes the process to stop responding.
- **Init boilerplate is mandatory.** Every PyMOL script must begin with the
initialization sequence. `from pymol import cmd` must come after
`finish_launching()`, not before.
- See [references/PYMOL_REFERENCE.md](references/PYMOL_REFERENCE.md) for
selection syntax, common commands, and gotchas.
- **Pre-Flight File Check**: Before writing the PyMOL script or running it,
you MUST verify that the requested structure file actually exists on the
host machine.
- **Verify Structure Load**: After loading a structure with `cmd.load()`,
always verify it succeeded by checking `cmd.count_atoms("all")`. If the
result is 0, print an error to stdout and call `cmd.quit()` immediately.
- **Notification**: If this skill is used, ensure this is mentioned in the
output.
## Quick Start
* Ensure structure files are downloaded to a directory in the user's project.
* Write a PyMOL Python script (e.g., `render.py`) with the required init
boilerplate and PEP 0723 header.
* Run it via `uv run`: `bash uv run render.py`
### Minimal example script (`render.py`)
```python
# /// script
# requires-python = ">=3.10, <3.13"
# dependencies = [
# "pymol-open-source-whl",
# ]
# ///
import os
import sys
# Set environment variable for headless rendering
os.environ["PYOPENGL_PLATFORM"] = "osmesa"
import pymol # pytype: disable=import-error
pymol.pymol_argv = ["pymol", "-cq"]
pymol.finish_launching()
from pymol import cmd # pytype: disable=import-error
cmd.load("AF-P00520-F1-model_v4.cif", "structure")
cmd.show("cartoon")
cmd.color("green", "ss h")
cmd.color("yellow", "ss s")
cmd.color("gray", "ss l+''")
cmd.orient()
cmd.set("ray_opaque_background", 1)
cmd.png("output/render.png", width=1200, height=900, dpi=150)
cmd.save("output/session.pse")
cmd.quit()
```
## Common Recipes
See [references/RECIPES.md](references/RECIPES.md) for complete, copy-paste
ready recipes. Available recipes:
- **Cartoon with secondary structure coloring** — basic helix/sheet/loop
coloring
- **B-factor (pLDDT) coloring** — continuous spectrum coloring by B-factor
- **AlphaFold pLDDT coloring** — canonical threshold-based confidence colors
- **Highlight specific residues** — show active site or key residues as sticks
- **Surface rendering** — transparent surface over cartoon
- **Electrostatic surface rendering** — vacuum electrostatics (qualitative)
- **Multi-chain complex colors** — automatic per-chain coloring
- **B-factor putty analysis** — tube width proportional to flexibility
- **Cavity and pocket visualization** — surface cavity detection with ligand
focus
- **Multi-structure batch rendering** — render a directory of structures
- **Measure distance between residues** — CA–CA distance with labels
- **Zoom into binding pocket** — simple pocket focus
- **Protein-ligand interaction** — ligand isolation, styled rendering, polar
contactsFrom MarceloClaro/OpenCode_Ecosystem, MIT.
More from MarceloClaro/OpenCode_Ecosystem
- 0.546score
deploy
MarceloClaro
Checklist e procedimento pré-deploy.
SkillCFreshness: C★ 12Claude Code +9 - 0.545score
nexus-phd-strategist
MarceloClaro
Skill para orquestração de análises de nível PhD, integrando Teoria dos Jogos, 204 tipos de raciocínio (25 categorias) e auditoria Qualis A1.
SkillCFreshness: C★ 12Claude Code +9 - 0.542score
geology-ml-framework
MarceloClaro
Automatiza a criação de frameworks de Machine Learning (Perceptron/Softmax) para Geociências com rigor acadêmico Qualis A1.
SkillCFreshness: C★ 12Claude Code +9 - 0.542score
ecosystem-auditor
MarceloClaro
Automatiza a auditoria, diagnóstico e correção de ecossistemas multiagentes complexos.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
commit
MarceloClaro
Formata e valida mensagens de commit seguindo Conventional Commits.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
publish-pattern
MarceloClaro
Publica padrões reutilizáveis no global-index do claude-memories.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
pr-review
MarceloClaro
Checklist para abrir ou revisar pull request.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
reasoning-orchestrator
MarceloClaro
OpenCode Reasoning Orchestrator (v8.0).
SkillCFreshness: C★ 12Claude Code +9 - 0.540score
foldseek-structural-search
MarceloClaro
Performs 3D structural searches of proteins against various databases (PDB, AlphaFold, CATH, MGnify, etc.) using the Foldseek API.
SkillCFreshness: C★ 12Claude Code +9 - 0.540score
alphafold-database-fetch-and-analyze
MarceloClaro
Retrieve and analyze AlphaFold predicted structures for a protein.
SkillCFreshness: C★ 12Claude Code +9 - 0.540score
bugfix
MarceloClaro
Skill do ecossistema OpenCode - bugfix
SkillCFreshness: C★ 12Claude Code +9 - 0.540score
jaspar-database
MarceloClaro
Query the JASPAR database for Transcription Factor (TF) binding profiles.
SkillCFreshness: C★ 12Claude Code +9
Signals
- Stars
- 12
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Jun 14, 2026 (4 months ago)
- Last release
- May 30, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from MarceloClaro
- 0.546score
deploy
MarceloClaro
Checklist e procedimento pré-deploy.
SkillCFreshness: C★ 12Claude Code +9 - 0.545score
nexus-phd-strategist
MarceloClaro
Skill para orquestração de análises de nível PhD, integrando Teoria dos Jogos, 204 tipos de raciocínio (25 categorias) e auditoria Qualis A1.
SkillCFreshness: C★ 12Claude Code +9 - 0.542score
ecosystem-auditor
MarceloClaro
Automatiza a auditoria, diagnóstico e correção de ecossistemas multiagentes complexos.
SkillCFreshness: C★ 12Claude Code +9 - 0.542score
geology-ml-framework
MarceloClaro
Automatiza a criação de frameworks de Machine Learning (Perceptron/Softmax) para Geociências com rigor acadêmico Qualis A1.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
pr-review
MarceloClaro
Checklist para abrir ou revisar pull request.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
publish-pattern
MarceloClaro
Publica padrões reutilizáveis no global-index do claude-memories.
SkillCFreshness: C★ 12Claude Code +9
Cite this page
pymol skill. Agent Mart. https://agentmart.dev/skills/marceloclaro-pymol (last updated 2026-10-24)