padding-maker

padding-maker is a skill for Claude Code, Codex from madebypan/FigCC. It costs 17 tokens per session (774 once invoked), scanned A, original, MIT.

A Figma layout tool that adds consistent inner space around the contents of selected frames or sections. It can reposition the children and resize the container to fit the new spacing.

In plain words
What is it for?
Use it to add padding to one or more selected Figma frames or sections, including layouts with multiple child elements.
Why use it?
It removes the need to measure, move, and resize each layout element by hand when adding padding.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add padding to one or more selected Figma frames or sections, including layouts with multiple child elements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/madebypan/figcc/padding-maker
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 madebypan/FigCC --skill padding-maker
Clone the repo
git clone --depth 1 https://github.com/madebypan/FigCC

Made for: Claude Code, 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 padding-maker

README.md
[![agentmods](https://agentmods.dev/badge/skills/madebypan/figcc/padding-maker/github.svg)](https://agentmods.dev/skills/madebypan/figcc/padding-maker)
Your own site
<a href="https://agentmods.dev/skills/madebypan/figcc/padding-maker"><img src="https://agentmods.dev/badge/skills/madebypan/figcc/padding-maker/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 padding-maker

Your own site · 80×15
<a href="https://agentmods.dev/skills/madebypan/figcc/padding-maker"><img src="https://agentmods.dev/badge/skills/madebypan/figcc/padding-maker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 774 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.
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.00017 $0.00774
Opus 5.5 $0.00007 $0.00310
Sonnet 5.5 $0.00003 $0.00155
Haiku 4.5 $0.00002 $0.00077

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

Security

Grade A, and why

padding-maker 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.

skills/padding-maker/SKILL.md · 111 lines

How it starts

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

Skill: Padding Maker

You are an expert at adding padding inside Figma frames and sections. When the user asks to add padding, spacing, or "hug" content inside a frame, follow these patterns.

What this does

  • Calculates the bounding box of all children in a frame or section
  • Repositions all children outward to create uniform padding space
  • Resizes the frame/section to accommodate the new padding
  • Works with multiple selected frames at once

Core logic

const paddingAmount = 16; // default, or use value from user
const selection = figma.currentPage.selection;

if (selection.length === 0) {
  figma.notify('Please select a frame or section to add padding to.');
  figma.closePlugin();
  return;
}

const processedNodes = [];

for (const node of selection) {
  if (node.type !== 'FRAME' && node.type !== 'SECTION') {
    figma.notify(`"${node.name}" is not a frame or section. Skipping.`);
    continue;
  }

  const children = [...node.children];

  if (children.length === 0) {
    figma.notify(`"${node.name}" has no children. Skipping.`);
    continue;
  }

  // Calculate bounding box of all children
  let minX = Infinity,
    minY = Infinity;
  let maxX = -Infinity,
    maxY = -Infinity;

  for (const child of children) {
    minX = Math.min(minX, child.x);
    minY = Math.min(minY, child.y);
    maxX = Math.max(maxX, child.x + child.width);
    maxY = Math.max(maxY, child.y + child.height);
  }

  // Shift children to create padding
  const offsetX = paddingAmount - minX;
  const offsetY = paddingAmount - minY;

  for (const child of children) {
    child.x += offsetX;
    child.y += offsetY;
  }

  // Resize frame to fit children + padding on all sides
  const newWidth = maxX - minX + paddingAmount * 2;
  const newHeight = maxY - minY + paddingAmount * 2;

  if (node.type === 'SECTION') {
    node.resizeWithoutConstraints(newWidth, newHeight);
  } else {
    node.resize(newWidth, newHeight);
  }

  processedNodes.push(node);
}

if (processedNodes.length > 0) {
  figma.notify(`Added ${paddingAmount}px padding to ${processedNodes.length} frame(s).`);
}

Read the full file on GitHub · 111 lines

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 First seen · 111 lines · 17 tokens per session scan A 9cb5887a87d0

Subscribe to this mod's changes

padding-maker is a skill published in the GitHub repository madebypan/FigCC (43 stars, last pushed 11d ago), licensed MIT. It adds 17 tokens to every session and 774 once invoked, about $0.0001 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

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…

awdr74100/figwright · 145 tokens

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.…

awdr74100/figwright · 180 tokens

claude-design-skill

Claude Code-based design skill for hi-fi prototyping and Figma MCP-driven precision design work. Built around three load-bearing rules — fact verification before assumptions, confidentiality gate before any external call, and a strip-then-scan import gate for AI-generated assets — wired into Codex CLI (GPT-5.5…

0xmhha/claude-design-skill · 184 tokens

refero-design

Primary/default skill for UI design, product design, web design, landing pages, dashboards, product screens, redesigns, visual polish, frontend/CSS styling, design systems, components, responsive design, typography, color, spacing, motion, icons, accessibility, copywriting, conversion, and anti-AI-slop work. Use this…

referodesign/refero_skill · 191 tokens

figma-variable-audit

Audit Figma variable collections: tier mapping, naming, alias chains, modes, orphans; can fix in place with Figma Console MCP. Triggers: audit my Figma variables, review variable collections, Figma variable health. For token files in code use token-audit.

murphytrueman/design-system-ops · 63 tokens

token-audit

Audit how design tokens are defined: tiers, naming, alias chains, raw values, orphans, DTCG readiness. Triggers: audit my tokens, token architecture review, token health check. Not for code consuming tokens (token-compliance), theme parity (theme-audit) or Figma variables (figma-variable-audit).

murphytrueman/design-system-ops · 72 tokens