figma-create-new-file

figma-create-new-file is a skill for Codex from PracticalSwan/agent-skills. It costs 121 tokens per session (1,124 once invoked), scanned A, original, MIT.

A workflow for creating a new blank Figma file, such as a design, FigJam whiteboard, or Slides presentation.

In plain words
What is it for?
Creating a fresh Figma file with a chosen type and name before editing or adding content.
Why use it?
It ensures the required setup happens before another tool works with the new file, avoiding calls made in the wrong order.

Skill for Codex

Written for Codex: reads $CODEX_HOME. Also seen: mentions Claude Code; mentions Codex.

Good fit Creating a fresh Figma file with a chosen type and name before editing or adding content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/practicalswan/agent-skills/figma-create-new-file
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 PracticalSwan/agent-skills --skill figma-create-new-file
Clone the repo
git clone --depth 1 https://github.com/PracticalSwan/agent-skills

Made for: 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 figma-create-new-file

README.md
[![agentmods](https://agentmods.dev/badge/skills/practicalswan/agent-skills/figma-create-new-file/github.svg)](https://agentmods.dev/skills/practicalswan/agent-skills/figma-create-new-file)
Your own site
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/figma-create-new-file"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/figma-create-new-file/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 figma-create-new-file

Your own site · 80×15
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/figma-create-new-file"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/figma-create-new-file.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,124 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 83
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
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.00121 $0.01124
Opus 5.5 $0.00048 $0.00450
Sonnet 5.5 $0.00024 $0.00225
Haiku 4.5 $0.00012 $0.00112

Measured 1mo ago against content hash 286dcb64454e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

figma-create-new-file 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 1mo 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

figma-create-new-file/SKILL.md · 94 lines

How it starts

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

Create a new file in Figma

Steps to create a new Figma Design, FigJam, or Slides file using the create_new_file MCP tool.

Step 1: Resolve the planKey and editorType

Use the planKey the user provided or selected for this task. Otherwise, call whoami and inspect the returned plans.

  • No plans: inform the user that file creation cannot proceed.
  • One plan: use its key as planKey.
  • Multiple plans: show the available plans, ask the user to select one and then use that plan's key as planKey.

Infer editorType from the requested file type by choosing from the tool's advertised input enum. If unclear, ask the user to specify the file type.

Step 2: Call create_new_file

Call the create_new_file tool with all three required arguments:

  • fileName: Required. Choose a concise name if the user does not provide one.
  • planKey: Required. Use the planKey resolved in Step 1.
  • editorType: Required. Use the editorType selected in Step 1.
  • projectId: Optional. Set it to create the file in a specific project.
{
  "fileName": "Quarterly planning",
  "planKey": "team::1234567890",
  "editorType": "design"
}
  • Use the file_key from the create_new_file tool response for subsequent tool calls like use_figma.

Step 3: (Slides only) Handle the empty grid

A new Slides file contains no slides: figma.getSlideGrid() returns []. Before reading properties such as theme tokens from a slide, call figma.createSlide() or handle the empty case. The first createSlide() call automatically creates row 0 and inserts the slide.

Cross-Client Portability

This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.

  • GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the workflow in project instructions when folder discovery is unavailable.
  • Claude Code: keep the folder in a local skills directory or a compatible plugin source.
  • Codex: install or sync the folder into $CODEX_HOME/skills/figma-create-new-file and restart Codex after major changes.

Read the full file on GitHub · 94 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · -38 lines 286dcb64454e
  2. 2mo ago Changed 7db04a725242
  3. 2mo ago Changed 8f271704614a
  4. 2mo ago Changed d58c2f0a77ac
  5. 3mo ago First seen · 132 lines · 121 tokens per session scan A 779bb20ffa91

Subscribe to this mod's changes

figma-create-new-file is a skill published in the GitHub repository PracticalSwan/agent-skills (25 stars, last pushed 15d ago), licensed MIT. It adds 121 tokens to every session and 1,124 once invoked, about $0.0005 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-30.

Related

figma-create-new-file compared with skills from other repositories

figma-create-new-file next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
figma-create-new-filePracticalSwan/agent-skillsSkill2515d agoMITA121Codex
generate-with-design-systemsouthleft/figma-console-mcpSkill3.5ktodayMITA99Claude Code, Codex
code-connectsouthleft/figma-console-mcpSkill3.5ktodayMITA132Claude Code, Codex
design-tokens-syncsouthleft/figma-console-mcpSkill3.5ktodayMITA100Claude Code, Codex
grade-generationsouthleft/figma-console-mcpSkill3.5ktodayMITA100Claude Code, Codex
accessibility-reviewsouthleft/figma-console-mcpSkill3.5ktodayMITA103Claude Code, Codex
figma-codegenawdr74100/figwrightSkill1.6ktodayMITA145Claude Code, Codex