figma-create-new-file — Codex skill: what it does, how to install
Creates blank Figma, FigJam, or Slides files inside draft folders. It resolves planKey and editor types before invoking Figma MCP tools.
npx skills add openai/plugins --skill figma-create-new-file -a codexWhat figma-create-new-file does
This skill acts as a mandatory preparation step before calling the create_new_file tool. It takes the editor type (design, figjam, or slides) and the target file name, falling back to Untitled when arguments are omitted. The new file lands directly in the user drafts folder under the selected plan.
Execution relies on obtaining a valid planKey. If no key is provided in the prompt, the skill invokes whoami to inspect available teams. If your account belongs to multiple organizations, the agent prompts you to choose the target workspace. After file creation, the skill provides file_key and direct file_url values for downstream tools like use_figma.
Slides files present an edge case: newly created decks contain zero rows and zero slides. Any subsequent script expecting default template frames will fail until you run createSlide().
What it helps with
- create a blank Figma design or FigJam canvas
- resolve team planKey values via whoami
- obtain file_key and file_url for subsequent use_figma steps
- initialize an empty Figma Slides deck
Example prompts for the agent
- /figma-create-new-file design Project Wireframe
- /figma-create-new-file figjam System Architecture
- /figma-create-new-file slides Sprint Review
How to install figma-create-new-file
1Skills CLI (Vercel)
npx skills add openai/plugins --skill figma-create-new-file -a codex2Manually: put the files in place
.agents/skills/figma-create-new-file/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add openai/plugins --skill figma-create-new-file -a claude-code2Manually: put the files in place
~/.claude/skills/figma-create-new-file/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/figma-create-new-file/
Manually: put the files in place
.cursor/skills/figma-create-new-file/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install openai/plugins figma-create-new-file2Manually: put the files in place
.github/skills/figma-create-new-file/SKILL.mdPlatform CLI
gemini skills install https://github.com/openai/plugins --path plugins/figma/skills/figma-create-new-fileManually: put the files in place
.devin/skills/figma-create-new-file/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set201
The whole set →Similar
Questions about figma-create-new-file
How to install figma-create-new-file in Codex?
Run npx skills add openai/plugins --skill figma-create-new-file in your terminal.
Why is figma-create-new-file required before creating a file?
The create_new_file tool requires an explicit planKey. This skill checks your account via whoami, asks for a team selection if needed, and passes the required workspace arguments.
Why does a newly created Slides file show no slides?
Fresh Slides documents generate an empty grid where figma.getSlideGrid() returns an empty array. The first slide is only added once you trigger figma.createSlide().