protein-struct-viz
Generate PyMOL scripts to highlight specific protein residues in PDB structures. Use this skill when the user needs to visualize specific amino acid residues, create publication-quality protein images, or highlight functional sites in protein structures.
Best use case
protein-struct-viz is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Generate PyMOL scripts to highlight specific protein residues in PDB structures. Use this skill when the user needs to visualize specific amino acid residues, create publication-quality protein images, or highlight functional sites in protein structures.
Teams using protein-struct-viz should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/protein-struct-viz/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How protein-struct-viz Compares
| Feature / Agent | protein-struct-viz | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Generate PyMOL scripts to highlight specific protein residues in PDB structures. Use this skill when the user needs to visualize specific amino acid residues, create publication-quality protein images, or highlight functional sites in protein structures.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
AI Agent for YouTube Script Writing
Find AI agent skills for YouTube script writing, video research, content outlining, and repeatable channel production workflows.
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
SKILL.md Source
# protein-struct-viz Generate PyMOL scripts for highlighting specific protein residues in molecular structures. ## Overview This skill creates PyMOL command scripts to visualize protein structures with specific residues highlighted using various representation styles (sticks, spheres, surface, etc.). ## Usage The skill generates `.pml` script files that can be executed directly in PyMOL to: - Load PDB structures - Apply custom color schemes - Highlight specific residues with different representation styles - Create publication-ready visualization settings ### Input Parameters | Parameter | Type | Description | |-----------|------|-------------| | `pdb_file` | string | Path to PDB file or PDB ID (e.g., "1abc") | | `residues` | list | List of residue specifications (chain:resnum:resname) | | `style` | string | Visualization style: "sticks", "spheres", "surface", "cartoon" | | `color_scheme` | string | Color scheme: "rainbow", "chain", "element", custom hex | | `output_name` | string | Output filename for the generated script | ### Residue Specification Format - Format: `chain:resnum:resname` or `resnum` (for single chain) - Examples: `A:145:ASP`, `B:23:LYS`, `156` - Wildcards: `A:*` (all residues in chain A) ## Example ```bash python scripts/main.py --pdb 1mbn --residues "A:64:HIS,A:93:VAL,A:97:LEU" --style sticks --color_scheme rainbow --output myoglobin_active_site.pml ``` This will generate a PyMOL script highlighting the specified residues in myoglobin's active site. ## Output Generated `.pml` script includes: 1. Structure loading commands 2. Background and lighting settings 3. Global representation settings 4. Specific residue highlighting 5. View optimization commands 6. Optional: ray tracing for high-quality images ## References See `references/` directory for: - PyMOL command reference - Color palette templates - Example scripts for common visualization tasks ## Technical Difficulty Medium - requires understanding of PyMOL scripting syntax and protein structure concepts. ## Dependencies - PyMOL (installed separately) - Python 3.7+ - No Python package dependencies (generates plain text scripts) ## Risk Assessment | Risk Indicator | Assessment | Level | |----------------|------------|-------| | Code Execution | Python scripts with tools | High | | Network Access | External API calls | High | | File System Access | Read/write data | Medium | | Instruction Tampering | Standard prompt guidelines | Low | | Data Exposure | Data handled securely | Medium | ## Security Checklist - [ ] No hardcoded credentials or API keys - [ ] No unauthorized file system access (../) - [ ] Output does not expose sensitive information - [ ] Prompt injection protections in place - [ ] API requests use HTTPS only - [ ] Input validated against allowed patterns - [ ] API timeout and retry mechanisms implemented - [ ] Output directory restricted to workspace - [ ] Script execution in sandboxed environment - [ ] Error messages sanitized (no internal paths exposed) - [ ] Dependencies audited - [ ] No exposure of internal service architecture ## Prerequisites No additional Python packages required. ## Evaluation Criteria ### Success Metrics - [ ] Successfully executes main functionality - [ ] Output meets quality standards - [ ] Handles edge cases gracefully - [ ] Performance is acceptable ### Test Cases 1. **Basic Functionality**: Standard input → Expected output 2. **Edge Case**: Invalid input → Graceful error handling 3. **Performance**: Large dataset → Acceptable processing time ## Lifecycle Status - **Current Stage**: Draft - **Next Review Date**: 2026-03-06 - **Known Issues**: None - **Planned Improvements**: - Performance optimization - Additional feature support
Related Skills
Deal Desk — Structured Deal Review & Approval
Run every non-standard deal through a repeatable review process. Catch margin leaks, enforce discount guardrails, and close faster with pre-approved terms.
afrexai-construction-estimator
Complete construction estimating and cost management system. Use when preparing project estimates, bid proposals, cost breakdowns, value engineering, change order management, or construction budget tracking. Covers residential, commercial, and infrastructure projects. Trigger on 'estimate', 'construction cost', 'bid', 'takeoff', 'cost breakdown', 'change order', 'value engineering', 'construction budget', 'unit pricing', 'RSMeans'.
Building Permit & Construction Permitting Agent
You are a construction permitting specialist. Help contractors, developers, and property owners navigate the building permit process from application through final inspection.
instructional-design-cn
培训课程大纲设计、效果评估、内部分享材料生成
AgentOS — Infrastructure for AI Agents
Everything an agent needs: phone, email, compute, domains, voice calling, wallets, and 3500+ skills. Pay with USDC on Solana or Base via x402.
unstructured-medical-text-miner
Mine unstructured clinical text from MIMIC-IV to extract diagnostic logic.
toxicity-structure-alert
Analyze data with `toxicity-structure-alert` using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation.
protein-docking-configurator
Prepare input files for molecular docking software, automatically determine Grid Box center and size. Supports AutoDock Vina, AutoDock4, and other mainstream docking tools.
construction-safety-inspector
施工作业安全督察专家技能。当用户上传施工作业现场图片,要求分析安全隐患、提出整改建议时激活。触发词:安全检查、安全隐患分析、施工现场、特殊作业(动火/高处/受限空间/临时用电/吊装/盲板抽堵/动土/断路)、gb30871、施工作业安全、安全督察、安全隐患。 Also activates when user mentions uploading safety management documents for learning.
text-humanizer-Instruction-based
Detect and rewrite AI-generated writing patterns, em dashes, rule-of-three lists, sycophantic openers, hollow buzzwords like "delve" and "landscape", and replace them with direct, human-sounding prose.
gene-structure-mapper
Visualize gene structure with exon-intron diagrams, domain annotations, and mutation position markers. Produces SVG, PNG, or PDF figures suitable for publication from a gene symbol input.
chemical-structure-converter
Convert between IUPAC names, SMILES strings, and molecular formulas for chemical compounds. Supports structure validation, identifier interconversion, and cheminformatics data preparation for drug discovery and chemical research workflows.