
AI Agent Skill — Automated SEO pipeline: Keyword Research → Content Writing → WordPress Publishing via REST API with RankMath
概览
Keyword Research → Content Writing → WordPress Publishing, fully automated in one go. 一站式 AI Agent SEO 自动化技能:从关键词挖掘、文章撰写到 WordPress 发布,一句话触发全自动执行。 - 🔍 — Automated multilingual keyword matrix with commercial intent filtering 关键词挖掘 — 多语言关键词矩阵自动生成,商业意图过滤 - ✍️ — SEO-optimized articles with AEO (Answer Engine Optimization) for AI search 文章撰写 — SEO 优化文章,内置 AEO 模板捕获 AI 搜索引擎流量 - 🚀 — One-click publish via REST API with RankMath SEO meta WordPress 发布 — 通过 REST API 一键发布,自动设置 RankMath SEO 元数据 - 📁 — JSON artifacts between phases for auditability and resumability 文件交接 — 阶段间以 JSON 文件传递,可审计、可断点恢复 - 🌐 — Industry-agnostic, multi-language, multi-region support 通用适配 — 行业无关,支持多语言、多地区 - ⚙️ — Agent guides setup once, then runs fully autonomous 一次配置 — Agent 引导完成初始设置后,后续全自动执行 - Python 3 (standard library only, no pip dependencies) Python 3(仅使用标准库,无需 pip 依赖) - WordPress site with: WordPress 站点需要: - RankMath SEO Free plugin installed | 已安装 RankMath SEO Free 插件 - Application Password created | 已创建应用密码 -...
README
以下为原文 README 节选,完整内容请查看原文。
SEO Auto Publisher
AI Agent Skill — End-to-end SEO content pipeline for WordPress
Keyword Research → Content Writing → WordPress Publishing, fully automated in one go.
一站式 AI Agent SEO 自动化技能:从关键词挖掘、文章撰写到 WordPress 发布,一句话触发全自动执行。
✨ Features | 功能特性
- 🔍 Keyword Research — Automated multilingual keyword matrix with commercial intent filtering 关键词挖掘 — 多语言关键词矩阵自动生成,商业意图过滤
- ✍️ Content Writing — SEO-optimized articles with AEO (Answer Engine Optimization) for AI search 文章撰写 — SEO 优化文章,内置 AEO 模板捕获 AI 搜索引擎流量
- 🚀 WordPress Publishing — One-click publish via REST API with RankMath SEO meta WordPress 发布 — 通过 REST API 一键发布,自动设置 RankMath SEO 元数据
- 📁 File-Based Handoff — JSON artifacts between phases for auditability and resumability 文件交接 — 阶段间以 JSON 文件传递,可审计、可断点恢复
- 🌐 Universal — Industry-agnostic, multi-language, multi-region support 通用适配 — 行业无关,支持多语言、多地区
- ⚙️ One-Time Config — Agent guides setup once, then runs fully autonomous 一次配置 — Agent 引导完成初始设置后,后续全自动执行
📋 Prerequisites | 前置要求
- Python 3 (standard library only, no pip dependencies) Python 3(仅使用标准库,无需 pip 依赖)
- WordPress site with:
WordPress 站点需要:
- RankMath SEO Free plugin installed | 已安装 RankMath SEO Free 插件
- Application Password created | 已创建应用密码
- RankMath meta keys registered in
functions.php(see Setup Guide) | 已在functions.php注册 meta keys
🚀 Quick Start | 快速开始
1. Clone | 克隆仓库
git clone https://github.com/L1angjy/WordPress-SEO-Agent-Skill.git
2. WordPress Setup (One-Time) | WordPress 配置(一次性)
Add the code from docs/wordpress-setup.php to your theme’s functions.php.
将 docs/wordpress-setup.php 中的代码添加到你的主题 functions.php 文件中。
3. Configure Environment | 配置环境变量
Create a .env file in your workspace directory:
在你的工作目录中创建 .env 文件:
WP_SITE_URL=https://your-domain.com
WP_USERNAME=your_wp_username
WP_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx
WP_CATEGORY_ID=1
4. Install as Agent Skill | 安装为 Agent 技能
Place this repository in your AI agent’s skills directory. The agent will read SKILL.md and guide you through the one-time business configuration.
将本仓库放入你的 AI Agent 技能目录。Agent 会读取 SKILL.md 并引导你完成一次性业务配置。
Required Config | 必填配置:
| Config | Description | 说明 |
|---|---|---|
core_topic |
Your industry / niche | 核心主题 / 行业方向 |
target_region |
Target market | 目标市场地区 |
languages |
Language combination | 语言组合 |
audience_type |
B2B, B2C, or Mixed | 受众类型 |
brand_name |
Your brand name | 品牌名称 |
workspace_path |
Working directory for output | 输出文件工作目录 |
After setup, just tell your agent: 配置完成后,只需对 Agent 说:
“Write and publish an SEO article.” “帮我写一篇 SEO 文章并发布。”
The agent handles everything automatically. Agent 会全自动处理一切。
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add l1angjy/wordpress-seo-agent-skill