figcraft

figcraft is a skill for Claude Code, Codex from BlackBeltTechnology/pi-agent-dashboard. It costs 92 tokens per session (2,411 once invoked), scanned A, original, MIT.

A headless interface-design tool for creating screens, frames, components, text, and layouts in a Figma-style document. It can export designs or individual layers as PNG, JPG, SVG, or PDF.

In plain words
What is it for?
Use it to design app screens, mobile interfaces, buttons, and other UI parts, then export the results for review or handoff.
Why use it?
It lets you generate and inspect interface designs from scripts instead of manually using a design application. It can also keep reusable components and design-system elements together.

Skill for Claude CodeCodex

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

Good fit Use it to design app screens, mobile interfaces, buttons, and other UI parts, then export the results for review or handoff.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blackbelttechnology/pi-agent-dashboard/figcraft
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 BlackBeltTechnology/pi-agent-dashboard --skill figcraft
Clone the repo
git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard

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 figcraft

README.md
[![agentmods](https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/figcraft/github.svg)](https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/figcraft)
Your own site
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/figcraft"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/figcraft/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 figcraft

Your own site · 80×15
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/figcraft"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/figcraft.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,411 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.00092 $0.02411
Opus 5.5 $0.00037 $0.00964
Sonnet 5.5 $0.00018 $0.00482
Haiku 4.5 $0.00009 $0.00241

Measured yesterday against content hash 6456f8a6a2c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

figcraft 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 yesterday.

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.

packages/craft-apps/.pi/skills/figcraft/SKILL.md · 141 lines

How it starts

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

FigCraft — headless UI design

FigCraft is ArtCraft's interface-design app (pages, frames, auto layout, components, variables, prototyping; 1 100+ commands). pi-craft provisions the headless figcraft-cli on first use (no desktop app). App choice, the discover → execute → save → verify loop and the MCP policy live in craft-studio.

What it is for / formats

Screens and design systems. Native file: .figcraft (JSON). Opens .figcraft .json (FigCraft or REST API file JSON) .fig (best effort; info lists what was not imported) .svg and rasters (.png .jpg .webp .gif .bmp → an image layer). Exports png jpg webp svg pdf and .fig (experimental). For free-form vector illustration use VectorCraft; for page layout/print DesignCraft.

CLI dialect

pi-craft figcraft exec <args…> passes the arguments to figcraft-cli. There is no --help (use help); --no-system-fonts on any subcommand makes text render identically on every machine.

figcraft-cli commands [--json] [--filter TEXT]        # text listing ("id*  label" + params line) or JSON; no describe command
figcraft-cli run SCRIPT [--in FILE] [--out FILE]      # SCRIPT = .jsonl (one step per line) or .json (array) of {"command": id, "params": {…}}
figcraft-cli info FILE [--json]                       # pages, frames with ids, node count
figcraft-cli export FILE -o OUT [--format png|jpg|svg|webp|pdf|fig] [--scale N] [--page NAME] [--node ID|NAME]
figcraft-cli render FILE -o OUT.png [--scale N] [--page NAME]
figcraft-cli convert IN OUT                           # e.g. svg -> .figcraft, .figcraft -> .fig
  • Scripts are files, not --cmd flags: write the JSON lines to a file and run it. The result of each step is a JSON line ({"ok":true,"result":{"id":2},"step":0}) — ids are small integers assigned in creation order (the first frame is 2), so later steps reference earlier ones with "parent": 2.
  • export -o OUT: when OUT has an image extension (or --node is given) one file is written; otherwise OUT is a directory that gets one file per top-level frame named after the frame (--format picks the type). A PDF of a file has one page per top-level frame.
  • --node takes an id or a layer name (--node Button); --scale 2 doubles pixel size (a 393×852 frame → 786×1704). render is the same as a png export without --node.
  • In-script export: file.export {ids, format, size: "2x" | scale, path} writes during the run (relative to cwd).

Read the full file on GitHub · 141 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. yesterday First seen · 141 lines · 92 tokens per session scan A 6456f8a6a2c0

Subscribe to this mod's changes

figcraft is a skill published in the GitHub repository BlackBeltTechnology/pi-agent-dashboard (319 stars, last pushed yesterday), licensed MIT. It adds 92 tokens to every session and 2,411 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-10-15.