
Wp security escaping
Guides an agent to escape output, sanitise input and enforce nonces in WordPress and Acorn
Wp security escaping is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 14
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Wp security escaping
This skill gives an agent a checklist for securing WordPress and Acorn code. It covers when to use Blade's double-brace versus raw output and when WordPress escapers such as esc_html, esc_url and wp_kses_post belong, so values are escaped exactly once. It also covers input sanitising by data type, ACF save filtering, and pairing every state change with a nonce and a current_user_can() check.
The workflow walks through four steps: escaping output, sanitising and validating input, verifying intent and authority for forms, AJAX and REST routes, and preparing every database query with $wpdb->prepare() or parameter bindings. It includes grep-based verification commands, a table of common failure modes with fixes, and a set of reference files for Blade escaping, input and SQL, and capabilities.
The skill expects a WordPress project using Acorn, and it refers to a runner command from the session context for running WP-CLI and tests. It is aimed at reviewing and writing PHP and Blade code.
When your agent uses it
Use when writing or reviewing code that outputs data, handles input or checks permissions in a WordPress + Acorn project - Blade {{ }} vs {!! !!}, esc_html, esc_attr, esc_url, wp_kses_post, "& in the URL", double escaping, sanitize_text_field, nonces, current_user_can, map_meta_cap, permission_callback, $wpdb->prepare, whereRaw, file uploads, escaping ACF values, secrets in .env. For route middleware use acorn-routes-api; for ACF validation use acf-native; for Livewire actions use acorn-livewire.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 4 files (21 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the kivo-wise plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add hekivo/kivo-wise
/plugin install kivo-wise@kivo-wiseOr copy only this skill to ~/.claude/skills/wp-security-escaping:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/wp-security-escaping &&
cp -R "$tmp/plugins/kivo-wise/skills/wp-security-escaping" ~/.claude/skills/wp-security-escaping &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/wp-security-escaping inside it instead.
Copy the skill folder to ~/.agents/skills/wp-security-escaping to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/wp-security-escaping &&
cp -R "$tmp/plugins/kivo-wise/skills/wp-security-escaping" ~/.agents/skills/wp-security-escaping &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/wp-security-escaping inside it instead.
Copy the skill folder to ~/.cursor/skills/wp-security-escaping to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/wp-security-escaping &&
cp -R "$tmp/plugins/kivo-wise/skills/wp-security-escaping" ~/.cursor/skills/wp-security-escaping &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/wp-security-escaping inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/hekivo/kivo-wise.git --path plugins/kivo-wise/skills/wp-security-escapingOr copy the folder to ~/.gemini/skills/wp-security-escaping yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/wp-security-escaping:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/wp-security-escaping &&
cp -R "$tmp/plugins/kivo-wise/skills/wp-security-escaping" ~/.copilot/skills/wp-security-escaping &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/wp-security-escaping inside it instead.
Get the folder:
git clone --depth 1 https://github.com/hekivo/kivo-wise.gitThen copy kivo-wise/plugins/kivo-wise/skills/wp-security-escaping into your agent's skills folder as wp-security-escaping. Agents that support SKILL.md read one folder per skill.
What it does
- Output escaping rules
- Explains when Blade braces and WordPress escapers apply, and how to avoid double escaping in links and titles.
- Input sanitising guide
- Lists sanitisers by data type and covers uploads, ACF save filtering and post meta callbacks.
- Nonce and capability checks
- Shows how to pair nonces with current_user_can() and REST permission callbacks.
- Safe database queries
- Covers $wpdb->prepare() placeholders and bindings for raw query helpers.
- Security failure table
- Maps common symptoms such as visible entities or open REST routes to their causes and fixes.
Good for
- Review a Blade template for unsafe raw output
- Add a nonce and capability check to a form handler
- Secure a REST route with a permission callback
- Check custom SQL queries for injection risks
- Sanitise ACF field values before saving
Wp security escaping FAQ
When does Wp security escaping trigger?
It applies when writing or reviewing code that outputs data, handles input or checks permissions in a WordPress and Acorn project.
Does Wp security escaping need any scripts or tools?
It includes no scripts. It expects a WordPress and Acorn project and a runner command from the session context for WP-CLI and tests.
Which skill should handle route middleware?
Route middleware is covered by acorn-routes-api, ACF validation by acf-native and Livewire actions by acorn-livewire.
How do I install Wp security escaping in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/wp-security-escaping to use it in all your projects, or to .claude/skills/wp-security-escaping in one project. Or install the kivo-wise plugin, which includes it: /plugin marketplace add hekivo/kivo-wise, then /plugin install kivo-wise@kivo-wise.
Does Wp security escaping run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Wp security escaping?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Wp security escaping?
The closest alternatives to Wp security escaping are Acorn stack, Acorn routes API, Wp hooks lifecycle, Acorn background and Testing wp.
Where this comes from
- Description: from the skill's own SKILL.md.
More from hekivo/kivo-wise

Writes approved design plans as WordPress block markup and scaffolds missing blocks
- Open source
- 14 GitHub stars
- Developer tools

Maps Figma components to project code blocks through Code Connect, with approval first
- Open source
- 14 GitHub stars
- Design and media

Turns a Figma frame, HTML file or URL into a WordPress page on the Roots stack
- Open source
- 14 GitHub stars
- Developer tools

Turns a Figma frame into neutral section specs for kivo-creator via the Figma MCP server
- Open source
- 14 GitHub stars
- Design and media

Turns an HTML file or URL into kivo-creator section specs with reference screenshots
- Open source
- 14 GitHub stars
- Developer tools

Maps design sections to a project's existing blocks before any code is generated
- Open source
- 14 GitHub stars
- Developer tools

