Token导航 LogoToken导航TokenDH.com
待分类敏感数据github未标认证来源可访问clear审计提醒

seo-wordpress-managerSEO WordPress manager 命令行

Agent Skill

seo-wordpress-manager 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,071

周安装

46

GitHub Stars

175

下载量

375
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:seo-wordpress-manager(SEO WordPress manager 命令行)
来源仓库:https://github.com/nicepkg/ai-workflow
仓库路径:skills/seo-wordpress-manager
安装命令:
npx skills add https://github.com/nicepkg/ai-workflow --skill seo-wordpress-manager
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/nicepkg/ai-workflow --skill seo-wordpress-manager

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 建议确认权限范围和维护状态,注意可能触发联网或文件读写操作。
  • seo-wordpress-manager 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

SEO WordPress Manager Skill

Purpose

This skill manages Yoast SEO metadata in WordPress sites via the WPGraphQL API. It enables batch updates of:

  • SEO titles
  • Meta descriptions
  • Focus keyphrases
  • Open Graph metadata

When to Use This Skill

  • User asks to "update SEO titles" or "fix meta descriptions"
  • User wants to batch process WordPress posts for SEO
  • User mentions Yoast SEO optimization
  • User needs to update SEO metadata across multiple posts

Prerequisites

WordPress Setup Required

  1. WPGraphQL plugin installed and activated
  2. WPGraphQL for Yoast SEO extension installed
  3. Application Password created for authentication

Yoast SEO GraphQL Mutations

Add this to your theme's functions.php to enable mutations:

// Enable Yoast SEO mutations via WPGraphQL
add_action('graphql_register_types', function() {
    register_graphql_mutation('updatePostSeo', [
        'inputFields' => [
            'postId' => ['type' => 'Int', 'description' => 'Post ID'],
            'title' => ['type' => 'String', 'description' => 'SEO Title'],
            'metaDesc' => ['type' => 'String', 'description' => 'Meta Description'],
            'focusKeyphrase' => ['type' => 'String', 'description' => 'Focus Keyphrase'],
        ],
        'outputFields' => [
            'success' => ['type' => 'Boolean'],
            'post' => ['type' => 'Post'],
        ],
        'mutateAndGetPayload' => function($input) {
            $post_id = absint($input['postId']);

            if (!current_user_can('edit_post', $post_id)) {
                throw new \GraphQL\Error\UserError('You do not have permission to edit this post.');
            }

            if (isset($input['title'])) {
                update_post_meta($post_id, '_yoast_wpseo_title', sanitize_text_field($input['title']));
            }
            if (isset($input['metaDesc'])) {
                update_post_meta($post_id, '_yoast_wpseo_metadesc', sanitize_textarea_field($input['metaDesc']));
            }
            if (isset($input['focusKeyphrase'])) {
                update_post_meta($post_id, '_yoast_wpseo_focuskw', sanitize_text_field($input['focusKeyphrase']));
            }

            return [
                'success' => true,
                'post' => get_post($post_id),
            ];
        }
    ]);
});

Configuration

Create a config.json in the skill directory:

{
  "wordpress": {
    "graphql_url": "https://your-site.com/graphql",
    "username": "your-username",
    "app_password": "your-app-password"
  },
  "batch": {
    "size": 10,
    "delay_seconds": 1
  },
  "state_file": "./seo_update_progress.json"
}

Or use environment variables:

  • WP_GRAPHQL_URL
  • WP_USERNAME
  • WP_APP_PASSWORD

Workflow

Step 1: Analyze Posts for SEO Issues

python scripts/analyze_seo.py --all --output analysis.json

This fetches posts and identifies SEO issues (missing titles, too long descriptions, etc.). Output includes instructions for Claude to generate optimized SEO content.

Step 2: Generate Optimized SEO Content

Claude analyzes the analysis.json output and generates a changes.json file with:

  • Optimized SEO titles (50-60 chars)
  • Compelling meta descriptions (150-160 chars)
  • Relevant focus keyphrases

Step 3: Preview Changes (Dry Run)

python scripts/preview_changes.py --input changes.json

Step 4: Apply Updates

python scripts/yoast_batch_updater.py --input changes.json --apply

Step 5: Resume if Interrupted

python scripts/yoast_batch_updater.py --resume

Input Format

The skill expects a JSON file with changes:

{
  "updates": [
    {
      "post_id": 123,
      "post_title": "Original Post Title",
      "current": {
        "seo_title": "Old Title | Site Name",
        "meta_desc": "Old description"
      },
      "new": {
        "seo_title": "New Optimized Title | Site Name",
        "meta_desc": "New compelling meta description under 160 chars"
      }
    }
  ]
}

Output

The skill produces:

  1. Preview report showing before/after for each post
  2. Progress state file for resuming interrupted batches
  3. Final report with success/failure counts

Safety Features

  • Dry-run mode by default - preview before applying
  • Confirmation prompt before batch updates
  • Progress tracking - resume interrupted sessions
  • Rate limiting - configurable delay between API calls
  • Backup - logs current values before changing

Example Usage

User: "Update the meta descriptions for all posts in the 'tutorials' category to be more compelling"

Claude will:

  1. Run analyze_seo.py to fetch posts and identify SEO issues
  2. Analyze each post's content and current SEO data
  3. Generate optimized titles, descriptions, and keyphrases
  4. Create a changes.json file with the improvements
  5. Run preview_changes.py to show before/after comparison
  6. Ask for confirmation
  7. Run yoast_batch_updater.py --apply to apply changes
  8. Report results with success/failure counts

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.61%
按下载量换算119

OpenCode

23.88%
按下载量换算90

Cursor

16.47%
按下载量换算62

trae

12.83%
按下载量换算48

Gemini CLI

7.89%
按下载量换算30

Codex

3.16%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills