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/ricfulop-aps-figure-style
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
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
aps-figure-style- Description
- None
- License
- MIT
- Instructions
- 63 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- missing YAML frontmatter
- name: missing
- description: missing
Files (1)
- SKILL.md
SKILL.md (first lines)
# APS Figure Style (PRL / PRX / PRB / PRMaterials)
Use this skill when creating or editing matplotlib figures for APS journals (Physical Review Letters, Physical Review X, Physical Review B, Physical Review Materials, etc.), or when the user mentions APS style, PRL figures, PRX figures, or publication-quality physics figures.
## How to Apply
```python
from pathlib import Path
import sys
# Portable: walk cwd, ~/.cursor/plugins/local/cba-agentic-engineering-bootstrap/lib, or this clone.
sys.path.insert(0, str(Path.home() / ".cursor/plugins/local/cba-agentic-engineering-bootstrap/lib"))
try:
from paths import add_styles_to_sys_path
add_styles_to_sys_path()
except ImportError:
pass
from styles import apply_aps_style, aps_double, aps_single, OKABE_ITO, MATERIALS
# Apply APS style before creating any figure
apply_aps_style() # STIX serif, no LaTeX required
# apply_aps_style(use_latex=True) # Use if LaTeX is available
# Use APS column widths
fig, ax = plt.subplots(figsize=aps_double()) # 6.75 x 3.2 in (double column)
fig, ax = plt.subplots(figsize=aps_single()) # 3.375 x 3.375 in (single column)
fig, ax = plt.subplots(figsize=aps_double(2.4)) # 6.75 x 2.4 in (compact strip)
```
## Key Conventions
- **Fonts:** STIX serif (or Computer Modern with LaTeX), 10pt body, 10pt axis labels, 9pt tick labels, 8pt legend
- **Ticks:** Inward, all four sides (top/right included), minor ticks visible
- **DPI:** 150 screen / 600 save. Always save PDF at 600 DPI with `pdf.fonttype=42`
- **Column widths:** 3.375 in (single), 6.75 in (double)
- **Palette:** Okabe-Ito colorblind-safe (`OKABE_ITO` dict with keys: blue, vermillion, orange, sky_blue, green, purple, yellow, black, gray)
- **For large panels** rendered at `0.48\textwidth`: use `apply_aps_large_style()` with 22pt fonts
## Color Palette
```python
from styles import OKABE_ITO as OI
ax.plot(x, y, color=OI["blue"]) # #0072B2
ax.plot(x, y, color=OI["vermillion"]) # #D55E00
ax.plot(x, y, color=OI["green"]) # #009E73
ax.plot(x, y, color=OI["orange"]) # #E69F00
```
For crystal/materials figures, use `MATERIALS` dict which extends Okabe-Ito with zr_blue (#4a86c8), o_red (#e74c3c), gold (#FFD700), etc.
## Saving Figures
```python
fig.savefig("figure.pdf", dpi=600, bbox_inches="tight", pad_inches=0.05)
fig.savefig("figure.png", dpi=300, bbox_inches="tight", pad_inches=0.05)
```
## Crystal Structure MCP Tools
For lattice diagrams, use `crystal_mcp` tools which automatically use APS-compatible styling:
- `crystal.import_structure` → `crystal.render_lattice` → `crystal.export_tikz`
- Atom colors: `{"Zr": "#4a86c8", "O": "#e74c3c"}` matches the materials paletteFrom ricfulop/cba-agentic-engineering-bootstrap, MIT.
More from ricfulop/cba-agentic-engineering-bootstrap
- 0.552score
paper-lookup
ricfulop
Search 10 academic paper databases via REST APIs for research papers, preprints, and scholarly articles.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
dual-source-honesty
ricfulop
Keep fetch-time catalogs distinct from corrected bibliographies; keep measured, derived, and estimated values distinct.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
domain-corpus-bootstrap
ricfulop
Become a domain expert in X by building a reproducible, legally-acquired literature corpus for a new project or topic — topic map, checked-in query manifest…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
prereg-freeze
ricfulop
Hash-bound preregistration before confirmatory runs.
SkillBFreshness: B★ 1Claude Code +9 - 0.546score
figure-style
ricfulop
Pointer to APS, Nature, and Science figure skills plus lib/styles.py.
SkillBFreshness: B★ 1Claude Code +9 - 0.545score
mit-presentation
ricfulop
Build academic PowerPoint decks from the official MIT Arial template.
SkillBFreshness: B★ 1Claude Code +9 - 0.542score
literature-corpus
ricfulop
Pointer to domain-corpus-bootstrap.
SkillBFreshness: B★ 1Claude Code +9 - 0.540score
pymc
ricfulop
Bayesian modeling with PyMC.
SkillBFreshness: B★ 1Claude Code +9 - 0.294score
nature-figure-style
ricfulop
No description from the publisher yet.
SkillBFreshness: B★ 1Claude Code +9 - 0.294score
manuscript-prose-style
ricfulop
No description from the publisher yet.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 2, 2026 (1 month 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 ricfulop
- 0.552score
paper-lookup
ricfulop
Search 10 academic paper databases via REST APIs for research papers, preprints, and scholarly articles.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
dual-source-honesty
ricfulop
Keep fetch-time catalogs distinct from corrected bibliographies; keep measured, derived, and estimated values distinct.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
prereg-freeze
ricfulop
Hash-bound preregistration before confirmatory runs.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
domain-corpus-bootstrap
ricfulop
Become a domain expert in X by building a reproducible, legally-acquired literature corpus for a new project or topic — topic map, checked-in query manifest…
SkillBFreshness: B★ 1Claude Code +9 - 0.546score
figure-style
ricfulop
Pointer to APS, Nature, and Science figure skills plus lib/styles.py.
SkillBFreshness: B★ 1Claude Code +9 - 0.545score
mit-presentation
ricfulop
Build academic PowerPoint decks from the official MIT Arial template.
SkillBFreshness: B★ 1Claude Code +9
Cite this page
aps-figure-style skill. Agent Mart. https://agentmart.dev/skills/ricfulop-aps-figure-style (last updated 2026-10-24)