Best for
- Starting a new conversation about an existing WordPress site
- The agent has just connected to a site via MCP and is about to start editing
- A previous session got confused and started writing raw HTML
respira-press/agent-skills-wordpress/skills/prime-the-agent/SKILL.md
Use when starting a session on an existing WordPress site, or when the user says 'prime yourself', 'what builder does this site use', or 'give me a site briefing'. Loads the active site, detects the builder, loads inline schemas, reads the stored per-site brief, and sets the do-not-write-raw-HTML rule.
Decision brief
Version: 1.2.0 Updated: 2026-08-04 Category: workflow Status: stable Requires: Respira for WordPress plugin + MCP server Telemetry endpoint: https://www.respira.press/api/skills/track-usage
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/respira-press/agent-skills-wordpress --skill "skills/prime-the-agent"Inspect the Agent Skill "prime-the-agent" from https://github.com/respira-press/agent-skills-wordpress/blob/5d1da85c853404519229c5514df332b54031304c/skills/prime-the-agent/SKILL.md at commit 5d1da85c853404519229c5514df332b54031304c. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Run these steps in order. Step 0 and Step 7 are the memory loop (start and end of session); Steps 1 to 6 are the priming itself. Do not skip steps.
Memory now arrives on its own. When Step 2 calls respiragetsitecontext, the response carries a sitememory block: the notes and rules past sessions left behind for this exact site — the division of labor, the quirks, anything learned the hard way. There is no option to fetch and…
Call respiragetactivesite. If no active site is set or the call fails, stop and ask the user which connected site to work on. Then call respiralistsites to show options.
Call respiragetsitecontext. Capture: WordPress version, PHP version, active theme, plugin count, multisite y/n, site URL.
Call respiragetbuilderinfo. This returns the active page builder (Elementor, Bricks, Divi, Gutenberg, Oxygen, Breakdance, Beaver, Brizy, WPBakery, Visual Composer, Thrive Architect, Flatsome, Spectra, Kadence Blocks, GenerateBlocks, or SeedProd), its version, and which modules a…
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 96/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 42 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Version: 1.2.0 Updated: 2026-08-04 Category: workflow Status: stable Requires: Respira for WordPress plugin + MCP server Telemetry endpoint: https://www.respira.press/api/skills/track-usage
A fast, focused session-starter. Run this at the top of any conversation about a WordPress site to prime the agent on how to work with the site correctly. Prevents the single most common failure mode: the agent generating raw HTML instead of using the site's actual page builder.
This skill is not a full site audit. For that, use Site Onboarding or WordPress Site DNA. This is the 30-second preamble before any work.
Since v1.1 it also carries memory across sessions. it reads a per-site brief stored on the site itself at the start, and offers to append what it learned at the end. So the next session, yours, a teammate's, or a different AI client, starts already knowing this site's quirks and the division of labor you prefer, instead of relearning them every time.
As of v1.2, memory is first-class. The brief arrives automatically inside respira_get_site_context under site_memory (no extra call), and learnings are saved with respira_remember. Memory can also carry site rules, and those are enforced by the site itself: a refused write is the site working as designed, not an error to retry.
Use Prime the Agent when:
Skip this skill when:
This skill activates when the user says any of:
Run these steps in order. Step 0 and Step 7 are the memory loop (start and end of session); Steps 1 to 6 are the priming itself. Do not skip steps.
Memory now arrives on its own. When Step 2 calls respira_get_site_context, the response carries a site_memory block: the notes and rules past sessions left behind for this exact site — the division of labor, the quirks, anything learned the hard way. There is no option to fetch and no extra call to make. (The old pattern of reading a respira_site_memory option via respira_get_option is legacy; do not use it.) If you need the full list with entry ids, say to prune a stale note, call respira_list_memory.
If site_memory is empty, there is no memory yet, that is fine, you will create it in Step 7. If it has content, read it before anything else and fold it into how you work below. Two kinds of entries live there:
respira_protected_by_site_rule, that refusal is final: do not retry it, and do not reach for a different tool to make the same change another way. Tell the user which rule blocked it and let them decide.Watch each note's date. if a note looks stale (say it names a builder that Step 3 contradicts), trust the live call and fix the note at the end.
Call respira_get_active_site. If no active site is set or the call fails, stop and ask the user which connected site to work on. Then call respira_list_sites to show options.
Call respira_get_site_context. Capture: WordPress version, PHP version, active theme, plugin count, multisite y/n, site URL.
Call respira_get_builder_info. This returns the active page builder (Elementor, Bricks, Divi, Gutenberg, Oxygen, Breakdance, Beaver, Brizy, WPBakery, Visual Composer, Thrive Architect, Flatsome, Spectra, Kadence Blocks, GenerateBlocks, or SeedProd), its version, and which modules are available.
This is the most important call. Every write to a page must go through this builder's native data structure. The agent's job is not to write WordPress pages — it's to write this builder's pages.
Call respira_get_builder_inline_schemas. This returns the JSON schema for every module type the active builder supports. Keep these in working memory before any write.
Call respira_list_pages (limit 25) and respira_list_custom_posts (limit 10). The agent now knows what pages exist, what custom post types are defined, and roughly how big the site is.
Output a short briefing in this exact shape:
## Primed and ready
**Active site:** {site_url}
**WordPress:** {wp_version} · PHP {php_version} · Theme {theme_name}
**Active builder:** {builder_name} {builder_version}
**Content surface:** {page_count} pages · {custom_post_count} custom posts · {plugin_count} plugins
**Multisite:** {yes/no}
**From memory:** {one-line gist of the site_memory block, or "nothing stored yet, i'll start a brief at the end"}
**Working rules I'll follow on this site:**
- Every page edit goes through {builder_name}'s native modules. No raw HTML.
- Before changing a live page, I'll call `respira_create_page_duplicate` first (SafeEdit).
- I'll use `respira_extract_builder_content` to read pages and `respira_inject_builder_content` to write them whole.
- For element-level changes I'll use `respira_find_element` → `respira_update_element`.
- For new pages from a brief I'll use `respira_build_page`, not `respira_update_page` with HTML.
Ready when you are.
Before the session ends, save what you learned so the next session starts smarter. Propose a short, durable summary to the user first. on their nod, call respira_remember once per learning, each as its own small entry. If the user says a stored note is no longer true, remove it with respira_forget (get the entry id from respira_list_memory). Do not write the respira_site_memory option anymore; the first-class tools replaced it.
Keep each entry small and durable:
respira_get_builder_info or respira_get_site_context already returns, anything secret.Refresh anything you re-confirmed this session, and drop only what the user says is no longer true. Never respira_forget a note the user has not contradicted.
Steps 0 and 7 are a loop. The site keeps per-site memory on the site itself, managed by first-class tools: it arrives automatically in respira_get_site_context under site_memory, is written with respira_remember, listed with respira_list_memory, and pruned with respira_forget. Because it lives on the site, it survives stateless sessions and travels: the next conversation, a teammate, or a different AI client all read the same brief.
The old pattern — reading and writing a respira_site_memory option through respira_get_option / respira_update_option — is legacy. Do not use it on current plugin versions; the tools above replaced it.
Four rules keep it safe:
respira_protected_by_site_rule refusal is final: never retry it or route around it with another tool. Surface it to the user. The same holds for access profiles: a site may run in a content or observe profile, and out-of-profile tools are refused server-side. Treat that refusal as an answer, not an error.These are the rules the agent must follow on every WordPress site that uses a page builder. Internalize these before any write operation.
If the active builder is Elementor, the page is a tree of Elementor widgets. If Bricks, it is a tree of Bricks elements. If Divi 5, it is a tree of Divi modules with the v5 catalog. If Gutenberg, it is a tree of blocks. Writing <div> or <section> HTML into the page bypasses the builder's data structure and corrupts the page — the builder won't recognize the content and the editor will show a blank canvas or an unparseable warning.
For the active builder, use this tool stack (in order of preference for each operation):
To read a page:
respira_extract_builder_content (returns the builder's native structure)respira_read_page (returns metadata + content)respira_get_page_outline (returns headings + structure)To find something to edit:
respira_find_element (with text, class, widget type, or ID query)respira_find_builder_targets (returns builder-specific selectors)To change something:
respira_update_element (single element, the most common operation)respira_update_module (for module-level changes — Divi, Bricks)respira_apply_builder_patch (for builder-JSON patches)To write a whole page:
respira_build_page (for new pages from a brief — uses builder schemas)respira_inject_builder_content (for whole-page content drops in builder-native format)Never use:
respira_update_page with raw HTML for content changes. This replaces the entire page body and bypasses the builder — the result is a "code page" with no editable widgets. respira_update_page is only for page title, slug, status, or custom CSS.Before changing any page that is published and indexed, call respira_create_page_duplicate. Edit the duplicate. Show the user the duplicate URL. Let them review before promoting the duplicate to the live page. This is SafeEdit, and it has saved more than one customer site from a regret.
respira_get_builder_inline_schemas returns the exact attribute shape for every module the active builder supports. Read it before writing. If a module's schema says padding is a dimension object with unit and value keys, write a dimension object. If it says font_size is an integer, write an integer. Do not improvise.
Every write through Respira creates a TimeSnap automatically. If the user wants to roll back, call respira_list_snapshots then respira_restore_snapshot. You do not need to manually create snapshots — but if a customer is doing something risky (multi-page bulk update), you can take an explicit one with the snapshot helper.
User: "prime yourself for this site"
Agent: (runs Steps 1–6 in order, outputs the briefing)
Then: "What would you like to work on?"
User: "wait, you're writing HTML. I told you we use Bricks."
Agent: (re-runs Step 3 — respira_get_builder_info — confirms Bricks)
Then: "You're right. I'm re-priming. Active builder: Bricks 1.12. From here on every write goes through Bricks element schemas, not HTML. Continuing with [task]."
User: "prime the agent for my blog"
Agent: (runs Steps 1–6)
Notes: For Gutenberg-only sites, "builder-native" means writing block markup (the <!-- wp:paragraph --> comments + serialized block JSON), not raw HTML. The same do-not-write-raw-HTML rule applies — block content is the native structure, not freeform HTML.
This skill records a usage event when it runs. The event captures: active site URL hash, active builder, content-surface counts (pages, custom posts, plugins), success/failure, and total duration. No site content, no user prompts, no tool arguments are sent.
Endpoint: POST https://www.respira.press/api/skills/track-usage
Telemetry can be disabled at the plugin level under Respira → Settings → Privacy → Anonymous telemetry.
The single most common failure mode the Respira team sees in customer support is: an AI agent picks up a conversation about a WordPress site, doesn't check which builder is active, and starts writing raw HTML. The page goes into the database as a blob of HTML that the builder cannot parse. The editor opens to a broken canvas. The customer files a bug report.
This skill prevents that by making "before any work, find out what you're working on" a first-class, named, triggerable workflow. Run it. Then everything else works.
Frequently asked questions
Version: 1.2.0 Updated: 2026-08-04 Category: workflow Status: stable Requires: Respira for WordPress plugin + MCP server Telemetry endpoint: https://www.respira.press/api/skills/track-usage
The source record exposes this install command: npx skills add https://github.com/respira-press/agent-skills-wordpress --skill "skills/prime-the-agent". Inspect the command and pinned source before running it.
Alternatives
respira-press/agent-skills-wordpress
Use when the user says 'my site looks bad on mobile', 'check mobile layout', 'responsive audit', or 'site broken on phones'. Diagnoses breakpoint problems, text sizing, column stacking failures, hidden elements, and navigation menu behavior, device by device.
respira-press/agent-skills-wordpress
Use when the user says 'why is my checkout broken', 'audit my woocommerce store', 'cart problems woocommerce', or 'losing sales woocommerce'. Diagnoses checkout and cart failures, AJAX mismatches, caching conflicts, payment gateway setup, and SSL enforcement.
respira-press/agent-skills-wordpress
Use when the user says 'analyze my wordpress site', 'what is running on my site', 'site dna', or 'what plugins are on my site'. Detects every page builder, audits active versus dead-weight plugins, maps content structure, finds orphaned shortcodes, and checks performance and security posture.
respira-press/agent-skills-wordpress
Use when the user says 'clean up my wordpress', 'what is bloating my wordpress', 'find orphaned shortcodes', or 'scan for unused plugins'. Audits orphaned shortcodes from deleted plugins, unused plugins, database bloat, unused media, and leftover data from inactive builders.