An AI agent skill that runs WP-CLI commands against Local

I’ve created a skill that let the AI agent run wp-cli commands

Example prompts:

  • “List all plugins on my Local site”
  • “Activate the woocommerce plugin”
  • “What version of WordPress is running?”
  • “Flush the cache”
  • “Export the database”
  • “Show all options matching siteurl
  • “List scheduled cron events”

Available at https://github.com/soderlind/wp-cli-local

1 Like

Pretty cool! I’ll check it out.

I’ve been spending a bunch of time exploring this surface area. GitHub - jpollock/local-addon-cli · GitHub is my current work. And I’ve been using it extensively in my own WP work in Claude Code.

CLI for many is a great way to integrate into AI, for sure.

1 Like