Agent skill

Add Editor Package

by elementor in elementor/elementor

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

GPL-3.0Auto-check passed

Install Add Editor Package

skills CLI
$ npx skills add elementor/elementor --skill add-editor-package -a claude-code

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

GitHub CLI
$ gh skill install elementor/elementor add-editor-package --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/add-editor-package .claude/skills/add-editor-package && 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
add-editor-package
GitHub stars
7.1k
Token cost
~1.7k tokens
SKILL.md length
482 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
GPL-3.0

At a glance

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

  • Works in 5 steps: PHP: register package slug — append to… → Build — webpack (or Vite) with… → Output contract — bundle exposes… → …
  • Tasks that involve MCP servers
  • SKILL.md covers Implementation location, Prerequisites, Checklist and Minimal init skeleton, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Add Editor Package is an agent skill from elementor/elementor. External: Add an Editor V2 package from a third-party plugin that injects UI or in-editor MCP tools. elementor/editor/v2/packages, init(), slots, adapters.

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

It works with npm and webpack. 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.

When your agent uses it

  • Tasks that involve MCP servers

Example prompts

  • “/add-editor-package”

Workflow steps

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

  1. PHP: register package slug — append to elementor/editor/v2/packages (e.g. editor-my-feature). Optional env via…
  2. Build — webpack (or Vite) with @elementor/* as externals resolved at runtime via window.elementorV2.* — see packages/docs/architecture.md…
  3. Output contract — bundle exposes window.elementorV2.{camelCaseSlug} (e.g. editor-my-feature → editorMyFeature). Slug → global…
  4. Enqueue your bundle — wp_register_script() / wp_enqueue_script() with the plugin's own URL (e.g. plugins_url( 'assets/js/my-bundle.js'…
  5. src/init.ts(x) — synchronous registration only; re-export from src/index.ts.

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 (its code samples are javascript and typescript).

    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

Add Editor Package loads about 1.7k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 482 words of instructions outside code blocks.

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

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). 482 words, ~1,655 tokens.

Download SKILL.mdSave it as .claude/skills/add-editor-package/SKILL.md (or your agent's skills folder).
name
add-editor-package
description
External: Add an Editor V2 package from a third-party plugin that injects UI or in-editor MCP tools. elementor/editor/v2/packages, init(), slots, adapters.

Add editor package

Scope: External — the full documented outcome is shippable from a 3rd-party plugin via elementor/editor/v2/packages and your own package init(); no Core changes required. Editing core packages is Core-only. Full split + disclaimer: skills-scope.md.

Implementation location

  • Editor JS/TS: third-party plugin repo — own package bundle with init() (npm/webpack or hand-built script).
  • PHP: filter elementor/editor/v2/packages and optional elementor/editor/v2/scripts/env; for hand-built bundles also hook elementor/editor/v2/scripts/register + scripts/enqueue.
  • Do not modify Elementor Core. Core packages live in packages/packages/core/editor-* — reference only.
  • Runnable reference: examples/example-plugin/ (editor-example-feature plain JS bundle).

Prerequisites

  • Experiment e_atomic_elements (and often e_opt_in_v4) — getting-started/experiments.md.
  • In-editor MCP has no separate experiment gate beyond editor availability.

Read first: editor-packages/extending-editor.md, docs/atomic-builder/examples/add-editor-package.md. Monorepo package creation (Core contributors): packages/docs/creating-a-new-package.md.

Checklist

A. npm / webpack path (preferred for React UI)
  1. PHP: register package slug — append to elementor/editor/v2/packages (e.g. editor-my-feature). Optional env via elementor/editor/v2/scripts/env.
  2. Build — webpack (or Vite) with @elementor/* as externals resolved at runtime via window.elementorV2.* — see packages/docs/architecture.md and editor-packages/libs.md.
  3. Output contract — bundle exposes window.elementorV2.{camelCaseSlug} (e.g. editor-my-feature → editorMyFeature). Slug → global: kebabToCamelCase in scripts/vite/shared/packages-externals.mjs (drop hyphens, uppercase the following letter). Core Vite build footer auto-calls ?.init?.() for packages built into Core assets.
  4. Enqueue your bundle — wp_register_script() / wp_enqueue_script() with the plugin's own URL (e.g. plugins_url( 'assets/js/my-bundle.js', MY_PLUGIN_FILE )); the packages filter does not load third-party JS.
  5. src/init.ts(x) — synchronous registration only; re-export from src/index.ts.
B. Hand-built script path (no npm pipeline)
  1. Hook elementor/editor/v2/scripts/register to wp_register_script() your plugin JS (URL via plugins_url( ..., MY_PLUGIN_FILE )) with deps on required elementor-v2-* handles. Common verified handles (from core/editor/loader/editor-loader.php + scripts/vite/build-packages.mjs elementor-v2-${name}): elementor-v2-editor, elementor-v2-editor-app-bar, elementor-v2-editor-panels, elementor-v2-ui, elementor-v2-icons.
  2. Hook elementor/editor/v2/scripts/enqueue to enqueue that handle.
  3. You must call init() yourself — append at end of bundle:
js
window.elementorV2.editorMyFeature?.init?.();

Adding the slug to elementor/editor/v2/packages alone does nothing if no Core .asset.php exists for that slug — manual script registration carries the load.

  1. No JSX build step — use window.React + React.createElement (React is externalized as global React in scripts/vite/shared/packages-externals.mjs).
  2. Slug → global — same kebabToCamelCase rule as path A (e.g. editor-my-feature → window.elementorV2.editorMyFeature).
  3. Late-loaded global alternative — window.elementorV2.{camelCasePackage} for scripts enqueued after editor packages; see extending-editor.md.
Show full SKILL.md (150 more words)Show less
C. Common init() work
  • Pick injection API (read doc for full list):
    • Shell: injectIntoTop, injectIntoLogic (@elementor/editor)
    • App bar: injectIntoPageIndication, toolsMenu (@elementor/editor-app-bar)
    • Editing panel: injectIntoStyleTab, registerEditingPanelReplacement (@elementor/editor-editing-panel)
    • Elements panel: injectTab (@elementor/editor-elements-panel)
    • Site Settings: injectSiteSettingsTab (@elementor/editor-site-settings)
    • Slide-in panels: registerPanel (@elementor/editor-panels; __registerPanel is a legacy alias)
    • Styles: stylesRepository.register (@elementor/editor-styles-repository)
    • Legacy bridge: registerDataHook, blockCommand, __privateListenTo( v1ReadyEvent(), fn ) (@elementor/editor-v1-adapters)
  • In-editor MCP only — getMCPByDomain() + Zod from @elementor/schema; namespace /^[a-z_]+$/. Not PHP modules/mcp/ abilities — see mcp/overview.md.
Verify
  • Script loads in editor network tab; window.elementorV2.{camelCaseSlug} exists.
  • UI renders in chosen slot.
  • MCP tools visible when Angie / WebMCP is enabled.

Minimal init skeleton

ts
import { injectIntoPageIndication, toolsMenu } from '@elementor/editor-app-bar';

export function init() {
    injectIntoPageIndication( { id: 'my-indicator', component: MyIndicator } );
    toolsMenu.registerToggleAction( { id: 'toggle-my-panel', priority: 20, useProps: useMyToggleProps } );
}

Reference: packages/packages/core/editor-site-navigation/src/init.ts.

External implementation path

  • Third-party plugin ships own editor bundle; filter elementor/editor/v2/packages (+ manual script hooks for non-Core-built bundles).
  • Register MCP tools only for in-editor agent workflows via @elementor/editor-mcp.

Core reference paths (do not edit)

  • Core packages: packages/packages/core/editor-*.
  • Pro extensions: packages/packages/pro/editor-*-extended (elementor-pro sibling repo).
  • Loader: core/editor/loader/.

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/add-editor-package of elementor/elementor.

Open the folder on GitHubat commit dd32c13

Compare with similar skills

Add Editor Package 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.

Add Editor Package compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Editor Package this skillelementor/elementor7.1k—~1.7kAutomated safety check: PassGPL-3.0
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
Qwen Code E2E TestingQwenLM/qwen-code28k—~2.1kAutomated safety check: PassApache-2.0
Node Modules Inspectorantfu/node-modules-inspector3k—~2.2kAutomated safety check: PassMIT
Orchardcore Asset ManagerOrchardCMS/OrchardCore8.2k—~1.5kAutomated safety check: PassBSD-3-Clause
Frontend Build Timing Auditopenops-cloud/openops1.1k—~2.3kAutomated safety check: PassCustom licence

Similar skills

  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Qwen Code E2E Testing

    QwenLM/qwen-code

    Guides end-to-end testing of the Qwen Code CLI in headless mode with real model calls, MCP test servers and inspection of raw API traffic.

    28k GitHub stars~2.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Node Modules Inspector

    antfu/node-modules-inspector

    Inspects a project's installed nodemodules and produces three reports: duplicated packages (installed in multiple versions), packages sorted by install size, and maintenance actions (dep-upgrade…

    3k GitHub stars~2.2k tokensUpdated 21 days ago
    Auto-check passed
  • Orchardcore Asset Manager

    OrchardCMS/OrchardCore

    Builds, watches, and manages frontend assets in OrchardCore.

    8.2k GitHub stars~1.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Frontend Build Timing Audit

    openops-cloud/openops

    Detects and diagnoses chunk-evaluation timing bugs in the Vite/rolldown production build of react-ui (works-in-dev / broken-in-build i18n regressions, missing UI labels, module-scope t()…

    1.1k GitHub stars~2.3k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Better Icons

    dtsola/xiaoyaosearch

    Searches more than 200 Iconify icon libraries and fetches icons as SVG from a command line tool or an MCP server.

    1k GitHub starsUsed in 2 repos~895 tokens
    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
  • 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
  • Create Atomic Widget

    elementor/elementor

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

    7.1k GitHub stars~1.3k 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

Works with

Questions about Add Editor Package

What does Add Editor Package do?

External: Add an Editor V2 package from a third-party plugin that injects UI or in-editor MCP tools. Add Editor Package is an agent skill from elementor/elementor. External: Add an Editor V2 package from a third-party plugin that injects UI or in-editor MCP tools.

When should I use Add Editor Package?

Add Editor Package fits situations like: tasks that involve MCP servers.

How do I install Add Editor Package in Claude Code?

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

How do I install Add Editor Package in Codex?

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

Can I use Add Editor Package 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 add-editor-package -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-editor-package, .gemini/skills/add-editor-package, .github/skills/add-editor-package and .opencode/skills/add-editor-package in your project.

What does Add Editor Package need to run?

SKILL.md names no scripts, command-line tools or credentials: Add Editor Package is instructions for the agent only.

Does Add Editor Package 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 Add Editor Package 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 Add Editor Package use?

Add Editor Package 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 Add Editor Package use?

About 1.7k tokens (SKILL.md is roughly 6.6k 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 Add Editor Package?

Skills that share tags, products or a category with Add Editor Package: MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), Qwen Code E2E Testing (QwenLM/qwen-code, 28k stars), Node Modules Inspector (antfu/node-modules-inspector, 3k stars) and Orchardcore Asset Manager (OrchardCMS/OrchardCore, 8.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Editor Package?

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.