drawing-with-pycairo

drawing-with-pycairo is a skill for Claude Code, Codex from oaustegard/claude-skills. It costs 109 tokens per session (2,057 once invoked), scanned A, original, MIT.

A guide for onboarding designers and engineers to a team's design system, using the repository and Figma library as its sources. It produces a role-specific getting-started guide and marks facts that still need confirmation.

In plain words
What is it for?
Use it to prepare first-week guidance for a new designer, engineer, or both when they will work with the design system.
Why use it?
It avoids generic onboarding material that assumes the newcomer already knows the system. It gives new team members a path through the actual tools, rules, and references they will use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to prepare first-week guidance for a new designer, engineer, or both when they will work with the design system.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oaustegard/claude-skills/drawing-with-pycairo
Install

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.

Any agent
npx skills add oaustegard/claude-skills --skill drawing-with-pycairo
Clone the repo
git clone --depth 1 https://github.com/oaustegard/claude-skills

Made for: Claude Code, Codex.

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 drawing-with-pycairo

README.md
[![agentmods](https://agentmods.dev/badge/skills/oaustegard/claude-skills/drawing-with-pycairo/github.svg)](https://agentmods.dev/skills/oaustegard/claude-skills/drawing-with-pycairo)
Your own site
<a href="https://agentmods.dev/skills/oaustegard/claude-skills/drawing-with-pycairo"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/drawing-with-pycairo/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 drawing-with-pycairo

Your own site · 80×15
<a href="https://agentmods.dev/skills/oaustegard/claude-skills/drawing-with-pycairo"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/drawing-with-pycairo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,057 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.00109 $0.02057
Opus 5.5 $0.00044 $0.00823
Sonnet 5.5 $0.00022 $0.00411
Haiku 4.5 $0.00011 $0.00206

Measured 21d ago against content hash 3bc996a6ebda, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

drawing-with-pycairo 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 21d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/cairokit.py, scripts/selftest.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

drawing-with-pycairo/SKILL.md · 102 lines

How it starts

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

Drawing with pycairo

Cairo paints paths with solid colours, gradients, mesh gradients and images, and composites them with 20-odd operators. It writes PNG, PDF, SVG and PostScript. It does not shape text, filter pixels, combine paths, outline strokes, or do depth. scripts/cairokit.py fills each gap; scripts/selftest.py exercises all of it. Both were verified on pycairo 1.29.1 / cairo 1.18.0 / Python 3.11.

Setup

pip install --break-system-packages pycairo numpy uharfbuzz fonttools skia-pathops
python3 /mnt/skills/user/drawing-with-pycairo/scripts/selftest.py /tmp/cairo-selftest

The self-test prints the cairo version, whether Pango is usable, per-panel timings, and the path of a 2×2 contact sheet. Read that sheet: panel A shows joined Arabic in green next to broken toy-API Arabic in red, B shows four boolean results and an outlined wave, C shows glow and a soft shadow, D shows a smooth-shaded torus. Then:

import sys; sys.path.insert(0, "/mnt/skills/user/drawing-with-pycairo/scripts")
from cairokit import *

In the environment where this was built, pycairo was not preinstalled. Pango was also absent: the system PyGObject was compiled for Python 3.12 while python3 was 3.11, and there were no Pango typelibs. pango() reports which case you are in.

Render, then look

Every render ends with a Read of the PNG before the next edit or before reporting. Exit codes and timings don't show visual bugs. In the session that produced this skill, looking caught five defects that ran without error:

  • a painter sort drawn near-to-far
  • inward normals combined with a light pointing away from the camera, which left a black knot
  • a scene scaled in absolute pixels, cropped once the frame size changed
  • glyphs crowding on a squashed spiral, because arc length was measured on the unsquashed curve
  • a stray hook where a polyline's first move_to wasn't its first sample

For several outputs, contact_sheet() tiles them so one Read covers all of them. For animation, extract two or three frames with ffmpeg -ss T -i out.mp4 -frames:v 1 f.png and read those.

Read the full file on GitHub · 102 lines

Files

What ships with it

4 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.

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. 21d ago First seen · 102 lines · 109 tokens per session scan A 3bc996a6ebda

Subscribe to this mod's changes

drawing-with-pycairo is a skill published in the GitHub repository oaustegard/claude-skills (153 stars, last pushed yesterday), licensed MIT. It adds 109 tokens to every session and 2,057 once invoked, about $0.0004 per session on Opus 5.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-09-25.

Related

Other skills, from other repositories

claude-students

Transforma una carpeta cruda de material de un parcial universitario (PDFs, DOC/DOCX, PPT, audios .ogg de WhatsApp, capturas) en un material de estudio polished y completo — HTML SOTA autocontenido + paquete de artefactos de NotebookLM (podcast en español, infografía, guía de estudio, briefing doc, mind map, quiz…

josuebustosn/claude-students · 234 tokens

moodle-coderunner

Generate Moodle CodeRunner programming questions with Jobe server validation. Uses minimal pipeline: AI generates code + tests, Jobe computes expected output. Supports Java, Python, C, C++, Node.js. Produces import-ready Moodle XML. Battle-tested: 1000+ questions validated with 0% failure rate.

danielcregg/coderunner-skill · 69 tokens

scholar-wendao

A tool for building reusable analysis lenses from scholars and research fields. It gathers multilingual books, secondary research, biographies, and academic debates, then extracts the scholar’s concepts and methods.

tizzy916/scholar-wendao-skill · 181 tokens

aristotle-perspective

A classical philosophy analysis lens based on Aristotle’s ideas, with readings from four later traditions: Aquinas, Avicenna, Heidegger, and MacIntyre.

tizzy916/scholar-wendao-skill · 175 tokens

sales-enablement

Expert sales enablement strategist for building high-performing sales teams. Use when designing sales training programs, onboarding and ramp plans, sales playbooks, coaching frameworks, certification programs, or competitive intelligence distribution. Covers content strategy, tool adoption, performance measurement…

ncklrs/startup-os-skills · 75 tokens

baoyu-comic

A tool for creating original educational comics that explain knowledge or ideas through multiple illustrated panels. It supports different art styles and tones and can create several comics in one batch.

JimLiu/baoyu-skills · 61 tokens