Restructure and rewrite key pages

ContentIntermediate~15 minUpdated

Before you start

A connected site with content reads and content writes enabled so the agent can read a page and, once you approve, update it. The update sends the whole page body in one call, so the agent reads the raw block markup first and pastes the original body into the chat before it writes. Replace in post is for small fixes to plain visible text only: it refuses a match inside a tag or attribute such as an href or src and a replacement that adds markup.

Some pages grow by accretion. A paragraph gets added here, a section there, and two years later the page buries its point under three intros and a wall of text nobody reorganized. You know it needs a rewrite, but opening it and facing the whole thing at once is exactly why it never happens.

This lets the agent read the page cold, propose a tighter structure, and show you the rewrite next to what is there now. You approve before anything saves.

The prompt
Read the page at [/pricing/] as raw block markup and help me tighten it. Do not
change anything yet.
First, give me your read: what the page is trying to say, where it repeats
itself, and where the structure works against the reader. Then propose a
cleaner outline (the headings in order) and a full rewrite, and show it next
to the current copy so I can compare section by section.
I will tell you which sections to keep. Only after I approve, first paste the
page's current body into your reply so I have a copy. Then apply the rewrite to
the page body. If a section only needs a small fix to plain text, do a targeted
find-and-replace on that exact text instead of rewriting the whole block; it
refuses anything inside a tag or attribute, so use the page update for
those. Do not change whether the page is published. When you are done, list
what you changed.

Why this is safe to run

Reading the page writes nothing, so you see the proposed structure and the full rewrite before a single character is saved. You can approve the whole thing, approve section by section, or walk away.

When you approve, the write only edits the page body. It never publishes or unpublishes the page, and the find-and-replace option touches only the exact plain text you pointed at and refuses to edit inside a tag or attribute. The agent puts the previous body in the chat first, so a rewrite you dislike is easy to put back. The edit is recorded in the Changes tab, and a revert there is refused if it would overwrite something newer. As always, the update ability is off until you enable it, every call is checked against the capability of the user you bound the agent to, and each edit lands in the Activity Log with the page it changed.

Already connected? Skip the paste. Ask your agent for the “restructure and rewrite key pages” recipe, or just point it at a page and say it reads rough, and it runs the same read-propose-approve flow on your own site.

How it works

  1. Read the page you name as raw block markup, headings and body, and change nothing.
  2. Propose a cleaner outline and a rewrite, and show it beside the current copy.
  3. Wait for your approval, and let you approve section by section if you want.
  4. Paste the current body into the chat so you have a copy, then apply the approved rewrite, or a targeted find-and-replace on plain text for smaller fixes.
  5. Return what changed.

Questions

Can I approve only part of the rewrite?
Yes. Ask it to go section by section. You can keep some sections as they are and only apply the ones you approved, and it will leave the rest untouched.
What if the rewrite is worse than the original?
The agent pastes the previous body into the chat before it writes, so you can put it back. The Changes tab in wp-admin can also revert the edit if the page hasn't been edited since, for up to 30 days. The update only edits the page body and never changes whether the page is published.