New advertisers: 50% off your first month with code FIRSTMONTHSee slots
jezweb avatar

Wordpress Setup

Guided WP-CLI or REST API connection setup that verifies access and saves a reusable site config.

skills.sh installs
1.6K
GitHub stars
1.1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers checking WP-CLI, connecting over SSH or with an Application Password, and verifying content, plugin, and theme access
  • Includes an SSH troubleshooting table, WP-CLI alias patterns, and REST API gotchas like HTTPS requirements and cache busting
  • Stores credentials in wp-cli.yml or .dev.vars and writes wordpress.config.json for other skills to reference
  • Designed for developers connecting Claude Code to a WordPress site, including Elementor-based sites

Install

$ npx -y skills add jezweb/claude-skills --skill wordpress-setup -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

WordPress Setup

Connect to a WordPress site and verify working access via WP-CLI or REST API. Produces a verified connection config ready for content management and Elementor editing.

Workflow

Step 1: Check WP-CLI

wp --version

If not installed, guide the user:

# macOS/Linux
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp

Also ensure the SSH extension is available (needed for remote sites):

wp package install wp-cli/ssh-command

Step 2: Connect to the Site

Option A: WP-CLI over SSH (preferred)

wp --ssh=user@hostname/path/to/wordpress option get siteurl

Common patterns:

  • Rocket.net: wp --ssh=user@hostname/www/sitename/public option get siteurl
  • cPanel: wp --ssh=user@hostname/public_html option get siteurl
  • Custom: Ask user for SSH user, host, and WordPress path

Test with a simple command first:

wp --ssh=user@host/path core version

Option B: REST API with Application Password

If SSH isn't available:

Details

Repository
github.com/jezweb/claude-skills
Categories
PHP & Laravel, Backend & APIs
First seen
Apr 16, 2026

More from jezweb/claude-skills

All 64

Similar to Wordpress Setup

More PHP & Laravel