Writers forget to set a category, or pick the wrong one, and posts pile up under "Uncategorized." This automation reads each post the moment it is saved and assigns the single best-fit category from your own taxonomy.
sonnet3 daysWordPress REST APIOpenAIn8nMySQL post taxonomy
Claude
70ROI
65Scale
$1.6k85Saved
ROI for
README.md
Why this subagent
Writers forget to set a category, or pick the wrong one, and posts pile up under "Uncategorized." This automation reads each post the moment it is saved and assigns the single best-fit category from your own taxonomy.
It runs on the WordPress save hook, classifies the body against your live category list, and writes the result back through the REST API. You keep a clean, browsable archive without editing a single post by hand.
How it runs
Used at step 01 to kick off the pipeline.
Write
Used at step 01 to kick off the pipeline.
WebFetch
Used at step 01 to kick off the pipeline.
WebSearch
Used at step 01 to kick off the pipeline.
Send the text to a classifier prompt that returns one of your existing WordPress categories.
pending
Match the returned label against the live category list and create it only if you allow new ones.
pending
Write the category back to the post via the REST API before the editor reloads the screen.
pending
Sample output
json
// Sample output
// (generated when the pipeline finishes)
Read the post body and return exactly one category slug from this allowed list as JSON: {"category": "slug"}.
Unlock the rest
The full agent definition, install snippet, and starter task are gated for community members.
Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.