/glyphs-mcp:glyphs-mcp-hintingfrom Glyphs MCP
Inventories, diagnoses, and compares PostScript/CFF, CFF2, or TrueType font hinting via Glyphs MCP. Analyzes stems, alignment zones, manual vs automatic hints, and small-size rendering issues before scoped repairs.
Ships in Glyphs MCP. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Determine which hinting route improves the intended font in its actual renderers. A count of hints, a sharper isolated pixel, or a sanitizer pass is not a quality verdict. Keep the result as “retain” when benefits are mixed. Do not turn an irregular handwriting or icon design into a regular text face merely to satisfy a hinter.
Read project instructions and current source/release context. Record the intended
sizes, renderers, weights, protected glyphs, saved-source path/hash and whether
unsaved edits matter. Identify the exported outline table (CFF , CFF2, glyf);
.otf, .ttf and .woff2 extensions alone do not establish hinting technology.
Research/writing-only requests need no live app. For native work reuse the exact
MCP document binding, or discover it once; never use the frontmost font implicitly.
For theory and current source links read references/hinting-guide.md. For actual app execution, exports and recovery read references/mcp-workflow.md. Discover negotiated capabilities and tool schemas rather than inventing a hinting native action.
Use scripts/source_hints.py SOURCE --output NEW_JSON for a saved Glyphs
package or flat source, using the raw parser, never a font-model rewrite. It
collects exact hint records from all foreground layers and existing backgrounds,
including backups/special layers, and separates production master counts.
It also records stems, zones, font/master/instance hint parameters and component
providers. Opaque archived data is explicitly outside the inventory.
Use scripts/native_hints.py to classify native GSHint objects and retain
node-link indexes, position/width, direction, options and native type flags.
Call inventory(font) with an explicitly supplied native font, or run the saved
source CLI described in the MCP reference. Corner/cap/brush helpers can share the
hint collection: never clear layer.hints indiscriminately. Preserve unknown
types. Unlinked coordinate hints are review candidates, not automatic defects.
The current MCP script wrapper can mark a font dirty even for inspection. Prefer save-free typed reads for exposed fields. For a complete live/unsaved inventory, use an authorized private copy and its exact ID; do not create a recovery decision on the user's canonical document merely to collect read-only evidence. A saved snapshot cannot certify unsaved live hints.
Run scripts/binary_hints.py FONT... --output NEW_JSON on actual deliverables.
It follows CFF subroutines in memory, inspects all private dictionaries, reports
CFF2 separately, and inventories TrueType programs/tables. Source hint counts
are not exported stem counts. Zero source hints can still yield autohinted CFF;
autoHint=False can still preserve manual hints. Verify the actual programs.
cvt , prep, fpgm, glyph instructions, gasp, and variable cvar as relevant.otfautohint
documents CFF2 support; check the installed tool/version/options before using
it on a separate output, without geometry-changing options.Use scripts/compare_fonts.py PLAN --output NEW_DIRECTORY --label-font FONT
for repeatable exact preservation checks and FreeType proofs. Its JSON plan is
specified in the MCP reference. Compare geometry, metrics, identity and layout
first; a different outline is not a hint-only victory. The helper rejects drift
and records failed evidence. For variables supply explicit check locations.
Review 1x text as well as nearest-neighbor enlarged pixels: baseline/cap/x-height, stem weight, counters, accents, diagonals, rhythm and clipping. Sample relevant adjacent ppem sizes and subpixel positions. Keep the baseline/origin, font file, variation location, antialiasing, hinting target, gamma/darkening and device scale controlled and recorded. Do not crop or independently recenter variants. Pixel counts measure change, not superiority; Pillow fractional positioning is not a substitute for a controlled FreeType/DirectWrite phase test.
Test a second relevant engine. CoreText may react to standard stems while showing no glyph-hint difference; matching Mac pixels cannot certify Windows or Adobe. Load exact files without global installation where possible and defeat font-name cache ambiguity with table/hash checks. Run OTS and applicable shaping/release checks; validators do not assess optical quality.
Before a source mutation resolve exact glyph/layer IDs and expected old hint
records/counts for all targets. Use the supported MCP script route with
preflight before its first write; filter rendering hints by native type flags,
retain non-target types, unknown helpers and unrelated layers/data. A native
export autohinter is not a documented GSLayer.autohint() source-edit method.
Keep save/close out of scripts and use the MCP lifecycle under existing user
scope/authorization. Reconcile a timeout by its original operation ID; do not
replay an uncertain edit, import or Save. Restore a whole font only when authorized.
Re-read the saved diff and rebuild affected outputs after an accepted edit. Report selected/retained options, exact font/source hashes, tested renderers and sizes, failures/skips and pending visual/app review. Keep fonts/proofs local when project policy requires it. This skill grants no publication, installation or source redesign authority beyond the user's task.
agents/openai.yaml (opens in a new tab)references/hinting-guide.md (opens in a new tab)references/mcp-workflow.md (opens in a new tab)scripts/binary_hints.py (opens in a new tab)scripts/compare_fonts.py (opens in a new tab)scripts/native_hints.py (opens in a new tab)scripts/source_hints.py (opens in a new tab)tests/test_hinting.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/glyphsRoute Glyphs 4 font work to the lean MCP tools and independent companion plugins./glyphs-mcp-developmentCreate, test and iterate native Glyphs 4 scripts and plugins in a workspace, including vibe coding and debugging existing plugins./glyphs-mcp-italic-first-passPrepare a first-pass slant on a disposable or explicitly authorized font./glyphs-mcp-kerningSet or remove exact kerning pairs, inspect language-tagged proofs and stored group coverage, and review collision repairs./glyphs-mcp-maintainer-feedbackCollect bounded reproduction evidence for a Glyphs MCP issue./glyphs-mcp-master-compatibilityReview master-layer correspondence and prepare consistent contour start nodes.npx claudepluginhub thierryc/glyphs-mcp --plugin glyphs-mcpOther plugins' skills for the same job