glyphs-python-api

glyphs-python-api is a skill for Claude Code from yintzuyuan/glyphs-reference. It costs 68 tokens per session (740 once invoked), scanned A, original, MIT.

A searchable reference for the Glyphs Python scripting API, the programming interface used to automate the Glyphs font-design application. It documents font, glyph, layer, and related objects, functions, and constants.

In plain words
What is it for?
Use it when writing or debugging Python scripts for Glyphs, including tasks involving GSFont, GSLayer, GSGlyph, font data, and other documented API objects.
Why use it?
It removes the need to search through the full API documentation to find a property, method, constant, or example.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the glyphs-reference plugin — 10 skills, 1 agent shipped together

Good fit Use it when writing or debugging Python scripts for Glyphs, including tasks involving GSFont, GSLayer, GSGlyph, font data, and other documented API objects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yintzuyuan/glyphs-reference/glyphs-python-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yintzuyuan/glyphs-reference --skill glyphs-python-api
Clone the repo
git clone --depth 1 https://github.com/yintzuyuan/glyphs-reference

Made for: Claude Code.

Or install glyphs-reference, the plugin that ships this one along with the rest of its 10 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for glyphs-python-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/yintzuyuan/glyphs-reference/glyphs-python-api/github.svg)](https://agentmods.dev/skills/yintzuyuan/glyphs-reference/glyphs-python-api)
Your own site
<a href="https://agentmods.dev/skills/yintzuyuan/glyphs-reference/glyphs-python-api"><img src="https://agentmods.dev/badge/skills/yintzuyuan/glyphs-reference/glyphs-python-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for glyphs-python-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/yintzuyuan/glyphs-reference/glyphs-python-api"><img src="https://agentmods.dev/badge/skills/yintzuyuan/glyphs-reference/glyphs-python-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 740 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.00740
Opus 5.5 $0.00027 $0.00296
Sonnet 5.5 $0.00014 $0.00148
Haiku 4.5 $0.00007 $0.00074

Measured 3mo ago against content hash 1165b3d98482, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

glyphs-python-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/_parse_rst.py, scripts/_sdk_utils.py, scripts/read_class.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/glyphs-python-api/SKILL.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Glyphs Python API Reference

Python Scripting API reference extracted from GlyphsSDK Sphinx documentation. Covers all 35 wrapper classes, standalone helper functions, and constants with their actual values.

Scripts

Run all scripts from this skill's base directory. Prepend the base directory path to scripts/ when executing.

Script Purpose Output
search_api.py Search/list classes, members, constants, functions Classes with counts, or search results
read_class.py Read class/member/function details Full properties, methods, types, examples

Usage

Browse Classes

# List all 35 classes with property/method counts
python scripts/search_api.py

# Search across classes, properties, methods, constants
python scripts/search_api.py --search "layer"

# List all constants with values
python scripts/search_api.py --constants

# List standalone functions
python scripts/search_api.py --functions

Read Details

# Full class details (properties + methods + descriptions)
python scripts/read_class.py GSFont

# Specific member (type, description, examples)
python scripts/read_class.py GSFont --member masters

# Summary (property/method names only)
python scripts/read_class.py GSFont --summary

# Cross-reference relationships
python scripts/read_class.py GSFont --relationships

# Standalone function details
python scripts/read_class.py --function divideCurve

Workflow Example

User: "How do I access font masters in Python?"

1. Search for relevant classes:
   $ python scripts/search_api.py --search "master"
   → GSFontMaster class + related properties

2. Read the class overview:
   $ python scripts/read_class.py GSFontMaster --summary
   → All property/method names

3. Get specific member details:
   $ python scripts/read_class.py GSFontMaster --member customParameters
   → Description, type, code examples

4. Check relationships:
   $ python scripts/read_class.py GSFontMaster --relationships
   → Referenced by GSFont, GSLayer, etc.

Read the full file on GitHub · 98 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 98 lines · 68 tokens per session scan A 1165b3d98482

Subscribe to this mod's changes

glyphs-python-api is a skill published in the GitHub repository yintzuyuan/glyphs-reference (6 stars, last pushed 5mo ago), licensed MIT. It adds 68 tokens to every session and 740 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

glyphs-python-api compared with skills from other repositories

glyphs-python-api next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
glyphs-python-apiyintzuyuan/glyphs-referenceSkill65mo agoMITA68Claude Code
cardputer-buddyanthropics/claude-plugins-officialSkill49kyesterdayApache-2.0A109Claude Code
developing-genkit-pythongoogle/skillsSkill26kyesterdayApache-2.0A96Claude Code, Codex
hypothesis-testingforyourhealth111-pixel/Vibe-SkillsSkill3.9k25d agoApache-2.0A62Claude Code, Codex
paper2codePrathamLearnsToCode/paper2codeSkill1.6k24d agoMITA72Claude Code, Codex
authoring-dagsastronomer/agentsSkill4662d agoApache-2.0A93Claude Code
gh-address-commentsforyourhealth111-pixel/Vibe-SkillsSkill3.9k25d agoApache-2.0A39Codex