SkillHub

wp-manager

v3.0.4

Manage WordPress sites from terminal. Use when checking site health, listing posts and pages, searching content, or running security scans.

Sourced from ClawHub, Authored by bytesagain

Installation

Please help me install the skill `wp-manager` from SkillHub official store. npx skills add bytesagain/wp-manager

wp-manager

WordPress site management CLI — check site health, list posts and pages, search content, inspect sitemap, generate robots.txt templates, and run security scans. Connects to your WordPress site via its REST API.

Commands

status

Check site health — response time, SSL certificate status, and HTTP headers.

scripts/script.sh status

info

Show site metadata — name, description, URL, WordPress version, timezone.

scripts/script.sh info

list-posts

List recent blog posts with title, date, and status. Optional count argument.

scripts/script.sh list-posts 10

list-pages

List published pages with title and URL. Optional count argument.

scripts/script.sh list-pages 20

Search posts and pages by keyword.

scripts/script.sh search "tutorial"

sitemap

Fetch and display the site's XML sitemap structure and URL count.

scripts/script.sh sitemap

robots

Generate a robots.txt template based on WordPress best practices.

scripts/script.sh robots

performance

Show performance tips — caching headers, GZIP status, image optimization hints.

scripts/script.sh performance

security-scan

Run a security checklist — exposed files, default credentials, header analysis.

scripts/script.sh security-scan

help

scripts/script.sh help

Examples

# Daily site check workflow
scripts/script.sh status
scripts/script.sh info
scripts/script.sh list-posts 5
scripts/script.sh security-scan

Configuration

Variable Required Description
WP_URL No WordPress site URL (default: https://bytesagain.com)
WP_MANAGER_DIR No Data directory (default: ~/.local/share/wp-manager/)

Data Storage

Session data cached in ~/.local/share/wp-manager/.

Requirements

  • bash 4.0+
  • curl (for WordPress REST API calls)

Powered by BytesAgain | bytesagain.com | [email protected]