Agent skill

Wordpress Manager

by eugenepyvovarov in eugenepyvovarov/CodeAgentsMobile

Manage WordPress remotely via local wp-cli over SSH. An agent skill from eugenepyvovarov/CodeAgentsMobile.

Apache-2.0Auto-check: warningsDevOps & Cloud

Install Wordpress Manager

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add eugenepyvovarov/CodeAgentsMobile --skill wordpress-manager -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install eugenepyvovarov/CodeAgentsMobile wordpress-manager --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/eugenepyvovarov/CodeAgentsMobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/wordpress-manager .claude/skills/wordpress-manager && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
wordpress-manager
GitHub stars
155
Token cost
~2.5k tokens
SKILL.md length
1,104 words
Files
10 (incl. scripts, references, assets)
Skills in repo
1
Repo updated
First seen
Licence
Apache-2.0

At a glance

Manage WordPress remotely via local wp-cli over SSH. An agent skill from eugenepyvovarov/CodeAgentsMobile.

  • Tasks that involve Backup and disaster recovery
  • SKILL.md covers This repository (CodeAgents…, Quick start, wp-cli installation (local) and wp-cli installation (remote), plus 11 more sections
  • Runs Python, PHP and Shell scripts from its folder; calls curl, ssh and rsync; reaches raw.githubusercontent.com

What it does

Wordpress Manager is an agent skill from eugenepyvovarov/CodeAgentsMobile. Manage WordPress remotely via local wp-cli over SSH. In this CodeAgents Mobile repo, primary use is selfhosted-ninja-prod — keep https://selfhosted.ninja/projects/codeagents-mobile/ in sync when product features, links, screenshots, or public copy change. Also supports updates, backups, restores, content, and custom plugins for configured sites.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts, reference files and assets (for example `.mcp-bundler/manifest.json`, `references/site-config.md` and `references/wp-7-block-themes.md`).

It sits in DevOps & Cloud, covering Backup and disaster recovery. It works with WordPress. The repository describes itself as: Mobile agents backed by opencode. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Backup and disaster recovery

Example prompts

  • “/wordpress-manager”

Requirements

  • Python 3
  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit e815702. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python, PHP and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • curl
    • ssh
    • rsync
    • php

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • raw.githubusercontent.com

    Also links to:

    • selfhosted.ninja
    • mcp-bundler.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Wordpress Manager loads about 2.5k tokens when it runs, and up to ~7.6k if it reads all its reference files. Until then it costs about 91 tokens; SKILL.md has 1,104 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~91
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:96
    - Prefer `ssh.host_alias` with `~/.ssh/config` for nonstandard ports or keys.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from eugenepyvovarov/CodeAgentsMobile at commit e815702, republished under its Apache-2.0 licence (© eugenepyvovarov). 1,104 words, ~2,505 tokens.

Download SKILL.mdSave it as .claude/skills/wordpress-manager/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
wordpress-manager
description
Manage WordPress remotely via local wp-cli over SSH. In this CodeAgents Mobile repo, primary use is selfhosted-ninja-prod — keep https://selfhosted.ninja/projects/codeagents-mobile/ in sync when product features, links, screenshots, or public copy change. Also supports updates, backups, restores, content, and custom plugins for configured sites.

WordPress Manager

This repository (CodeAgents Mobile)

See also .agents/skills/skills.md for when agents must use this skill.

  • Site key: selfhosted-ninja-prod only in the committed template (sites.selfhosted.yaml).
  • Project pages (parent Projects 196): CodeAgents Mobile 203 — https://selfhosted.ninja/projects/codeagents-mobile/ ; MCP Bundler 224 — https://selfhosted.ninja/projects/mcp-bundler/ (links out to https://mcp-bundler.com/ — never 302 the product domain here).
  • Blog: posts page 225 — https://selfhosted.ninja/blog/ ; categories videos, codeagents-mobile, mcp-bundler, projects. Prefer short posts with core/embed (YouTube) + project category for updates/videos so the blog is used often; project pages only link to categories.
  • Config: .skills-data/wordpress-manager/sites.yaml (copy from sites.selfhosted.yaml in this skill folder if missing).
  • When product info changes (features, App Store / TestFlight / GitHub links, screenshots, FAQ, iOS requirements, README highlights): update page 203 (and the Projects index blurb on 196 if needed) before considering the task done. Prefer core blocks (see references/wp-7-block-themes.md); use core/gallery for screenshots.
  • Legacy codeagentsmobile.maketry.xyz is a 302 to the project page — do not maintain that static site as the source of truth.

Quick start

  • Install wp-cli locally (see "wp-cli installation").
  • Ensure wp-cli is installed and on PATH for the remote SSH user (see "wp-cli installation (remote)").
  • Initialize or copy the site registry to .skills-data/wordpress-manager/sites.yaml (this repo: start from sites.selfhosted.yaml in this skill directory).
  • Pick the target site key (selfhosted-ninja-prod here), load its config, and build a base wp command.
  • Run a read-only command first to validate connectivity.
  • Apply the task-specific workflow below.

wp-cli installation (local)

Requirements:

  • Unix-like environment (macOS, Linux, FreeBSD, Cygwin).
  • PHP 5.6 or later available on PATH.
  • Remote WordPress 3.7 or later (older versions may have degraded functionality).

Install to the skill-local bin directory.

Preferred (scripted):

scripts/install_wp_cli.sh --base-dir .skills-data/wordpress-manager

Manual steps:

mkdir -p .skills-data/wordpress-manager/bin
curl -o .skills-data/wordpress-manager/bin/wp-cli.phar https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
php .skills-data/wordpress-manager/bin/wp-cli.phar --info
chmod +x .skills-data/wordpress-manager/bin/wp-cli.phar
mv .skills-data/wordpress-manager/bin/wp-cli.phar .skills-data/wordpress-manager/bin/wp

Usage options:

  • Call directly: .skills-data/wordpress-manager/bin/wp --info
  • Or add to PATH for the session: export PATH="$PWD/.skills-data/wordpress-manager/bin:$PATH"

wp-cli installation (remote)

When using --ssh=..., WP-CLI runs on the remote host, so the remote user must have wp on PATH.

Check if wp-cli is present on the remote host:

ssh <user@host> 'command -v wp >/dev/null && wp --info'

Helper script (uses sites.yaml):

scripts/ensure_remote_wp_cli.py --site-key <site_key> --install

Notes:

  • The helper checks local wp-cli, updates it to the latest release (using git tags) when needed, then compares remote against local.
  • It installs ~/bin/wp-cli.phar and writes a ~/bin/wp wrapper that uses a PHP CLI with mysqli when available.
  • If no PHP CLI with mysqli is found, it will prompt you to install one.
  • Override the local binary path with --local-wp, or skip the latest-release check with --skip-local-update.

Install to the remote user's home bin directory:

ssh <user@host> 'mkdir -p ~/bin && curl -o ~/bin/wp-cli.phar https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && chmod +x ~/bin/wp-cli.phar && mv ~/bin/wp-cli.phar ~/bin/wp'

If non-interactive shells do not include ~/bin, set it explicitly:

  • Client-side (per command): WP_CLI_SSH_PRE_CMD='export PATH=$HOME/bin:$PATH'
  • Server-side: add PATH="$HOME/bin:$PATH" in the remote user's shell profile.

wp-cli references

  • Load references/wp-cli-usage.md for common command patterns and doc links.
  • Load references/wp-7-block-themes.md for WordPress 7.0 block themes, template parts/sections, core blocks (Gallery, lightbox, Breadcrumbs, Icon, Navigation overlays), hybrid-theme limits (Blocksy), and safe post_content editing for marketing pages.
  • Always verify flags with wp <command> --help before running writes.

Local tooling (required)

  • Keep all tool environments in .skills-data/wordpress-manager/.
  • Create a Python venv at .skills-data/wordpress-manager/venv when a script needs dependencies.
  • Create a PHP deps directory at .skills-data/wordpress-manager/php-env and install composer dependencies there when needed.
  • Current scripts use Python standard library only; no pip installs required.
  • Never install requirements globally.

Site registry

  • Use .skills-data/wordpress-manager/sites.yaml for multi-site configuration.
  • Load references/site-config.md for the full schema.
  • Prefer ssh.host_alias with ~/.ssh/config for nonstandard ports or keys.
  • Avoid storing passwords in YAML; use SSH keys and config.

Build the base wp command

  • Use the local binary: .skills-data/wordpress-manager/bin/wp.
  • Remote execution: wp --ssh=<user@host>:<wp_path> and append --url=<site_url> when needed.
  • If host_alias is set, use wp --ssh=<host_alias>:<wp_path>.
  • Include --allow-root by default; omit it only when using a non-root SSH user.
  • If remote wp-cli is installed in ~/bin, set WP_CLI_SSH_PRE_CMD='export PATH=$HOME/bin:$PATH' for remote discovery.
  • Validate with a read-only command such as wp core version or wp option get siteurl.

Updates workflow

  • If update.pre_backup is true, run the backup workflow first.
  • If update.maintenance_mode is true, run wp maintenance-mode activate before updates and deactivate afterward.
  • If update.dry_run is true, use --dry-run where supported or list pending updates.
  • Update order: plugins, themes, then core unless the user specifies otherwise.
  • Confirm with the user before core updates or major version jumps.
Show full SKILL.md (440 more words)Show less

Backups

  • Respect backups.include_db and backups.include_files.
  • For DB backups: run wp db export to backups.remote_tmp_dir, then scp to local.
  • For file backups: use rsync -az for the files_subdir (default wp-content).
  • Store backups in .skills-data/wordpress-manager/backups/<site_key>/<timestamp>/.
  • Remove remote temp files after download and prune local backups when asked.

Restores

  • Recommend maintenance mode before restoring.
  • For DB restores: upload the dump to backups.remote_tmp_dir and run wp db import.
  • For file restores: rsync -az the backup wp-content to the remote wp-content.
  • Confirm target site and backup timestamp before any restore.

Content operations

  • Ask for title, status, author, and slug when creating posts.
  • Use wp post create, wp post update, wp media import, and wp term as needed.
  • For multisite, pass --url from the site config.
  • Block markup (WordPress 7.0): prefer core blocks in post_content over freeform HTML when a block exists. Load references/wp-7-block-themes.md for:
    • Block theme layers (templates, template parts / “sections”, patterns, global styles vs post content)
    • Hybrid themes (e.g. Blocksy on selfhosted.ninja): page title/hero is theme-owned; body is post_content
    • WP 7.0 additions: core/breadcrumbs, core/icon, core/navigation-overlay-close, gallery lightbox navigation, per-image lightbox, responsive visibility, pattern contentOnly
    • Recommended Gallery markup for product screenshots (core/gallery + nested core/image + lightbox)
    • Core block inventory and WP-CLI patterns for serialized content
  • For screenshots / image grids on marketing pages, use a core/gallery block (not a bare list of <img> tags). Enable lightbox when enlarge-on-click is desired.
  • Round-trip the full post_content when editing so block comment delimiters stay valid.

Code changes (functions/plugins)

  • Always ask whether the change should be a new plugin, a mu-plugin, or theme functions.php.
  • Prefer a custom plugin for reusable logic; start from assets/plugin-template.php.
  • For theme functions, confirm the active theme and whether a child theme exists before editing.
  • Upload changes with rsync or scp; avoid editing directly on the server.
  • Reactivate plugins or clear caches if needed.

Validation and safety

  • Confirm site key and target environment (prod/staging) before any write.
  • Run a read-only command at the start of each session.
  • Ensure local ssh, scp, and rsync are available; remote host must have PHP for wp --ssh.
  • If chrome-web-tools is available and UI verification is needed, use it to spot-check admin pages.

Example prompts

  • "Update all plugins and themes on site marketing-prod with maintenance mode."
  • "Backup database only for store staging."
  • "Restore files and database from last night's backup on store staging."
  • "Create a custom plugin that adds a [site_year] shortcode on client-a."
  • "Add a function to disable comments in the active theme on blog-prod."
  • "Create a draft post from markdown on docs site."
  • "Put CodeAgents screenshots in a WP 7 gallery block with lightbox on selfhosted-ninja-prod."
  • "Add the app logo before the page title on the CodeAgents Mobile project page."

© eugenepyvovarov, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files (scripts, references, assets) in .agents/skills/wordpress-manager of eugenepyvovarov/CodeAgentsMobile.

  • SKILL.md
  • .mcp-bundler/manifest.json
  • assets/plugin-template.php
  • references/site-config.md
  • references/wp-7-block-themes.md
  • references/wp-cli-usage.md
  • scripts/ensure_remote_wp_cli.py
  • scripts/init_sites_config.py
  • scripts/install_wp_cli.sh
  • sites.selfhosted.yaml

Open the folder on GitHubat commit e815702

Compare with similar skills

Wordpress Manager next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Wordpress Manager compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wordpress Manager this skilleugenepyvovarov/CodeAgentsMobile155—~2.5kAutomated safety check: WarnApache-2.0
OmniRoute Backup and Sync CLIdiegosouzapw/OmniRoute74k—~948Automated safety check: PassMIT
Pymobiledevice3 Device Operatordoronz88/pymobiledevice32.9k—~1.8kAutomated safety check: NotesGPL-3.0
Myclaw BackupLeoYeAI/openclaw-backup659—~1.8kAutomated safety check: PassMIT
Wp EnvWordPress/agent-skills2.2k—~2.2kAutomated safety check: PassCustom licence
OmniRoute Database Backupsdiegosouzapw/OmniRoute74k—~395Automated safety check: PassMIT

Similar skills

  • OmniRoute Backup and Sync CLI

    diegosouzapw/OmniRoute

    Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.

    74k GitHub stars~948 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Pymobiledevice3 Device Operator

    doronz88/pymobiledevice3

    Operate iOS and iPadOS devices with pymobiledevice3, from a local checkout or straight from PyPI via uvx on a fresh workstation.

    2.9k GitHub stars~1.8k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Myclaw Backup

    LeoYeAI/openclaw-backup

    Backup and restore all OpenClaw configuration, agent memory, skills, and workspace data.

    659 GitHub stars~1.8k tokensUpdated 7 mo ago
    DevOps & CloudAuto-check passed
  • Wp Env

    WordPress/agent-skills

    A skill your agent uses when setting up, configuring, or troubleshooting local WordPress development environments with @wordpress/env (wp-env).

    2.2k GitHub stars~2.2k tokensUpdated 4 days ago
    DevOps & CloudAuto-check passed
  • OmniRoute Database Backups

    diegosouzapw/OmniRoute

    Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.

    74k GitHub stars~395 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Temps

    gotempsh/temps

    Manage, deploy, operate, and instrument applications with Temps.

    828 GitHub stars~2k tokensUpdated today
    DevOps & CloudAuto-check passed

Works with

Categories

Questions about Wordpress Manager

What does Wordpress Manager do?

Manage WordPress remotely via local wp-cli over SSH. An agent skill from eugenepyvovarov/CodeAgentsMobile. Wordpress Manager is an agent skill from eugenepyvovarov/CodeAgentsMobile. Manage WordPress remotely via local wp-cli over SSH.

When should I use Wordpress Manager?

Wordpress Manager fits situations like: tasks that involve Backup and disaster recovery.

How do I install Wordpress Manager in Claude Code?

Run `npx skills add eugenepyvovarov/CodeAgentsMobile --skill wordpress-manager -a claude-code`. Or copy the skill folder (.agents/skills/wordpress-manager in eugenepyvovarov/CodeAgentsMobile) into .claude/skills/wordpress-manager in your project. Claude Code loads it when a task matches its description.

How do I install Wordpress Manager in Codex?

Run `npx skills add eugenepyvovarov/CodeAgentsMobile --skill wordpress-manager -a codex`. Or copy the skill folder (.agents/skills/wordpress-manager in eugenepyvovarov/CodeAgentsMobile) into .agents/skills/wordpress-manager in your project. Codex loads it when a task matches its description.

Can I use Wordpress Manager in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add eugenepyvovarov/CodeAgentsMobile --skill wordpress-manager -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/wordpress-manager, .gemini/skills/wordpress-manager, .github/skills/wordpress-manager and .opencode/skills/wordpress-manager in your project.

What does Wordpress Manager need to run?

Going by SKILL.md and its folder, Wordpress Manager needs Python, PHP and a shell for the scripts in its folder and the command-line tools its instructions call (curl, ssh, rsync and php). Our summary lists: Python 3; A Bash shell.

Does Wordpress Manager access the network?

SKILL.md names 3 domains. In commands or code: raw.githubusercontent.com; the agent is likely to contact it when it follows the instructions. As links in the text: selfhosted.ninja and mcp-bundler.com. This is read from the text; nothing was executed.

Is Wordpress Manager safe to install?

Our automated static check of SKILL.md flagged 1 warning(s): mentions a credentials file (ssh keys, cloud or package-manager tokens). Read the flagged lines before installing; the check is not a guarantee either way. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Wordpress Manager use?

Wordpress Manager is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Wordpress Manager use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.1k tokens, read only when the agent opens those files.

What are the alternatives to Wordpress Manager?

Skills that share tags, products or a category with Wordpress Manager: OmniRoute Backup and Sync CLI (diegosouzapw/OmniRoute, 74k stars), Pymobiledevice3 Device Operator (doronz88/pymobiledevice3, 2.9k stars), Myclaw Backup (LeoYeAI/openclaw-backup, 659 stars) and Wp Env (WordPress/agent-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wordpress Manager?

eugenepyvovarov (a GitHub user) maintains it in eugenepyvovarov/CodeAgentsMobile, which has 155 GitHub stars. The repository was last updated on July 21, 2026.

Source: eugenepyvovarov/CodeAgentsMobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.