Generate content with AI. Publish to WordPress. One command.
/wp-contentpip3 install -r requirements.txt
cp config.example.ini config.ini
# Add your WordPress credentialsGet application password: WordPress Dashboard → Users → Profile → Application Passwords
This repo includes two skills for Claude Code:
/wp-content - Full workflow: Claude asks questions, generates content, publishes to WordPress
/wp-quick - Quick publish: Select file, publish
Just type the command in Claude Code. That's it.
/wp-contentClaude asks questions → generates content → saves to generated/ → publishes to WordPress.
Supports: blog posts, landing pages, documentation, product pages.
/wp-quickPublish existing markdown files.
python3.11 publish.py file.md --post-type pages --status draftpython3.11 publish.py file.md --post-type ht_kb --status publishWorks with any REST API-enabled custom post type.
- Markdown → Gutenberg blocks (preserves all links/formatting)
- WordPress REST API (application password auth)
- Content saved to
generated/(organized, reusable)
.claude/skills/- Claude Code skillspublish.py- CLI toolprompts/- Content templatesexamples/- Sample contentgenerated/- Your generated content (gitignored)
401: Wrong credentials in config.ini
404: Wrong site URL or post type doesn't exist
SSL error: Use Python 3.11+ (brew install python@3.11)
Clone, setup, use. 2 minutes.
This tool + Claude = WordPress content pipeline.