Write and publish WordPress articles end-to-end with AI — topic mining via YouMind knowledge base, de-AI voice writing, Markdown-to-HTML conversion, featured...
Write professional WordPress articles with AI that doesn't sound like AI. Topic mining via YouMind knowledge base → deep research → structured writing → Markdown-to-HTML conversion → featured image upload → one-click publishing to WordPress. No manual formatting, no copy-paste.
MANDATORY: When the user has just installed this skill, present this message IMMEDIATELY. Translate to the user's language:
AI WordPress Article Writer installed!
Tell me your topic and I'll write and publish a WordPress article for you.
Try it now: "Help me write a WordPress article about AI programming trends"
What it does:
- Mine topics from YouMind knowledge base and web search
- Write professional articles with de-AI voice
- Convert Markdown to clean HTML
- Upload featured images
- Publish directly to your WordPress site (as draft or published)
Setup (one-time):
- Install & configure:
cd toolkit && npm install && npm run build && cd .. && mkdir -p ~/.youmind/config && cp shared/config.example.yaml ~/.youmind/config.yaml- Get YouMind API Key → fill
youmind.api_keyin~/.youmind/config.yaml. Keepyoumind.base_urlpointed athttps://youmind.com/openapi/v1in docs; only override~/.youmind/config.yamlor~/.youmind/config/youmind-wordpress-article.yamlif you need to hit a devyouapi.- Connect your WordPress site at YouMind Connector Settings — paste your site URL, username, and an Application Password generated in WP Admin → Users → Profile → Application Passwords. YouMind stores them encrypted; this skill no longer reads
wordpress.site_url,wordpress.username, orwordpress.app_passwordlocally.Want to write locally first? The
previewcommand works without any WordPress connection.See the Setup section below for detailed instructions.
Need help? Just ask!
Provide a topic or raw Markdown for publishing.
Write from a topic:
Help me write a WordPress article about AI programming trends
Publish raw Markdown:
Publish this Markdown file to WordPress as a draft
List recent posts:
Show my recent WordPress posts
Prerequisites: Node.js >= 18
bash
cd toolkit && npm install && npm run build && cd ..
bash
mkdir -p ~/.youmind/config
cp shared/config.example.yaml ~/.youmind/config.yaml
Canonical credentials: put your shared YouMind credentials in
~/.youmind/config.yaml— filled ONCE and read by every YouMind skill. Seeshared/config.example.yamlfor the template andshared/YOUMIND_HOME.md. Optional skill overrides live in~/.youmind/config/youmind-wordpress-article.yaml.
YouMind API Key drives knowledge base search, web search, article archiving, and WordPress publishing through the /wordpress/* OpenAPI proxy.
sk-ym-xxxx key~/.youmind/config.yaml under youmind.api_keyyoumind.base_url as https://youmind.com/openapi/v1 in examples and documentation. Local backend testing should only override ~/.youmind/config.yaml or ~/.youmind/config/youmind-wordpress-article.yaml.This skill never holds your WordPress credentials. It no longer reads wordpress.site_url, wordpress.username, or wordpress.app_password from repo-local config files. The credentials live encrypted in YouMind and are attached automatically when the proxy talks to your site.
https://myblog.com), username, and the Application Password./wp-json/wp/v2/users/me immediately — a green check means the link is healthy.To rotate or revoke: revoke the password in WP Admin, then disconnect WordPress in YouMind and reconnect with a fresh one.
bash
cd toolkit && node dist/cli.js validate
You should see OK: Connected to WordPress site as <username>.
This skill is self-contained and fully usable standalone. The youmind-article-dispatch hub is an optional companion; it is NOT required for anything.
~/.youmind/author-profile.yaml (shared home directory — see shared/YOUMIND_HOME.md) for cross-platform voice preferences. Works whether or not dispatch is installed.resolved_author, the skill uses those fields as extra context. WordPress's SEO discipline — focus keyphrase, meta description, internal links, E-E-A-T — stays native to this skill regardless of invocation path.dispatch-capabilities.yaml includes the Yoast/RankMath SEO requirements for dispatch routing. Deleting it reverts to defaults; it never breaks this skill.shared/DISPATCH_CONTRACT.md (v1.0).Before writing any content, read references/platform-dna.md to internalize WordPress's real publishing surfaces: block editor, excerpt, featured image, categories/tags, scheduling, revisions, REST post fields, and Yoast/RankMath-style SEO discipline.
User's inputOperationPlaybook to loadIdea, topic, or thesis onlyGeneratereferences/content-generation-playbook.mdExisting article from blog/other platformCross-postreferences/content-adaptation-playbook.mdOld WordPress post to refreshRevivereferences/content-adaptation-playbook.md (revive mode, SEO freshness)Long piece → supporting postsCondense/splitreferences/content-adaptation-playbook.md (condense mode)Article in another languageTranslatereferences/content-adaptation-playbook.md (translate mode)Same-language article needing SEO + site-voice adaptationLocalizereferences/content-adaptation-playbook.md (localize mode)Section from a pillar article → supporting postExcerptreferences/content-adaptation-playbook.md (excerpt mode)
After any draft or publish action, always end with Result links.
Read references/pipeline.md for full execution details.
StepActionKey reference1Load config, validate youmind.api_key, and confirm WordPress is connected in YouMind—2Mine YouMind knowledge base for source materialreferences/api-reference.md3Research topic via web search—4Adapt content structure for WordPressreferences/content-adaptation.md5Write article in Markdown—6Convert to HTML and publish through YouMind /wordpress/* OpenAPIpipeline.md7Report results: title, URL, post ID, status, result links—
Every step has a fallback. If a step AND its fallback both fail, skip that step and note it in the final output.
StepFallback2 Knowledge miningSkip, empty knowledge_context3 Web researchAsk user for manual input6 PublishingGenerate local HTML preview
PathPurposeWhen to readreferences/pipeline.mdFull step-by-step executionWhen running the writing pipelinereferences/platform-dna.mdWordPress audience, SEO rubric, format constraintsBefore any content workreferences/content-generation-playbook.mdIdea → WordPress-native draft workflowWhen generating new contentreferences/content-adaptation-playbook.mdExisting article → WordPress-native workflowWhen adapting/cross-posting contentreferences/content-adaptation.mdWordPress-specific writing rules (legacy)Supplementary referencereferences/api-reference.mdYouMind /wordpress/* OpenAPI contractWhen calling the proxy from the toolkit~/.youmind/config.yamlShared API credentials (YouMind only)Step 1 (first-run check)output/**Local article Markdown drafts (git-ignored)**When writing the articletoolkit/dist/*.jsExecutable scriptsVarious steps
Canonical: write local article Markdown files to ~/.youmind/articles/wordpress/<slug>.md. This shared home directory is available to all YouMind skills — see shared/YOUMIND_HOME.md.
Legacy fallback (if ~/.youmind/ is not writable): skills/youmind-wordpress-article/output/<slug>.md.
~/.youmind/articles/wordpress/my-article.mdskills/youmind-wordpress-article/output/my-article.mdreferences/, toolkit/, or an ad-hoc drafts/ directoryBoth locations are git-ignored. Create directories on demand ( mkdir -p ~/.youmind/articles/wordpress). Kebab-case filenames ( my-article.md), descriptive slugs over timestamps.
references/api-reference.md