Synced blocks pile up quietly. You duplicate one to try a layout, build a couple of test blocks, keep an old promo you meant to delete, and a year later the reusable-blocks list is a junk drawer nobody wants to sort by hand.
This prompt does the sorting for you and leaves the deciding with you. It lists every synced block, reads what is inside each, and hands you a shortlist of likely-dead ones. Nothing is removed until you say so, and anything it trashes can be restored.
I want to clean up the synced (reusable) blocks on this site. Work in twopasses and change nothing in the first.
First pass: list every synced block with its title, slug, and last-modifieddate, then open each one so you can see what it holds. Hand me back a table ofcleanup candidates, the blocks that look dead, empty, duplicated, or like oldtest blocks, with a one-line note on why each made the list.
I will tell you which ones to remove. Only after I confirm, move the approvedblocks to the Trash in small batches, pausing to show me each batch. At theend, list every block you trashed so I can restore any I want back.Why this is safe to run
The whole first pass is reads. Listing the blocks and opening each one writes nothing, so you get to see the full shortlist as a table before a single block moves. One honest limit worth knowing: with these abilities the agent can read the blocks themselves but cannot scan every page to prove a block is unused, so it flags the likely-dead ones and you make the final call.
The delete half is recoverable by design. delete-block moves a block to the Trash rather than erasing it, so a block you remove by mistake is one restore away. On top of that, the delete ability stays off until you enable it, every call is checked against the capability of the user you bound the agent to, and every removal lands in the Activity Log with the block it touched.
Already connected? Skip the paste. Ask your agent for the “clean up orphaned reusable blocks” recipe, or just ask it to shortlist your dead synced blocks, and it runs the same two-pass flow on your own site.