/rolepod-wplab:wp-introspectfrom rolepod-wplab
Read-only runtime snapshot of WordPress internals via the companion's `/introspect` endpoint — hooks, transients, options, request_state, hook callbacks. Phase = Debug.
Ships in rolepod-wplab. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read-only runtime visibility into WordPress. Covers four scopes via the companion /introspect endpoint plus hook_state for callback enumeration. Pure read — never writes, never evaluates code (that is wp-execute-php).
hooks scope + hook_state on that hook.transients scope.options_full (names only, then targeted lookup).request_state.Skip when:
wp-execute-php.wp-diagnose.wp-content.Owns:
rolepod_wp_introspect (all 4 scopes).rolepod_wp_hook_state (specific hook → callbacks listed)./introspect endpoint.Does not own:
wp-execute-php (with safety chain).wp-diagnose.file_read.Return / hand off:
wp-execute-php.wp-diagnose.scope (hooks / transients / options_full / request_state).include_values: true ONLY on non-production targets, and only with explicit user OK.hook_state: the hook name (e.g. wp_head, save_post, woocommerce_checkout_order_processed).See references/introspect-scopes.md for the per-scope decision tree.
Single rolepod_wp_introspect { target_id, scope, include_values? } OR rolepod_wp_hook_state { target_id, hook }.
Print the result raw. Do not summarize. The user is debugging — they need verbatim.
If the introspect reveals a problem worth diagnosing in depth → wp-diagnose. If it reveals a fix that needs runtime PHP → wp-execute-php.
rolepod:debug-issue (Rolepod parent skill) for the broader debug workflow this introspect feeds into.rolepod:rolepod-builder for hook-callback investigation.No durable artifact. The introspect response is the value — surface it directly.
No examples file. The four scopes are documented in references with concrete inputs/outputs.
Load when picking a scope or when an introspect result is unfamiliar:
references/introspect-scopes.md — per-scope decision tree, sample output shape, common pitfalls (transients with sub-resources, options_full size, hook priority sort, request_state during REST vs admin-ajax).include_values: true AND target is production-matched → STOP, refuse client-side, do not pass to server (server would refuse too but the request leaks intent).Full Rolepod adds historical introspect diffing (compare today's hook map to yesterday's) using per-site ~/.config/rolepod-wplab/memory/. Standalone, each call is point-in-time.
wp-execute-php (PHP eval) OR wp-content (REST write) OR wp-edit-plugin (plugin config).wp-diagnose for the full multi-probe view.What SKILL.md sets; muted values are Claude Code's defaults
user is debugging a hook firing order / transient stuck / option value mystery / "who is listening to this filter", OR wants to inspect runtime state without writing
Other plugins' skills for the same job
npx claudepluginhub nuttaruj/rolepod-wplab --plugin rolepod-wplab15 skills in this plugin
/wp-changesQuery the AI Change Ledger on a connected target — the writes the MCP recorded through the companion (RestTarget only), categorized; toggle on/off; panic-revert recent changes. Phase = Recovery./wp-connectOpen a WordPress Target on any kind (local / REST + App Password / SSH / Docker) using credentials already in the vault. Phase = Define./wp-contentCreate, read, update, search posts/pages/users/options/taxonomies via the core WP REST API on a connected target. Phase = Build./wp-diagnoseMulti-probe diagnostic + security audit of a connected target — plugin conflicts, slow queries, large autoload options, broken images, PHP errors, outdated core/plugins/themes, weak admins. Phase = Debug./wp-edit-designRead or modify page-builder layouts on a connected target — Elementor, Divi, Oxygen, Bricks widget trees. Phase = Build./wp-edit-pluginRead or write configuration owned by SEO / i18n / e-commerce / custom-field / forms plugins — Yoast, RankMath, WPML, WooCommerce, ACF, Gravity / CF7 / WPForms — on a connected target. Phase = Build.