← Back to Skills Marketplace
Wordpress OAuth
by
Ibrahim El Nemr
· GitHub ↗
· v1.0.0
· MIT-0
200
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wordpress-oauth
Description
Start and complete WordPress.com OAuth and publish posts through the WordPress.com REST API. Use when you need to generate an authorization URL, exchange cal...
Usage Guidance
This skill appears to do what it claims: run an OAuth flow against WordPress.com and publish posts. Before installing or using it, consider: 1) The skill will create oauth_state.json and credentials.json in the skill directory containing sensitive tokens and client secrets—keep that directory private and back up/remove credentials when no longer needed. 2) Supply client_id/secret/redirect/site via CLI flags or secure shell environment variables (examples use shell expansion). 3) The script attempts to set restrictive file permissions but may not succeed on all OSes—verify the files are not world-readable. 4) Review the full Python file (the repository includes the code) yourself if you need higher assurance (the provided snippet is consistent, but the file was truncated in the listing). 5) If you plan to allow autonomous agent invocation, be aware the agent could call publish-post using stored credentials—limit that capability if you don't want unattended publishing.
Capability Analysis
Type: OpenClaw Skill
Name: wordpress-oauth
Version: 1.0.0
The wordpress-oauth skill implements a standard OAuth 2.0 flow and post-publishing functionality for WordPress.com. The Python script (wp_oauth_skill.py) follows security best practices by using the secrets module for CSRF state generation, validating state during token exchange, and enforcing restrictive file permissions (0o600) on the local credentials store. All network activity is directed to official WordPress API endpoints, and there is no evidence of data exfiltration or malicious execution.
Capability Assessment
Purpose & Capability
Name/description (WordPress OAuth + publish) match the code and instructions. The script only contacts wordpress.com OAuth and REST endpoints and writes local state/credentials; no unrelated services, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructs the user to run the included Python script and to supply client id/secret/redirect/site via flags or shell variables. The instructions and script operate only on files inside the skill directory (oauth_state.json, credentials.json) and the WordPress API. Minor mismatch: SKILL.md references env vars by name (e.g., WPCOM_CLIENT_ID), but the script reads values from CLI flags (examples use shell variable expansion, which is fine).
Install Mechanism
No install spec; the skill is delivered as source (one Python file and SKILL.md). No third-party downloads, package installers, or archive extraction are used.
Credentials
The skill does not declare required environment variables in the registry metadata, but it expects client ID/secret/redirect/site to be provided at runtime (via flags or shell-expanded env vars). Requesting client secret and storing an access_token is appropriate for OAuth; storing credentials.json locally is expected but is sensitive and should be protected.
Persistence & Privilege
always is false and the skill stores state/credentials only in its own directory. It does not modify other skills or system-wide configuration. The skill can be invoked autonomously by the agent (platform default), which is normal for skills of this type.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wordpress-oauth - After installation, invoke the skill by name or use
/wordpress-oauth - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of wordpress-oauth skill.
- Enables human-in-the-loop OAuth flow for WordPress.com and Jetpack-connected sites.
- Supports generating authorization URLs, exchanging callback codes for access tokens, and validating tokens.
- Allows publishing draft or published posts through the WordPress.com REST API.
- Stores OAuth state and credentials securely within the skill directory.
- Provides CLI commands for each step: begin-oauth, exchange-token, token-info, and publish-post.
Metadata
Frequently Asked Questions
What is Wordpress OAuth?
Start and complete WordPress.com OAuth and publish posts through the WordPress.com REST API. Use when you need to generate an authorization URL, exchange cal... It is an AI Agent Skill for Claude Code / OpenClaw, with 200 downloads so far.
How do I install Wordpress OAuth?
Run "/install wordpress-oauth" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Wordpress OAuth free?
Yes, Wordpress OAuth is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Wordpress OAuth support?
Wordpress OAuth is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Wordpress OAuth?
It is built and maintained by Ibrahim El Nemr (@ibrahimelnemr); the current version is v1.0.0.
More Skills