Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Structure

ASecurity

Use when the user asks to build, modify, or prepare atomic structures: slabs, adsorbates, supercells, doping, defects, or fetching from databases.

199 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentpythongoapidatabase

Works with

apimcp

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add Hello-QM/catgo-LRG --skill structure --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Structure?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Structure
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hello-qm-structure/badge)](https://www.skillsdirectory.com/skills/hello-qm-structure)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: structure-router
description: >
  Use when the user asks to build, modify, or prepare atomic structures:
  slabs, adsorbates, supercells, doping, defects, or fetching from databases.
---

# Structure Building Router

This skill routes structure building requests to the correct sub-skill.

## Routing Table

| User Intent | Sub-Skill | Key Indicators |
|-------------|-----------|----------------|
| Surface slab from bulk | `slab/` | "slab", "surface", "Miller index", "(111)", "(110)" |
| Place adsorbate on surface | `adsorbate/` | "adsorb", "place OH", "add CO", "binding site" |
| Substitutional doping | `doping/` | "dope", "substitute", "replace Fe with Co" |
| Fetch crystal from database | (direct) | "get from MP", "fetch TiO2", "Materials Project" |
| Fetch molecule | (direct) | "get CO molecule", "fetch water" |
| Make supercell | (direct) | "supercell", "2x2x1", "expand" |

## MCP Tools

### catgo_structure — Build and modify structures

```json
{"tool": "catgo_structure", "arguments": {"action": "slab", ...}}
{"tool": "catgo_structure", "arguments": {"action": "supercell", ...}}
{"tool": "catgo_structure", "arguments": {"action": "add_atom", ...}}
{"tool": "catgo_structure", "arguments": {"action": "delete_atoms", ...}}
{"tool": "catgo_structure", "arguments": {"action": "replace_atom", ...}}
```

### catgo_fetch — Retrieve structures from databases

```json
{"tool": "catgo_fetch", "arguments": {"action": "crystal", "formula": "TiO2", "source": "mp"}}
{"tool": "catgo_fetch", "arguments": {"action": "molecule", "name": "water"}}
```

### catgo_view — Inspect and push structures

```json
{"tool": "catgo_view", "arguments": {"action": "get_state"}}
{"tool": "catgo_view", "arguments": {"action": "push", "structure": {...}}}
```

## Standard Build Sequence

Most catalysis workflows follow this structure preparation pipeline:

```
1. Fetch bulk crystal      catgo_fetch(action: crystal)
2. Generate slab           catgo_structure(action: slab)
3. Make supercell          catgo_structure(action: supercell)
4. (Optional) Dope         catgo_structure(action: replace_atom)
5. Place adsorbate         catgo_structure(action: add_atom)
6. Verify structure        catgo_view(action: get_state)
```

### Example: OH on Pt(111)

```json
{"tool": "catgo_fetch", "arguments": {
  "action": "crystal", "formula": "Pt", "source": "mp"
}}
```

```json
{"tool": "catgo_structure", "arguments": {
  "action": "slab", "miller_index": [1,1,1],
  "min_slab_size": 12.0, "min_vacuum_size": 15.0
}}
```

```json
{"tool": "catgo_structure", "arguments": {
  "action": "supercell", "scaling": [2, 2, 1]
}}
```

```json
{"tool": "catgo_structure", "arguments": {
  "action": "add_atom", "element": "O", "position": [2.77, 1.60, 14.5]
}}
```

```json
{"tool": "catgo_structure", "arguments": {
  "action": "add_atom", "element": "H", "position": [2.77, 1.60, 15.47]
}}
```

```json
{"tool": "catgo_view", "arguments": {"action": "get_state"}}
```

## Python API

```python
from catgo.workflow import Workflow

wf = Workflow("Structure prep")

# Fetch and input
inp = wf.add_task("structure_input", structure=bulk_json)

# Build slab
slab = wf.add_task("slab_gen",
    structure=inp.output.structure,
    miller_index=[1, 1, 1],
    min_slab_size=12.0,
    min_vacuum_size=15.0)

# Place adsorbate
ads = wf.add_task("adsorbate_place",
    structure=slab.output.structure,
    adsorbate="OH",
    site_type="top",
    site_index=0)
```

## Verification Checklist

After building any structure, verify:

1. **Atom count**: expected number of atoms for the supercell size
2. **Vacuum**: sufficient vacuum for surface calculations (>12 A)
3. **No overlaps**: minimum interatomic distance > 0.5 A
4. **Correct composition**: stoichiometry matches expectation
5. **Adsorbate position**: reasonable height above surface (1.5-2.5 A)

Use `catgo_view(action: get_state)` to inspect the current structure.

## Common Pitfalls

1. Always fetch the bulk crystal BEFORE cutting a slab. Do not try to
   cut a slab from an already-cut slab.
2. Make the supercell BEFORE placing adsorbates. Supercell operation
   replicates all atoms, including adsorbates.
3. For Materials Project fetch, use reduced formula (e.g., "TiO2" not "Ti2O4").
4. After each structure modification, verify with `catgo_view` before
   proceeding to the next step.
5. The viewer shows the structure in the browser. MCP tools modify the
   viewer state directly -- there is no separate "save" step.

Attribution

Hello-QMHello-QM
View sourceMore from Hello-QM →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →