Borrowing it
Nothing to install: this file belongs to renfei-design/Figma-AI-Bridge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/renfei-design/Figma-AI-Bridge/main/.github/skills/figma-doc/SKILL.mdgit clone --depth 1 https://github.com/renfei-design/Figma-AI-BridgeWrote 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.
[](https://agentmods.dev/skills/renfei-design/figma-ai-bridge/figma-doc)<a href="https://agentmods.dev/skills/renfei-design/figma-ai-bridge/figma-doc"><img src="https://agentmods.dev/badge/skills/renfei-design/figma-ai-bridge/figma-doc/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.
<a href="https://agentmods.dev/skills/renfei-design/figma-ai-bridge/figma-doc"><img src="https://agentmods.dev/badge/skills/renfei-design/figma-ai-bridge/figma-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00058 | $0.01377 |
| Opus 5.5 | $0.00023 | $0.00551 |
| Sonnet 5.5 | $0.00012 | $0.00275 |
| Haiku 4.5 | $0.00006 | $0.00138 |
Grade A, and why
figma-doc 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Figma Documentation Page
Build a structured documentation page in Figma using a standard layout format. One command — generate content, call create_doc_page, done.
Prerequisites
- figma-ai-bridge plugin running in Figma and connected
- The
create_doc_pagecommand registered incode.js - Helper:
scripts/figma_cmd.mjs <channel> create_doc_page '<paramsJSON>'
Workflow
1. Generate Content
Read the user's topic, spec, or description. Organize content into sections:
{
"title": "Document Title",
"width": 1600,
"x": 0,
"y": 0,
"sections": [
{ "heading": "Section Title", "body": "Paragraph text..." },
{ "heading": "Comparison", "columns": [{"text": "Left col"}, {"text": "Right col"}] },
{ "heading": "Feature Matrix", "table": {
"headers": ["Requirement", "Option A", "Option B"],
"rows": [
["Goal-oriented workflows", "✅ Native", "❌ Not core"],
["Multi-step execution", "✅ First-class", "⚠️ Limited"]
]
}
}
]
}
Each section has ONE of these content types:
- body — paragraph text with
\nfor line breaks - columns — array of
{text}objects (for side-by-side comparison) - table —
{headers: [...], rows: [[...], ...]}(for structured data, feature matrices)
Information Design Guidelines
| Content type | Best format | Example |
|---|---|---|
| Narrative explanation | body |
Executive summary, background, recommendations |
| Pros/cons, either/or | columns |
"Follow this" vs "Don't follow that" |
| Feature comparison matrix | table |
Requirements × options with ✅/❌ |
| Structured criteria list | table |
Dimensions with ratings or status |
| Side-by-side analysis | columns |
Two approaches described in prose |
| Action items / bullet lists | body |
Numbered steps, bullet points |
| Visual reference with description | columns + imageNodeId |
Component screenshot + explanation text |
Cloning Visuals from Source
Columns and body sections support imageNodeId to clone an existing Figma node into the new doc:
columns[].imageNodeId— clone into that column (image above text)section.imageNodeId— clone into the body section (image above text)
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.
- 2mo ago First seen · 149 lines · 58 tokens per session scan A 229ff5ae3759
figma-doc is a skill published in the GitHub repository renfei-design/Figma-AI-Bridge (19 stars, last pushed 8mo ago), licensed MIT. It adds 58 tokens to every session and 1,377 once invoked, about $0.0002 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-08-31.
figma-doc compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| figma-docrenfei-design/Figma-AI-Bridge | Skill | 19 | 8mo ago | MIT | A | 58 | Claude Code, Codex |
| figma-codegenawdr74100/figwright | Skill | 1.3k | yesterday | MIT | A | 145 | Claude Code, Codex |
| figma-buildawdr74100/figwright | Skill | 1.3k | yesterday | MIT | A | 180 | Claude Code, Codex |
| rebuild-package-diagramsBlackBeltTechnology/pi-agent-dashboard | Skill | 341 | 2d ago | MIT | A | 94 | Claude Code, Codex |
| doc-typesetrojim666/SztuCode | Skill | 110 | 13d ago | MIT | A | 127 | Claude Code, Codex |
| format-extractrojim666/SztuCode | Skill | 110 | 13d ago | MIT | A | 218 | Claude Code, Codex |
| design-tokenrojim666/SztuCode | Skill | 110 | 13d ago | MIT | A | 137 | Claude Code, Codex |