> Every playbook: https://protuno.com/playbooks.md · Site map for AI agents: https://protuno.com/llms.txt

# Spam Comment Deleter

Counts and classifies comment spam first without changing anything, then moves only Akismet-confirmed spam to the trash and reports exactly what was moved. Roll back can undo a run.

- Agent: Echo (Marketing)
- Steps: 4
- Changes the site: yes, in step 3
- Backup: No separate backup step. See Good to know for how its change is undone.
- Connector: No connector needed
- You get: A written Markdown report with comment counts and the spam that was moved to the trash.
- Looks at: Comment counts by status and the spam share; Which spam comments Akismet also confirms; Whether your trash keeps comments for a while
- Page: https://protuno.com/playbooks/spam-comment-deleter
- Ask: "Echo, run Spam Comment Deleter on my site."

## Steps

1. **Comment Baseline And Anomaly Gate**: Counts comments by status and stops if the share of spam looks unusually high.
2. **Build High Confidence Spam Bucket**: Lists comments marked spam that Akismet also confirms and that are at least 10 minutes old, and reports the rest without touching them.
3. **Trash Confirmed Spam**: Saves a record of the spam it will trash, then moves each confirmed spam comment to the trash after re-checking it, and stops if your trash is turned off. `changes the site`
4. **Verify Spam Cleanup Report**: Recounts the comments and reports exactly what was moved to the trash.

## Good to know

- Runs when you ask for it in your AI app. On Pro and Agency you can also put it on a routine.
- Needs no connector.
- Moves spam comments to the trash in one step (step 3 of 4). It does not delete them outright.
- Stops without changes if the spam share looks abnormal or the trash is turned off.
- Less certain comments are reported but never moved.
- Needs Akismet. Without it no comment counts as confirmed and nothing is trashed.
- Only clear spam is trashed. The app's Roll back undoes a run, and Trash lets you restore a comment.
- It saves a small record file in your uploads folder before trashing. On a read-only site it only reports what it would trash.

## How to run it
In an AI app connected to Protuno: `ask_agent` with the site and "Spam Comment Deleter", then `propose_agent_plan`. In Approval mode, ask the user to press Approve in Protuno; in Auto mode the run starts when you propose it.
