Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jtsternbergv1.2.4MITIn 1 marketplace
Routes WP-CLI and PHP commands through the PHP and MySQL versions LocalWP provisions for your site, not the system ones. Needs LocalWP and macOS; the skill only loads inside a LocalWP site directory.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code skill that routes WP-CLI, PHP, MySQL, and Composer commands through LocalWP's sandboxed environment — so Claude stops tripping over your system PHP and wondering why wp doesn't exist.
Platform: macOS only.
LocalWP provisions its own PHP, MySQL, WP-CLI, and Composer per site. But when Claude Code runs shell commands, it hits the system binaries (or nothing at all), leading to:
wp: command not foundCan't connect to local MySQL server through socketFailed loading opcache.so / xdebug.soThis skill teaches Claude to automatically detect LocalWP sites and wrap commands through the correct environment.
| File | Purpose |
|---|---|
skills/localwp-shell/SKILL.md | The skill definition Claude loads — trigger patterns, usage docs, error recovery |
skills/localwp-shell/scripts/localwpshell | Core script: resolves the current directory to a LocalWP site (including through symlinks), loads its environment, and runs commands |
skills/localwp-shell/scripts/silentlocalwpshell | Same thing, quiet mode — no version banners, just output |
skills/localwp-shell/scripts/wplocal | Shorthand for silentlocalwpshell wp ... (the most common use case) |
sites.json to match your current directory to a provisioned siteapp/public is symlinked elsewhere# WP-CLI
bash plugins/localwp-shell/skills/localwp-shell/scripts/wplocal plugin list
bash plugins/localwp-shell/skills/localwp-shell/scripts/wplocal search-replace 'old.test' 'new.test'
# PHP / Composer / MySQL
bash plugins/localwp-shell/skills/localwp-shell/scripts/localwpshell php -v
bash plugins/localwp-shell/skills/localwp-shell/scripts/localwpshell composer install
bash plugins/localwp-shell/skills/localwp-shell/scripts/localwpshell mysql -e "SHOW DATABASES;"
The skill triggers automatically when Claude detects you're working inside a LocalWP site directory.
If commands still hit the system PHP after installing, make sure your working directory is inside the LocalWP site (or a symlink that resolves to one). Run bash plugins/localwp-shell/skills/localwp-shell/scripts/localwpshell php -v to verify the correct binary is being picked up.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub jtsternberg/claude-plugins --plugin localwp-shellPlugins from other owners that cover similar ground