glyphs-remote-scripts

glyphs-remote-scripts is a skill for Claude Code from yintzuyuan/glyphs-reference. It costs 51 tokens per session (1,655 once invoked), scanned A, original, MIT.

A bridge for controlling the Glyphs font-design application from external Python programs on macOS. It can connect to a running Glyphs instance and run scripts or work with font objects.

In plain words
What is it for?
Use it for automated font exports, UFO work, document and layer access, object creation, and remote execution of Glyphs scripts.
Why use it?
It lets automation run from a terminal, script, or continuous-integration job instead of requiring code to be run inside Glyphs' built-in macro window.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

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

Good fit Use it for automated font exports, UFO work, document and layer access, object creation, and remote execution of Glyphs scripts.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add yintzuyuan/glyphs-reference
Claude Code
/plugin install 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-remote-scripts

README.md
[![agentmods](https://agentmods.dev/badge/skills/yintzuyuan/glyphs-reference/glyphs-remote-scripts/github.svg)](https://agentmods.dev/skills/yintzuyuan/glyphs-reference/glyphs-remote-scripts)
Your own site
<a href="https://agentmods.dev/skills/yintzuyuan/glyphs-reference/glyphs-remote-scripts"><img src="https://agentmods.dev/badge/skills/yintzuyuan/glyphs-reference/glyphs-remote-scripts/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-remote-scripts

Your own site · 80×15
<a href="https://agentmods.dev/skills/yintzuyuan/glyphs-reference/glyphs-remote-scripts"><img src="https://agentmods.dev/badge/skills/yintzuyuan/glyphs-reference/glyphs-remote-scripts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,655 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.00051 $0.01655
Opus 5 $0.00026 $0.00827
Sonnet 5 $0.00010 $0.00331
Haiku 4.5 $0.00005 $0.00166

Measured 8d ago against content hash 16fd7852348f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

glyphs-remote-scripts 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 8d ago.

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-remote-scripts/SKILL.md · 150 lines

How it starts

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

Glyphs Remote Scripts Skill

Control Glyphs.app from an external Python process via NSConnection (Distributed Objects). This API provides a bridge to create objects, access documents, and execute Macro code without running inside Glyphs. Use it when you need to drive Glyphs from a system-level script (CI pipeline, terminal, automation runner) rather than from the Macro window or a plugin.

Source Path

${GLYPHS_SDK_PATH}/Glyphs remote scripts/

Where GLYPHS_SDK_PATH is the local GlyphsSDK submodule root. Typically GlyphsSDK/ relative to the plugin repository root. If unset, fall back to ${CLAUDE_PLUGIN_ROOT}/GlyphsSDK/.

The entire API is contained in 4 files (~210 lines total):

File Lines Content
Glyphs.py 106 Bridge module: connection, factory functions, RunScript, constants
testExternal.py 103 6 usage examples (export, UFO, RunScript, layer access, etc.)
accessSpecificVersion.py 5 Connect to a specific Glyphs build version
Readme.md 3 Brief description

Key Concept: NSConnection Bridge

The bridge uses macOS Distributed Objects (NSConnection) to connect to a running Glyphs.app instance. This means:

  • Glyphs.app must be running before executing any remote script
  • No Python wrapper available — must use Obj-C method names (e.g., font.familyName(), glyph.setName_(name)) instead of Python-style property access (e.g., font.familyName, glyph.name = name)
  • Objects returned are proxy objects communicating via inter-process messaging
  • Method calls are synchronous and block until Glyphs responds; expect higher latency than in-process calls

When to use remote scripts vs. inside-Glyphs scripts

Goal Use
One-off automation from terminal Remote scripts (this skill)
CI / scheduled job that opens fonts, runs ops, exports Remote scripts
Macro window interactive prototyping Inside-Glyphs (glyphs-python-api)
Plugin (Reporter, Filter, etc.) Inside-Glyphs (glyphs-sdk-reference)
Read .glyphs file without launching Glyphs Neither — use glyphsLib Python package

Read the full file on GitHub · 150 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 150 lines · 51 tokens per session scan A 16fd7852348f

Subscribe to this mod's changes

glyphs-remote-scripts is a skill published in the GitHub repository yintzuyuan/glyphs-reference (6 stars, last pushed 2mo ago), licensed MIT. It adds 51 tokens to every session and 1,655 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

frontend-design

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

anthropics/claude-plugins-official · 40 tokens

visual-plan

Turn ordinary text plans into rich interactive visual plans with diagrams, file maps, annotated code, open questions, and UI/prototype review when useful.

BuilderIO/skills · 32 tokens

visual-edit

Open a running local app in Design overview mode as URL-backed iframe screens for visual editing, flow review, duplication, and route-state exploration. Use when the user asks to inspect, compare, or edit a real local app visually in Design.

BuilderIO/skills · 51 tokens

display-glasses-with-jetpack-compose-glimmer

Provides guidelines for developing projected Android XR apps for display glasses using the Jetpack Compose Glimmer UI toolkit. This skill covers foundational Glimmer design principles, workflows for implementing Jetpack Compose Glimmer, and interaction models for the glasses form factor. Use this skill to build an…

android/skills · 91 tokens

baseline-ui

Quickly deslop UI code by fixing spacing, hierarchy, typography, and small layout issues. Use when the interface needs a fast cleanup or polish pass.

ibelick/ui-skills · 34 tokens

accessibility

Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

addyosmani/web-quality-skills · 51 tokens