Agent skill

Create Atomic Widget

by elementor in elementor/elementor

External: Create atomic widgets and container elements from a third-party plugin.

GPL-3.0Auto-check passed

Install Create Atomic Widget

skills CLI
$ npx skills add elementor/elementor --skill create-atomic-widget -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install elementor/elementor create-atomic-widget --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/elementor/elementor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/create-atomic-widget .claude/skills/create-atomic-widget && rm -rf skills-src

Use ~/.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/

Facts

Skill name
create-atomic-widget
GitHub stars
7.1k
Token cost
~1.3k tokens
SKILL.md length
361 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
GPL-3.0

At a glance

External: Create atomic widgets and container elements from a third-party plugin.

  • Works in 5 steps: Pick base class → Implement required API → Optional layers → …
  • SKILL.md covers Implementation location, Prerequisites, Checklist and Canonical example (use this,…, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Create Atomic Widget is an agent skill from elementor/elementor. External: Create atomic widgets and container elements from a third-party plugin. AtomicWidgetBase, definepropsschema, elementor/widgets/register, props, controls, Twig.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design. The licence is GPL-3.0.

Example prompts

  • “/create-atomic-widget”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Pick base class
  2. Implement required API
  3. Optional layers
  4. Register
  5. Verify

What it can do on your machine

Read from SKILL.md and the folder at commit dd32c13. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    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.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Create Atomic Widget loads about 1.3k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 361 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from elementor/elementor at commit dd32c13, republished under its GPL-3.0 licence (© elementor). 361 words, ~1,295 tokens.

Download SKILL.mdSave it as .claude/skills/create-atomic-widget/SKILL.md (or your agent's skills folder).
name
create-atomic-widget
description
External: Create atomic widgets and container elements from a third-party plugin. Atomic_Widget_Base, define_props_schema, elementor/widgets/register, props, controls, Twig.

Create atomic widget

Scope: External — the full documented outcome is shippable from a 3rd-party plugin via elementor/widgets/register / elementor/elements/elements_registered; no Elementor Core changes required. Changing the built-in element catalog is Core-only. Full split + disclaimer: skills-scope.md.

Implementation location

  • PHP: existing or new third-party plugin repository; plugin-owned namespace/module (e.g. MyPlugin\AtomicWidgets\).
  • Do not modify Elementor Core. Built-in elements live in Core at modules/atomic-widgets/elements/ — mirror patterns there only as reference.
  • Runnable reference: examples/example-plugin/ (Atomic_Greeting_Widget + Twig). Playground: tests/playwright/blueprints/example-plugin.json.

Prerequisites

Read first: atomic-widgets/authoring-widgets.md, hooks.md, rendering.md.

Checklist

  1. Pick base class
    • Leaf widget → Atomic_Widget_Base + Has_Template when using Twig.
    • Container → Atomic_Element_Base + Has_Element_Template; set $this->meta( 'is_container', true ) in constructor.
  2. Implement required API
    • define_props_schema() — prop types with ->default(); values are PropValue { $$type, value }. Most widgets also declare classes (Classes_Prop_Type) and attributes (Attributes_Prop_Type) — see built-ins under modules/atomic-widgets/elements/.
    • define_atomic_controls() — Section::make()->set_items([ ... ]) with concrete controls from Elementor\Modules\AtomicWidgets\Controls\Types\ (e.g. Text_Control, Select_Control) via ::bind_to( 'key' ). Enum props: pair String_Prop_Type::make()->enum([...])->default(...) with Select_Control::bind_to( 'key' )->set_options([ ['value' => 'h1', 'label' => 'H1'], ... ]) (options are [['value' => ..., 'label' => ...], ...]).
    • Widget (Atomic_Widget_Base): get_element_type() — stable id (e.g. e-my-widget). Container (Atomic_Element_Base): get_element_type() and get_type() (same id); generate() uses get_element_type() on widgets, get_type() on elements.
  3. Optional layers
    • Twig: get_templates(), .html.twig files.
    • define_base_styles() → Style_Definition maps.
    • Container: define_allowed_child_types(), define_default_children(), define_default_html_tag().
  4. Register
    • Widget: elementor/widgets/register → $manager->register( new My_Widget() ).
    • Element: elementor/elements/elements_registered → $manager->register_element_type( new My_Container() ).
  5. Verify
    • Control keys match schema keys exactly.
    • Saved data uses PropValue envelope per prop-value.md.
    • Widget appears under v4-elements panel (Atomic_Widget_Base::get_categories() returns v4-elements by default — custom plugins inherit this; no override needed).
    • get_controls() stays empty (legacy v3 controls unused).
Show full SKILL.md (104 more words)Show less

Canonical example (use this, not a shortened skeleton)

Full corrected walkthrough: docs/atomic-builder/examples/create-atomic-widget.md.

Key fixes vs older snippets: base classes under Elements\Base\; primitives under PropTypes\Primitives\; Section::make()->set_items() not add_control().

Test/MCP JSON: My_Widget::generate() or My_Container::generate() — see id methods above.

External implementation path

  • Plugin owns PHP classes; register on elementor/widgets/register or elementor/elements/elements_registered.
  • Extend schema for all types only via elementor/atomic-widgets/props-schema when type-agnostic — prefer subclassing for type-specific props.
  • Filter elementor/atomic-widgets/controls to tweak control trees per element.

Core reference paths (do not edit)

See also

© elementor, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .cursor/skills/create-atomic-widget of elementor/elementor.

Open the folder on GitHubat commit dd32c13

Compare with similar skills

Create Atomic Widget 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.

Create Atomic Widget compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create Atomic Widget this skillelementor/elementor7.1k—~1.3kAutomated safety check: PassGPL-3.0
Contact Widgetnexu-io/open-design100k—~1.6kAutomated safety check: PassApache-2.0
Compose Atomslobehub/lobehub83k—~2.6kAutomated safety check: PassCustom licence
Apple Containersickn33/agentic-awesome-skills47k1 repos~2.5kAutomated safety check: PassApache-2.0
Container Security Hardeningsickn33/agentic-awesome-skills47k1 repos~1kAutomated safety check: NotesMIT
Makepad Widgetssickn33/agentic-awesome-skills47k2 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • Contact Widget

    nexu-io/open-design

    Self-contained floating chat widget with welcome screen, social links, meeting button, and message input.

    100k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Compose Atoms

    lobehub/lobehub

    Splits a heavy front-end domain into capability atoms that each host imports separately, sinking state into each atom instead of adding mode or readOnly flags.

    83k GitHub stars~2.6k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Apple Container

    sickn33/agentic-awesome-skills

    Build, run, and manage OCI/Linux containers as lightweight per-container VMs on Apple-silicon macOS using Apple's open-source container CLI, no Docker daemon required.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    DevOps & CloudAuto-check passed
  • Container Security Hardening

    sickn33/agentic-awesome-skills

    Harden Docker/container images and runtime deployments with secure base images, non-root users, CVE scanning, SBOM/signing, seccomp/AppArmor, and Kubernetes pod security controls.

    47k GitHub starsUsed in 1 repo~1k tokens
    SecurityAuto-check: notes
  • Makepad Widgets

    sickn33/agentic-awesome-skills

    Version: makepad-widgets (dev branch) | Last Updated: 2026-01-19 Check for updates: https://crates.io/crates/makepad-widgets

    47k GitHub starsUsed in 2 repos~1.7k tokens
    Auto-check passed
  • Container Queries

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Use container queries for component-level responsiveness.

    74k GitHub stars~526 tokensUpdated yesterday
    Frontend & DesignAuto-check passed

More from elementor/elementor

All 8 skills in this repo
  • Add Dynamic Tag

    elementor/elementor

    External: Add dynamic tags for v4 atomic widgets from a third-party plugin.

    7.1k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Add Editor Package

    elementor/elementor

    External: Add an Editor V2 package from a third-party plugin that injects UI or in-editor MCP tools.

    7.1k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Atomic Builder Extend

    elementor/elementor

    Pick the right Elementor v4 skill. An agent skill from elementor/elementor.

    7.1k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Extend Prop Types

    elementor/elementor

    External: Add or extend a prop type from a third-party plugin.

    7.1k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Extend Variables

    elementor/elementor

    External: Register global design-token variable types from a third-party plugin.

    7.1k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Internal: Extend the atomic CSS converter in a Core fork and submit a Core PR.

    7.1k GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about Create Atomic Widget

What does Create Atomic Widget do?

External: Create atomic widgets and container elements from a third-party plugin. Create Atomic Widget is an agent skill from elementor/elementor. External: Create atomic widgets and container elements from a third-party plugin.

How do I install Create Atomic Widget in Claude Code?

Run `npx skills add elementor/elementor --skill create-atomic-widget -a claude-code`. Or copy the skill folder (.cursor/skills/create-atomic-widget in elementor/elementor) into .claude/skills/create-atomic-widget in your project. Claude Code loads it when a task matches its description.

How do I install Create Atomic Widget in Codex?

Run `npx skills add elementor/elementor --skill create-atomic-widget -a codex`. Or copy the skill folder (.cursor/skills/create-atomic-widget in elementor/elementor) into .agents/skills/create-atomic-widget in your project. Codex loads it when a task matches its description.

Can I use Create Atomic Widget in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add elementor/elementor --skill create-atomic-widget -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-atomic-widget, .gemini/skills/create-atomic-widget, .github/skills/create-atomic-widget and .opencode/skills/create-atomic-widget in your project.

What does Create Atomic Widget need to run?

SKILL.md names no scripts, command-line tools or credentials: Create Atomic Widget is instructions for the agent only.

Does Create Atomic Widget access the network?

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.

Is Create Atomic Widget safe to install?

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.

What licence does Create Atomic Widget use?

Create Atomic Widget is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Create Atomic Widget use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Create Atomic Widget?

Skills that share tags, products or a category with Create Atomic Widget: Contact Widget (nexu-io/open-design, 100k stars), Compose Atoms (lobehub/lobehub, 83k stars), Apple Container (sickn33/agentic-awesome-skills, 47k stars) and Container Security Hardening (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create Atomic Widget?

elementor (a GitHub organization) maintains it in elementor/elementor, which has 7,084 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 8, 2026.

Source: elementor/elementor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.