Skip to content
Agentmart
Submit a tool

pymolcode

Skill by chenDeepin

IndexedMIT
Write a review

Chalk Labs

Need help deploying pymolcode?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

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/chendeepin-pymolcode

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.

We use your email only for this newsletter. Privacy

About

The publisher has not written a description yet.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
pymolcode
Description
None
License
MIT
Instructions
139 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • invalid YAML frontmatter: Nested mappings are not allowed in compact mappings at line 2, column 14:
  • name: missing
  • description: missing

Files (13)

  • SKILL.md
  • advanced-techniques.md · references/
  • pymol-api.md · references/
  • anglebetweenhelices.py · scripts/
  • center_of_mass.py · scripts/
  • cgo_arrow.py · scripts/
  • colorbyrmsd.py · scripts/
  • distancetoatom.py · scripts/
  • extra_fit.py · scripts/
  • findSurfaceResidues.py · scripts/
  • findseq.py · scripts/
  • quickdisplays.py · scripts/
  • show_ligand_interactions.py · scripts/

SKILL.md (first lines)

# pymolcode

LLM-Enhanced Molecular Visualization Platform for Drug Discovery

## Directory Structure

Artifacts under `~/.pymolcode/artifacts/`:
- `pdb/` - Downloaded PDB files
- `scripts/` - Generated Python scripts
- `screenshots/` - Saved images

## Available Tools

| Tool | Purpose |
|------|---------|
| `pymol_load` | Load PDB files or local structures |
| `pymol_show` | Set representation (cartoon, surface, sticks) |
| `pymol_color` | Apply colors to selections |
| `pymol_zoom` | Zoom camera to selection |
| `pymol_list` | List loaded objects |
| `pymol_align` | Align mobile to target structure |
| `pymol_screenshot` | Save high-quality image |
| `python_exec` | Execute arbitrary PyMOL Python code |

## Selection Algebra

### Logical Operators
```
not S1          # Invert
S1 and S2       # Intersection
S1 or S2        # Union
```

### Identifiers
```
model name      # Object name
chain A         # Chain ID
resn ALA        # Residue name
resi 100-200    # Residue range
name CA         # Atom name
elem C          # Element
```

### Entity Expansion
```
byres S1        # Complete residues
bychain S1      # Complete chains
bymolecule S1   # Connected molecules
```

### Proximity
```
S1 within 5.0 of S2    # Within distance
S1 around 5.0          # Around center
bound_to S1            # Bonded atoms
```

### Properties
```
b < 100         # B-factor
q > 0.9         # Occupancy
ss H+S          # Secondary structure
```

### Chemical Classes
```
organic         # Ligands
solvent         # Water/ions
polymer.protein # Protein
backbone        # Backbone atoms
```

## Common Patterns

### Load and visualize
```python
pymol_load(source="1ubq")
pymol_show(selection="all", representation="cartoon")
pymol_color(selection="chain", color="spectrum")
pymol_zoom(selection="all")
```

### Align structures
```python
pymol_load(source="3kys", name="tead1")
pymol_load(source="5hv0", name="tead2")
pymol_align(mobile="tead2", target="tead1", method="ce")
```

### Binding pocket visualization
```python
python_exec(code='''
cmd.show("sticks", "organic and not solvent")
cmd.show("surface", "byres (polymer within 5 of organic)")
cmd.set("transparency", 0.5, "surface")
cmd.color("yellow", "organic")
''')
```

### Protein-ligand H-bonds
```python
python_exec(code='''
cmd.distance("hbonds", "organic", "polymer", cutoff=3.5, mode=2)
cmd.set("dash_gap", 0.4)
cmd.color("grey50", "hbonds")
''')
```

### Publication quality render
```python
python_exec(code='''
cmd.set("antialias", 2)
cmd.set("ray_shadows", 0.3)
cmd.set("bg_color", "white")
cmd.png("output.png", width=2400, height=2400, ray=1, dpi=300)
''')
```

## Alignment Methods

From chenDeepin/pymolcode, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Feb 28, 2026 (8 months ago)
Last release
Feb 27, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from chenDeepin

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get pymolcode running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying pymolcode?

CallGet help
Cite this page

pymolcode skill. Agent Mart. https://agentmart.dev/skills/chendeepin-pymolcode (last updated 2026-10-24)