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 | $0.00029 | $0.00688 |
| Sonnet 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 11d 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.
- 11d 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 (16 stars, last pushed 6mo ago), licensed MIT. It adds 58 tokens to every session and 1,377 once invoked, about $0.0003 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-31.
Other skills, from other repositories
figma-codegen
Generate framework-aware code from a Figma design. Reads the project's stack profile and emits code matching the existing framework (React/Vue/Svelte/Next/etc.) and styling (Tailwind/CSS/CSS-in-JS), reusing existing components and design tokens instead of regenerating from scratch. Triggers whenever the user wants a…
figma-build
Build a Figma design from code or a description — the reverse of figma-codegen. Reuses the connected file's existing design system (components, variables, styles) instead of drawing primitives with hardcoded values. Triggers whenever the user wants something created or updated IN Figma from code or a spec — e.g.…
doc-typeset
A document formatter that turns text and design settings into complete, styled HTML. It includes templates for contracts, academic papers, official documents, business reports, meeting notes, research reports, and annual reports.
format-extract
A low-level tool that converts a Word document (.docx) into semantic HTML and extracts embedded images. It also reports on the quality of the resulting HTML conversion.
design-token
A document-design guide that selects a visual theme for a document type and outputs reusable rules for fonts, colours, spacing, page layout, and CSS variables. Design tokens are named style settings that keep formatting consistent.
slides
Create and edit presentation slide decks (.pptx) with PptxGenJS and render/validation utilities. Use when tasks involve building a new PowerPoint deck, recreating slides from screenshots/PDFs/reference decks, modifying slide content while preserving editable output, adding charts/diagrams/visuals, or diagnosing layout…