nolanmak

Esign — Development skill for Claude Code

Development community

Let Claude Code or Codex sign PDFs with your own signature: finds the line, stamps, fills the date, flattens and previews.

How to install Esign

This entry records only its repository, not the path inside it, so there is no exact command to give. Open nolanmak/esign and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Esign does

Let Claude Code or Codex sign PDFs with your own signature: finds the line, stamps, fills the date, flattens and previews. Local, MIT.

Alternatives in Development

README

esign

Let your AI coding agent sign PDFs for you. `esign` is a small Claude Code / Codex skill (and a standalone CLI) that stamps **your own** signature image onto a PDF's signature line, fills the date, flattens the result so nothing can shift or be edited, and renders a preview so the agent can check its work.

It works on fillable forms (it finds signature and date fields for you) and on plain PDFs (give it a page and a box). Nothing is uploaded anywhere: it runs locally with `pypdf` and `reportlab`.

Install

git clone https://github.com/nolanmak/esign.git
mkdir -p ~/.claude/skills && cp -R esign ~/.claude/skills/esign      # Claude Code
mkdir -p ~/.codex/skills  && cp -R esign ~/.codex/skills/esign       # Codex (optional)
python3 -m pip install --user pypdf reportlab
brew install poppler   # optional, for previews; macOS falls back to qlmanage

Add your signature (once)

  1. Make a PNG of your signature with a transparent or white background, cropped tight (about 1200x300 px):
    • macOS Preview: Markup › Sign › Create Signature (trackpad or camera), sign a blank PDF, then screenshot it.
    • Paper: sign in black ink, photograph it straight-on, crop it, and remove the background (Preview › Instant Alpha).
  2. Register it:
    python3 ~/.claude/skills/esign/scripts/esign.py setup --image ~/Downloads/signature.png --name "Your Full Legal Name"
    python3 ~/.claude/skills/esign/scripts/esign.py whoami
    This copies the image and your name to ~/.config/esign/ (mode 600). The repo never stores a signature, and .gitignore blocks one from being committed.

Use it

Ask your agent: *"Fill out this form and sign it"* or *"Sign page 3 of contract.pdf"*. The skill tells the agent how to find the line, sign only as you, flatten the result and check it visually.

Or by hand:

E=~/.claude/skills/esign/scripts/esign.py
python3 $E fields form.pdf                                                # list fields; flags [SIG