Agent skill

Wp Interactivity API

by Automattic in Automattic/agent-skills

A skill your agent uses when building or debugging WordPress Interactivity API features (data-wp- directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration…

No licenceAuto-check passedDevelopment

Install Wp Interactivity API

skills CLI
$ npx skills add Automattic/agent-skills --skill wp-interactivity-api -a claude-code

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

GitHub CLI
$ gh skill install Automattic/agent-skills wp-interactivity-api --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/Automattic/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/wp-interactivity-api .claude/skills/wp-interactivity-api && 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
wp-interactivity-api
GitHub stars
211
Used in
3 other repos
Token cost
~1.5k tokens
SKILL.md length
578 words
Files
4 (incl. references)
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses when building or debugging WordPress Interactivity API features (data-wp- directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration…

  • Works in 6 steps: Detect existing usage + integration style → Identify the store(s) → Server-side rendering (best practice) → …
  • Debugging WordPress Interactivity API features (data-wp- directives
  • SKILL.md covers When to use, Inputs required, Procedure and Verification, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Wp Interactivity API is an agent skill from Automattic/agent-skills. Use when building or debugging WordPress Interactivity API features (data-wp- directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration, wpinteractivity()) including performance, hydration, and directive behavior.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/debugging.md`, `references/directives-quickref.md` and `references/server-side-rendering.md`). Compatibility notes: Targets WordPress 6.9+ (PHP 7.2.24+). Filesystem-based agent with bash + node. Some workflows require WP-CLI.

It sits in Development, covering Debugging. It works with WordPress and PHP. The repository describes itself as: Agent Skills for WordPress - folders of instructions, scripts, and resources.

When your agent uses it

  • Debugging WordPress Interactivity API features (data-wp- directives
  • @wordpress/interactivity store/state/actions
  • Block viewScriptModule integration
  • Wpinteractivity()) including performance

Example prompts

  • “/wp-interactivity-api”

Requirements

  • Compatibility (from SKILL.md): Targets WordPress 6.9+ (PHP 7.2.24+). Filesystem-based agent with bash + node. Some workflows require WP-CLI.

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Detect existing usage + integration style
  2. Identify the store(s)
  3. Server-side rendering (best practice)
  4. Implement or change directives safely
  5. Build/tooling alignment
  6. Debug common failure modes

What it can do on your machine

Read from SKILL.md and the folder at commit 48d4aa2. 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 php and json).

    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.

  • Compatibility

    Targets WordPress 6.9+ (PHP 7.2.24+). Filesystem-based agent with bash + node. Some workflows require WP-CLI.

    From compatibility in the SKILL.md frontmatter.

Context cost

Wp Interactivity API loads about 1.5k tokens when it runs, and up to ~4.1k if it reads all its reference files. Until then it costs about 68 tokens; SKILL.md has 578 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.1k

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 578 words (~1,542 tokens).

“Use this skill when the user mentions:”

— opening of SKILL.md by Automattic
name
wp-interactivity-api
compatibility
Targets WordPress 6.9+ (PHP 7.2.24+). Filesystem-based agent with bash + node. Some workflows require WP-CLI.

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (references) in skills/wp-interactivity-api of Automattic/agent-skills.

  • SKILL.md
  • references/debugging.md
  • references/directives-quickref.md
  • references/server-side-rendering.md

Open the folder on GitHubat commit 48d4aa2

Used in 3 other repositories

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in Automattic/agent-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Wp Interactivity API 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.

Wp Interactivity API compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wp Interactivity API this skillAutomattic/agent-skills2113 repos~1.5kAutomated safety check: PassNone
Debug Php Wasm Main ModuleWordPress/wordpress-playground2k—~3.1kAutomated safety check: PassGPL-2.0
Debug Php Wasm Side ModulesWordPress/wordpress-playground2k—~2.5kAutomated safety check: PassGPL-2.0
Playground Website DebuggingWordPress/wordpress-playground2k—~1.9kAutomated safety check: PassGPL-2.0
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence
WooCommerce Dev Cyclewoocommerce/woocommerce11k3 repos~431Automated safety check: PassCustom licence

Similar skills

  • Debug Php Wasm Main Module

    WordPress/wordpress-playground

    Debug PHP.wasm main module crashes including Asyncify errors (unreachable, memory access out of bounds), JSPI errors (SuspendError, trying to suspend JS frames), WASM memory growth bugs, and runtime…

    2k GitHub stars~3.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Debug Php Wasm Side Modules

    WordPress/wordpress-playground

    Debug WASM side modules (dynamic PHP extensions) including dlopen failures, SIDEMODULE loading, JSPI suspension crashes in extensions, C++ weak symbol issues, and extension runtime errors.

    2k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Playground Website Debugging

    WordPress/wordpress-playground

    Debug the WordPress Playground website by running the dev server from source and interacting with it via Playwright MCP.

    2k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • WooCommerce Dev Cycle

    woocommerce/woocommerce

    Workflow for WooCommerce development: run PHP and JavaScript tests, lint and fix code style on the current branch, and follow guides for i18n and markdown.

    11k GitHub starsUsed in 3 repos~431 tokens
    DevelopmentAuto-check passed
  • Staticphp Documentation Sync

    crazywhalecc/static-php-cli

    Synchronize bilingual documentation when StaticPHP v3 user-facing or developer-facing documentation must change.

    1.9k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed

More from Automattic/agent-skills

  • Wp Playground

    Automattic/agent-skills

    A skill your agent uses for WordPress Playground workflows: fast disposable WP instances in the browser or locally via @wp-playground/cli (server, run-blueprint, build-snapshot), auto-mounting…

    211 GitHub starsUsed in 2 repos~1.2k tokens
    Auto-check passed
  • Wp Wpcli And Ops

    Automattic/agent-skills

    A skill your agent uses when working with WP-CLI (wp) for WordPress operations: safe search-replace, db export/import, plugin/theme/user/content management, cron, cache flushing, multisite, and…

    211 GitHub starsUsed in 2 repos~988 tokens
    Auto-check passed
  • Wp Phpstan

    Automattic/agent-skills

    A skill your agent uses when configuring, running, or fixing PHPStan static analysis in WordPress projects (plugins/themes/sites): phpstan.neon setup, baselines, WordPress-specific typing, and…

    211 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Wpds

    Automattic/agent-skills

    A skill your agent uses when building UIs leveraging the WordPress Design System (WPDS) and its components, tokens, patterns, etc.

    211 GitHub starsUsed in 1 repo~704 tokens
    Auto-check passed

Works with

Categories

Questions about Wp Interactivity API

What does Wp Interactivity API do?

A skill your agent uses when building or debugging WordPress Interactivity API features (data-wp- directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration…. Wp Interactivity API is an agent skill from Automattic/agent-skills. Use when building or debugging WordPress Interactivity API features (data-wp- directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration, wpinteractivity()) including performance, hydration, and directive behavior.

When should I use Wp Interactivity API?

Wp Interactivity API fits situations like: debugging WordPress Interactivity API features (data-wp- directives; @wordpress/interactivity store/state/actions; block viewScriptModule integration; wpinteractivity()) including performance.

How do I install Wp Interactivity API in Claude Code?

Run `npx skills add Automattic/agent-skills --skill wp-interactivity-api -a claude-code`. Or copy the skill folder (skills/wp-interactivity-api in Automattic/agent-skills) into .claude/skills/wp-interactivity-api in your project. Claude Code loads it when a task matches its description.

How do I install Wp Interactivity API in Codex?

Run `npx skills add Automattic/agent-skills --skill wp-interactivity-api -a codex`. Or copy the skill folder (skills/wp-interactivity-api in Automattic/agent-skills) into .agents/skills/wp-interactivity-api in your project. Codex loads it when a task matches its description.

Can I use Wp Interactivity API 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 Automattic/agent-skills --skill wp-interactivity-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/wp-interactivity-api, .gemini/skills/wp-interactivity-api, .github/skills/wp-interactivity-api and .opencode/skills/wp-interactivity-api in your project.

What does Wp Interactivity API need to run?

SKILL.md names no scripts, command-line tools or credentials: Wp Interactivity API is instructions for the agent only. Compatibility (from SKILL.md): Targets WordPress 6.9+ (PHP 7.2.24+). Filesystem-based agent with bash + node. Some workflows require WP-CLI..

Does Wp Interactivity API 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 Wp Interactivity API 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 Wp Interactivity API use?

No licence was found for Wp Interactivity API or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Wp Interactivity API use?

About 1.5k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.6k tokens, read only when the agent opens those files.

What are the alternatives to Wp Interactivity API?

Skills that share tags, products or a category with Wp Interactivity API: Debug Php Wasm Main Module (WordPress/wordpress-playground, 2k stars), Debug Php Wasm Side Modules (WordPress/wordpress-playground, 2k stars), Playground Website Debugging (WordPress/wordpress-playground, 2k stars) and WooCommerce Code Review (woocommerce/woocommerce, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wp Interactivity API?

Automattic (a GitHub organization) maintains it in Automattic/agent-skills, which has 211 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on February 1, 2026.

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