figma-code-composer AGENTS.md

figma-code-composer AGENTS.md is an instructions file for Codex, OpenCode from punkadillo/figma-code-composer. It costs 1,472 tokens per session, scanned A, original, MIT.

Repository instructions for maintaining a Figma-driven code-generation pipeline, including its agents, commands, hooks, protocols, and project structure.

In plain words
What is it for?
Use them when developing or modifying the pipeline, its adapters, configuration, agent surfaces, and supporting protocols.
Why use it?
They give contributors a shared reference for how the repository is organized, configured, built, and tested.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

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.

agentmods
npx agentmods add instructions/punkadillo/figma-code-composer/agents-md
Clone the repo
git clone --depth 1 https://github.com/punkadillo/figma-code-composer

Made for: Codex, OpenCode.

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 figma-code-composer AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/punkadillo/figma-code-composer/agents-md.svg)](https://agentmods.dev/instructions/punkadillo/figma-code-composer/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/punkadillo/figma-code-composer/agents-md"><img src="https://agentmods.dev/badge/instructions/punkadillo/figma-code-composer/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,472 This file is loaded in full into every session.
When invoked 1,472 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.01472 $0.01472
Opus 5 $0.00736 $0.00736
Sonnet 5 $0.00294 $0.00294
Haiku 4.5 $0.00147 $0.00147

Measured 2d ago against content hash d4692fb1e137, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

figma-code-composer AGENTS.md 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 2d 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.

AGENTS.md · 95 lines

How it starts

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

Repository Guidelines

Drop-in scaffold for a Figma-driven multi-agent code-generation pipeline. Not a conventional app — it ships agents, prompts, hooks, protocols, and adapters that Claude Code and Cursor consume. Canonical project description: CLAUDE.md. This file gives contributors operating guidelines.

Project structure

Path Purpose
.figma-pipeline/config.json Runtime config (created by wizard). Source of truth every agent reads.
.figma-pipeline/config.schema.json JSON Schema; hard-pinned version: "1.0".
.figma-pipeline/config.example.json Reference config — React + Tailwind v4 + Atomic Design.
.figma-pipeline/protocols/ Cross-tool data contracts (manifest, token-strategy, component-layout, allowlist, skills, complexity, knowledge-graph, handover, cli).
.figma-pipeline/adapters/{frameworks,css,design-systems}/<name>.md Per-stack code-gen templates.
.figma-pipeline/skills/ Canonical skill catalog (~137 skills). Tool-neutral; both tools read via per-tool surfaces.
.claude/{agents,commands,hooks}/ Claude Code surface (11 agents, 5 commands, 9 hooks). Per-tool skill surface (.claude/skills/<name> symlinks → canonical) is wizard-generated at /init-figma-compose.
.cursor/{prompts,rules}/ Cursor mirror (10 .mdc rules + 11 agent prompts + 5 slash-command prompts + rules/README.md index).

Keep matching files aligned across .claude and .cursor whenever behaviour changes.

Build, test, dev commands

No app build. Pipeline is exercised via the wizard + figma slash commands:

Read the full file on GitHub · 95 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. 2d ago First seen · 95 lines · 1,472 tokens per session scan A d4692fb1e137

Subscribe to this mod's changes

figma-code-composer AGENTS.md is an instructions file published in the GitHub repository punkadillo/figma-code-composer (3 stars, last pushed 17d ago), licensed MIT. It adds 1,472 tokens to every session, about $0.0074 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-09-03.