{
  "schemaVersion": "1.0",
  "item": {
    "slug": "wordpress",
    "name": "Wordpress REST API",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/codedao12/wordpress",
    "canonicalUrl": "https://clawhub.ai/codedao12/wordpress",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/wordpress",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=wordpress",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "package.json",
      "SKILL.md",
      "env_example.md",
      "assets/wordpress-rest-api-guide.md",
      "scripts/wp-cli.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/wordpress"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/wordpress",
    "agentPageUrl": "https://openagent3.xyz/skills/wordpress/agent",
    "manifestUrl": "https://openagent3.xyz/skills/wordpress/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/wordpress/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Purpose",
        "body": "Provide a production-ready CLI for WordPress REST API automation. This skill focuses on content workflows (posts/pages), taxonomy (categories/tags), user reads, and safe custom requests without external HTTP libraries."
      },
      {
        "title": "Best fit",
        "body": "You want a stable CLI for automation and bot workflows.\nYou need JSON-in/JSON-out for pipelines.\nYou prefer simple HTTP with no extra dependencies."
      },
      {
        "title": "Not a fit",
        "body": "You must handle OAuth flows or complex browser-based auth.\nYou need advanced media uploads (multipart streaming)."
      },
      {
        "title": "Requirements",
        "body": "Node.js 18+ (for native fetch)."
      },
      {
        "title": "One-time setup",
        "body": "Enable the WordPress REST API (default in modern WordPress).\nCreate an Application Password for a WordPress user.\nConfirm the user has the right role (e.g., Editor/Admin)."
      },
      {
        "title": "Install",
        "body": "cd wordpress\nnpm install"
      },
      {
        "title": "Run",
        "body": "node scripts/wp-cli.js help\nnode scripts/wp-cli.js posts:list --query per_page=5\nnode scripts/wp-cli.js posts:create '@post.json'\n\nYou can also use npm:\n\nnpm run wp -- posts:list --query per_page=5"
      },
      {
        "title": "Credentials",
        "body": "Supported options (first match wins):\n\nBasic auth token: WP_BASIC_TOKEN (base64 of user:app_password)\nUser + app password: WP_USER + WP_APP_PASSWORD\nJWT bearer token: WP_JWT_TOKEN"
      },
      {
        "title": "Required env",
        "body": "WP_BASE_URL (e.g., https://example.com)"
      },
      {
        "title": "Input conventions",
        "body": "JSON can be inline or loaded from file with @path.\nQuery params use --query key=value (repeatable) or --query key1=value1,key2=value2."
      },
      {
        "title": "Command map (high level)",
        "body": "Posts:\n\nposts:list, posts:get, posts:create, posts:update, posts:delete\n\nPages:\n\npages:list, pages:get, pages:create, pages:update, pages:delete\n\nTaxonomy:\n\ncategories:list, categories:create\ntags:list, tags:create\n\nUsers:\n\nusers:list, users:get\n\nAdvanced:\n\nrequest (raw method + path)"
      },
      {
        "title": "Operational guidance",
        "body": "Prefer context=view for read-only list calls.\nUse status=draft when staging content.\nImplement retries for 429 and transient 5xx errors in orchestrators."
      },
      {
        "title": "Expected output",
        "body": "JSON to stdout; non-zero exit code on errors."
      },
      {
        "title": "Security notes",
        "body": "Never log or commit tokens or application passwords.\nUse a dedicated low-privilege WordPress account where possible."
      }
    ],
    "body": "WordPress REST API Skill (Advanced)\nPurpose\n\nProvide a production-ready CLI for WordPress REST API automation. This skill focuses on content workflows (posts/pages), taxonomy (categories/tags), user reads, and safe custom requests without external HTTP libraries.\n\nBest fit\nYou want a stable CLI for automation and bot workflows.\nYou need JSON-in/JSON-out for pipelines.\nYou prefer simple HTTP with no extra dependencies.\nNot a fit\nYou must handle OAuth flows or complex browser-based auth.\nYou need advanced media uploads (multipart streaming).\nRequirements\nNode.js 18+ (for native fetch).\nOne-time setup\nEnable the WordPress REST API (default in modern WordPress).\nCreate an Application Password for a WordPress user.\nConfirm the user has the right role (e.g., Editor/Admin).\nInstall\ncd wordpress\nnpm install\n\nRun\nnode scripts/wp-cli.js help\nnode scripts/wp-cli.js posts:list --query per_page=5\nnode scripts/wp-cli.js posts:create '@post.json'\n\n\nYou can also use npm:\n\nnpm run wp -- posts:list --query per_page=5\n\nCredentials\n\nSupported options (first match wins):\n\nBasic auth token: WP_BASIC_TOKEN (base64 of user:app_password)\nUser + app password: WP_USER + WP_APP_PASSWORD\nJWT bearer token: WP_JWT_TOKEN\nRequired env\nWP_BASE_URL (e.g., https://example.com)\nInput conventions\nJSON can be inline or loaded from file with @path.\nQuery params use --query key=value (repeatable) or --query key1=value1,key2=value2.\nCommand map (high level)\n\nPosts:\n\nposts:list, posts:get, posts:create, posts:update, posts:delete\n\nPages:\n\npages:list, pages:get, pages:create, pages:update, pages:delete\n\nTaxonomy:\n\ncategories:list, categories:create\ntags:list, tags:create\n\nUsers:\n\nusers:list, users:get\n\nAdvanced:\n\nrequest (raw method + path)\nOperational guidance\nPrefer context=view for read-only list calls.\nUse status=draft when staging content.\nImplement retries for 429 and transient 5xx errors in orchestrators.\nExpected output\nJSON to stdout; non-zero exit code on errors.\nSecurity notes\nNever log or commit tokens or application passwords.\nUse a dedicated low-privilege WordPress account where possible."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/codedao12/wordpress",
    "publisherUrl": "https://clawhub.ai/codedao12/wordpress",
    "owner": "codedao12",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/wordpress",
    "downloadUrl": "https://openagent3.xyz/downloads/wordpress",
    "agentUrl": "https://openagent3.xyz/skills/wordpress/agent",
    "manifestUrl": "https://openagent3.xyz/skills/wordpress/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/wordpress/agent.md"
  }
}