Figma use_figma Plugin API Rules
warpdotdev/warp
Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.
Render and inspect a design-system component in a trusted project.
$ npx skills add AgiFlow/aicode-toolkit --skill preview-component -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install AgiFlow/aicode-toolkit preview-component --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/AgiFlow/aicode-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/aicode-design/skills/preview-component .claude/skills/preview-component && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "preview-component" agent skill from https://github.com/AgiFlow/aicode-toolkit/tree/main/plugins/aicode-design/skills/preview-component into .claude/skills/preview-component/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "preview-component", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/AgiFlow/aicode-toolkit/tree/main/plugins/aicode-design/skills/preview-componentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add AgiFlow/aicode-toolkit --skill preview-component -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install AgiFlow/aicode-toolkit preview-component --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AgiFlow/aicode-toolkit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/aicode-design/skills/preview-component .agents/skills/preview-component && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "preview-component" agent skill from https://github.com/AgiFlow/aicode-toolkit/tree/main/plugins/aicode-design/skills/preview-component into .agents/skills/preview-component/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "preview-component", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AgiFlow/aicode-toolkit --skill preview-component -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install AgiFlow/aicode-toolkit preview-component --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AgiFlow/aicode-toolkit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/aicode-design/skills/preview-component .cursor/skills/preview-component && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "preview-component" agent skill from https://github.com/AgiFlow/aicode-toolkit/tree/main/plugins/aicode-design/skills/preview-component into .cursor/skills/preview-component/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "preview-component", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/AgiFlow/aicode-toolkit.git --path plugins/aicode-design/skills/preview-component--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add AgiFlow/aicode-toolkit --skill preview-component -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install AgiFlow/aicode-toolkit preview-component --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AgiFlow/aicode-toolkit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/aicode-design/skills/preview-component .gemini/skills/preview-component && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "preview-component" agent skill from https://github.com/AgiFlow/aicode-toolkit/tree/main/plugins/aicode-design/skills/preview-component into .gemini/skills/preview-component/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "preview-component", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install AgiFlow/aicode-toolkit preview-componentInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add AgiFlow/aicode-toolkit --skill preview-component -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/AgiFlow/aicode-toolkit.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/aicode-design/skills/preview-component .github/skills/preview-component && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "preview-component" agent skill from https://github.com/AgiFlow/aicode-toolkit/tree/main/plugins/aicode-design/skills/preview-component into .github/skills/preview-component/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "preview-component", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AgiFlow/aicode-toolkit --skill preview-component -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install AgiFlow/aicode-toolkit preview-component --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AgiFlow/aicode-toolkit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/aicode-design/skills/preview-component .opencode/skills/preview-component && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "preview-component" agent skill from https://github.com/AgiFlow/aicode-toolkit/tree/main/plugins/aicode-design/skills/preview-component into .opencode/skills/preview-component/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "preview-component", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
preview-componentRender and inspect a design-system component in a trusted project.
Preview Component is an agent skill from AgiFlow/aicode-toolkit. Render and inspect a design-system component in a trusted project. Trigger for explicit visual component preview requests. Do not trigger for simple theme/class lookup or untrusted repositories.
Its SKILL.md is about 290 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design, covering Design systems. It works with Model Context Protocol. The repository describes itself as: Toolkit for Coding Agents to work reliably with repo of any size. The licence is AGPL-3.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit d8debed. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Preview Component loads about 291 tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 123 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from AgiFlow/aicode-toolkit at commit d8debed, republished under its AGPL-3.0 licence (© AgiFlow). 123 words, ~291 tokens.
.claude/skills/preview-component/SKILL.md (or your agent's skills folder).get_component_visual can execute its components, Storybook/build tooling and browser processes; do not treat it as passive file inspection.project.json design configuration, relevant stories/components and Chromium availability. If setup is absent, explain what is required rather than guessing or installing browser binaries silently.list_shared_components / list_app_components, inspect the actual get_component_visual input schema, then ask before rendering and run in the consumer workspace. The MCP server supports stdio; do not start it using HTTP/SSE or --dev by default.© AgiFlow, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/aicode-design/skills/preview-component of AgiFlow/aicode-toolkit.
Open the folder on GitHubat commit d8debed
Preview Component next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Preview Component this skillAgiFlow/aicode-toolkit | 161 | — | ~291 | Automated safety check: Pass | AGPL-3.0 | |
| Figma use_figma Plugin API Ruleswarpdotdev/warp | 65k | 4 repos | ~4.4k | Automated safety check: Pass | AGPL-3.0 | |
| Activepieces Design Systemactivepieces/activepieces | 25k | — | ~3.6k | Automated safety check: Pass | Custom licence | |
| Figma Code Connect Componentswarpdotdev/warp | 65k | 2 repos | ~4.2k | Automated safety check: Pass | AGPL-3.0 | |
| UithingBayBreezy/ui-thing | 729 | — | ~1.3k | Automated safety check: Pass | Custom licence | |
| Figma Screen Generatorwarpdotdev/warp | 65k | 2 repos | ~5k | Automated safety check: Pass | AGPL-3.0 |
warpdotdev/warp
Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.
activepieces/activepieces
Design system for Activepieces (open-source AI automation platform, "open source replacement for Zapier").
warpdotdev/warp
Maps published Figma components to their code implementations with Code Connect, using the Figma MCP suggestion and mapping tools.
BayBreezy/ui-thing
Manages UI Thing components, prose, blocks, themes, shortcuts, docs, and MCP-driven workflows in Nuxt projects and in the UI Thing source repo.
warpdotdev/warp
Builds or updates full Figma screens from code or a description by reusing the file's published design system components, variables and styles.
arvindrk/extract-design-system
Extract design primitives from a public website and generate starter token files for your project.
AgiFlow/aicode-toolkit
Control the user own Chrome browser via Playwriter extension with Playwright code snippets in a stateful local js sandbox via playwriter cli.
AgiFlow/aicode-toolkit
Create or update reusable toolkit boilerplate templates and feature scaffolds.
AgiFlow/aicode-toolkit
Discover and create a new application from a scaffold-mcp boilerplate.
AgiFlow/aicode-toolkit
Add or edit a feature in a toolkit-configured project using scaffold methods and file-specific design patterns.
AgiFlow/aicode-toolkit
Discover existing project themes, supported CSS classes and reusable UI components.
AgiFlow/aicode-toolkit
Set up toolkit templates and project metadata in a consumer workspace.
Works with
Categories
Render and inspect a design-system component in a trusted project. Preview Component is an agent skill from AgiFlow/aicode-toolkit. Render and inspect a design-system component in a trusted project.
Preview Component fits situations like: explicit visual component preview requests; simple theme/class lookup; untrusted repositories.
Run `npx skills add AgiFlow/aicode-toolkit --skill preview-component -a claude-code`. Or copy the skill folder (plugins/aicode-design/skills/preview-component in AgiFlow/aicode-toolkit) into .claude/skills/preview-component in your project. Claude Code loads it when a task matches its description.
Run `npx skills add AgiFlow/aicode-toolkit --skill preview-component -a codex`. Or copy the skill folder (plugins/aicode-design/skills/preview-component in AgiFlow/aicode-toolkit) into .agents/skills/preview-component in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AgiFlow/aicode-toolkit --skill preview-component -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/preview-component, .gemini/skills/preview-component, .github/skills/preview-component and .opencode/skills/preview-component in your project.
SKILL.md names no scripts, command-line tools or credentials: Preview Component is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Preview Component is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 291 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Preview Component: Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars), Activepieces Design System (activepieces/activepieces, 25k stars), Figma Code Connect Components (warpdotdev/warp, 65k stars) and Uithing (BayBreezy/ui-thing, 729 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
AgiFlow (a GitHub organization) maintains it in AgiFlow/aicode-toolkit, which has 161 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 5, 2026.
Source: AgiFlow/aicode-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.