Cotal: Skill for Claude Code

.claude/skills/pixel-face/SKILL.md

pixel-face is a skill for Claude Code from Cotal-AI/Cotal. It costs 138 tokens per session (1,754 once invoked), scanned A, original, Apache-2.0.

A workflow for creating and refining 32-by-32 pixel-art faces for the Frontier Faces demo, where animated agent avatars are shown in a terminal and browser. Each face is stored as data that drives these renderers and the gallery.

In plain words
What is it for?
Adding or improving a persona avatar, turning a reference photo into a rough pixel design, rendering contact sheets, and checking faces in the gallery or browser preview.
Why use it?
It keeps one face definition consistent across the terminal, browser, and PNG preview instead of requiring separate versions for each display.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is Cotal-AI/Cotal's own configuration. It tells Claude Code how to work on Cotal itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Cotal configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node tools/img2rows.mjs --in assets/<key>.png --w 24 --h 30 [--colors 12] [--x0 4] [--y0 0].

Reuse

Borrowing it

Nothing to install: this file belongs to Cotal-AI/Cotal. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Cotal-AI/Cotal/main/.claude/skills/pixel-face/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Cotal-AI/Cotal

Made for: Claude Code.

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 pixel-face

README.md
[![agentmods](https://agentmods.dev/badge/skills/cotal-ai/cotal/pixel-face.svg)](https://agentmods.dev/skills/cotal-ai/cotal/pixel-face)
Your own site
<a href="https://agentmods.dev/skills/cotal-ai/cotal/pixel-face"><img src="https://agentmods.dev/badge/skills/cotal-ai/cotal/pixel-face.svg" alt="Measured on agentmods" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,754 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00138 $0.01754
Opus 5 $0.00069 $0.00877
Sonnet 5 $0.00028 $0.00351
Haiku 4.5 $0.00014 $0.00175

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

Security

Grade A, and why

pixel-face 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.

.claude/skills/pixel-face/SKILL.md · 85 lines

How it starts

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

pixel-face — author & refine the Frontier Faces pixel art

A persona face is pure data in examples/04-frontier-faces/personas.mjs (one entry per persona). The same data drives the terminal renderer (face-term.mjs), the browser element (web/cotal-face.js), and the PNG tool — so edit personas.mjs once and it's live everywhere. Always work from examples/04-frontier-faces/.

Where things are

  • personas.mjs — the entries (rows, colors, glow, mouths, expr, eyes, lines). Single source of truth.
  • FACE-DESIGN.md — the full conventions (grid zones, color keys, eye recipe, visemes). Read it first.
  • tools/img2rows.mjs — rough a reference photo into a 32×32 rows+palette.
  • tools/render-png.mjs — render a 7-state contact sheet (PNG) for review. This is the validator.
  • tools/face-template.mjs — copy-me starter entry that encodes the conventions.
  • gallery.html (all personas, original-vs-pixel) and preview.html?p=<key> (one persona) — served via python3 -m http.server or tools/serve-wall.mjs; for visual QA.
  • assets/<persona-key>.<ext> — reference photos. Gitignored / local-only — never commit them.

Persona key ≠ agent name. The roster uses agent-file basenames; the face comes from each agent's face: frontmatter: elonmusk, stevejobs, rayanray (others match). Persona keys: neon david ray sven garry jobs musk dario mira bernie michelle.

Conventions (condensed — full detail in FACE-DESIGN.md)

  • Grid 32×32, . = transparent, face centered ~col 15. Zones: hair 1–9 · brows 10–11 (drawn by expr, not rows) · eyes 12–13 (drawn by eyes()) · nose 14–16 · mouth 18–20 (drawn by mouths) · chin 21–24 · collar 26–31.
  • Color keys: skin P light / S mid / s shadow · E pupil · W/w catchlight · R lip · m lip-shadow · b brow · h hair · L cyan + M magenta = the cotal glow ribbon (glow: { L: 8, M: 6 } blurs them). Use rng(row, c1, c2, key) (exported from personas.mjs) for runs.
  • Eye recipe: 2-wide iris (E) on the iris row; row below = catchlight (W/w, OUTER corner)
    • lid-shadow (s, INNER). jobs is the "alive" benchmark — match its eye, don't use flat black blocks.
  • Surprise = raised brows + open mouth, eyes stay open (growing the iris behind glasses looks wrong). Don't reintroduce a wide eye style.
  • The face renders at a fixed 32×16 (not scaled to the pane), so faces look the same size as long as the pane is ≥ ~32 cols.

Read the full file on GitHub · 85 lines

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 · 85 lines · 138 tokens per session scan A 82c3fe3f44e1

Subscribe to this mod's changes

pixel-face is a skill published in the GitHub repository Cotal-AI/Cotal (261 stars, last pushed yesterday), licensed Apache-2.0. It adds 138 tokens to every session and 1,754 once invoked, about $0.0007 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-30.