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.
npx agentmods add skills/yintzuyuan/glyphs-reference/glyphs-python-apinpx skills add yintzuyuan/glyphs-reference --skill glyphs-python-apigit clone --depth 1 https://github.com/yintzuyuan/glyphs-referenceWrote 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.
[](https://agentmods.dev/skills/yintzuyuan/glyphs-reference/glyphs-python-api)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00068 | $0.00740 |
| Opus 5 | $0.00034 | $0.00370 |
| Sonnet 5 | $0.00014 | $0.00148 |
| Haiku 4.5 | $0.00007 | $0.00074 |
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 3d 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.
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.
What ships with it
10 files 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.
- references/class-index.md 5.6 KB
- scripts/_parse_rst.py 17 KB runs code
- scripts/_sdk_utils.py 1.6 KB runs code
- scripts/read_class.py 5.0 KB runs code
- scripts/search_api.py 4.2 KB runs code
- tests/conftest.py 1.8 KB runs code
- tests/test_parse_rst.py 9.5 KB runs code
- tests/test_read_class.py 5.2 KB runs code
- tests/test_sdk_utils.py 3.8 KB runs code
- tests/test_search_api.py 4.7 KB runs code
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.
- 3d ago First seen · 98 lines · 68 tokens per session scan A 1165b3d98482
glyphs-python-api is a skill published in the GitHub repository yintzuyuan/glyphs-reference (6 stars, last pushed 2mo ago), licensed MIT. It adds 68 tokens to every session and 740 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.
Other skills, from other repositories
developing-kafka-python-client
Use when the user wants to build a Python Kafka producer or consumer, add Schema Registry to existing Python code, migrate from raw JSON to schema-backed serialization, or scaffold a confluent-kafka-python project for Confluent Cloud, local Docker, or WarpStream. Also use when user wants to optimize Python Kafka…
python-api
Look up the public API of a Python package against the installed version and cache what's worth keeping. Four shapes by question type: (0) cache hit under scratch/api/ / /; (1) inspect.signature + pydoc.renderdoc for a symbol; (2) dir / pkgutil.itermodules for a module surface; (3) WebSearch + WebFetch of versioned…
python-code-style
Owns Python code style for this stack: ruff for lint + format, numpydoc for docstrings. Three responsibilities — (1) place the project's ruff.toml from the bundled template once the stack and workspace are in place, (2) run ruff against any Python files Claude has just generated or edited, and (3) contextualize each…
python-services
Python patterns for CLI tools, async concurrency, and backend services. Use when working with Python code, building CLI apps, FastAPI services, async with asyncio, background jobs, or configuring uv, ruff, ty, pytest, or pyproject.toml.
data-science-python-stack
Opinionated Python stack for data-science / ML work — one library per job, organized into tiers (mandatory / user choice / optional / transitive). SKILL.md is the index; per-library references/ .md files carry scope, "pick this when" / "pick something else when", and pairings. TRIGGER when (any of these): (1) a…
uv
Use this skill when working with Python projects, packages, scripts, environments, or dependencies using uv. Activates on mentions of uv, uv add, uv sync, uv run, uv lock, uv init, uv build, uv publish, uv export, uv python, uvx, uv tool, uv pip, uv venv, uv workspace, uv audit, uv version, pyproject.toml…