# Handwriting to Font

Turn a handwriting photo into an installable TTF font.

- Repository: https://github.com/NousResearch/hermes-agent (259479 stars)
- Category: Design
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add NousResearch/hermes-agent --skill draw-your-font -g -a claude-code -y`
Codex: `npx skills add NousResearch/hermes-agent --skill draw-your-font -g -a codex -y`
Cursor: `npx skills add NousResearch/hermes-agent --skill draw-your-font -g -a cursor -y`
Gemini CLI: `npx skills add NousResearch/hermes-agent --skill draw-your-font -g -a gemini-cli -y`

## Description

Turn a handwriting photo into an installable TTF font.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# draw-your-font

Photo of handwritten letters in → installable font out. You do the seeing
(find and label letters, judge quality); the CLI does all geometry (trace,
metrics, font assembly). Never edit SVG paths or coordinates yourself.

## Setup in Hermes (once per session)

The CLI is the pinned npm package `draw-your-font@0.1.0`, run it via npx (Node ≥ 18 required, no global install needed):

```bash
npx -y draw-your-font@0.1.0 --help
```

Wherever the examples below show `$DYF`, use `npx -y draw-your-font@0.1.0`. Shell variables do not persist between tool calls, so paste the full command each time. Everything runs locally; the user's handwriting never leaves the machine.

Photos arrive in Hermes either as a file path in the message or via the gateway image cache, use the actual file path with the CLI. When a photo lands in the conversation with no path, ask the user for the file (the CLI needs a real file, not your memory of the image).

Do the visual steps (contact sheets, previews, glyph sheets) by loading the PNGs with `vision_analyze`.

## Decide the flow

- **User has no photo yet** → offer the template: print, write, photograph.
- **User shares photo(s) of handwriting** → main flow below.
- **User pasted an image but there is no file path** → you can see it, but the
  CLI needs a file. Ask them to drag the image file into the terminal (that
  inserts its path) or give the path directly. Do not proceed from memory.
- **User wants changes to a font built this session** → Refine section.

## Template flow (best quality)

```bash
$DYF template -o template.pdf --charset minimal   # or: spanish
```

Tell the user: print it, write one character per box with a dark pen
(0.5 mm+), keep the letter sitting on the solid line, then photograph each
page from above in good light and share the file paths. The grid prints in
light grey and vanishes during processing - only their ink survives.

## Main flow: photo(s) → font

The rest: https://github.com/NousResearch/hermes-agent/blob/HEAD/optional-skills/creative/draw-your-font/SKILL.md
