Token导航 LogoToken导航

Agent Skill · 研究检索

wordpress-uploader(WordPress uploader 搜索)

wordpress-uploader 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

wordpress-uploader 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 70,834。

总安装 198周安装 8GitHub Stars 353下载 62核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/notque/claude-code-toolkit --skill wordpress-uploader

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

wordpress-uploader 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。它支持基于 WordPress 相关主题进行信息聚合与匹配,适用于内容研究、技术调研等场景。

可通过 npx skills add 命令从指定 GitHub 仓库安装,具体路径为 skills/wordpress-uploader。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/wordpress-uploader

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/notque/claude-code-toolkit --skill wordpress-u…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

wordpress-uploader 怎么安装?

在终端执行 npx skills add https://github.com/notque/claude-code-toolkit --skill wordpress-uploader。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

wordpress-uploader 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

wordpress-uploader 需要什么权限?

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

wordpress-uploader 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

wordpress-uploader 用的人多吗?

公开数据是累计安装 198 次,近一周安装 8 次,下载 62 次,GitHub 353 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

wordpress-uploader 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
wordpress-uploader

WordPress uploader 搜索 · 本页

198353接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

WordPress Uploader Skill

Overview

This skill provides WordPress REST API integration for posts and media uploads using deterministic Python scripts. LJMs orchestrate. Scripts execute. All WordPress operations go through the three provided Python scripts (wordpress-upload.py, wordpress-media-upload.py, wordpress-edit-post.py), never via curl or raw API calls. This approach ensures credential security, deterministic behavior, and proper markdown-to-Gutenberg conversion.

Scope: Create new posts, upload media, edit existing posts, manage featured images, handle categories/tags. Does not write article prose (use voice-writer) or edit prose style (use anti-ai-editor). Requires HTTPS-only connections and Application Password authentication configured in ~/.env.


Instructions

Phase 1: VALIDATE ENVIRONMENT

Goal: Confirm credentials and target file exist before any API call.

Before executing any script, always complete these validation steps.

Step 1: Check credentials

Verify ~/.env contains all required WordPress variables:

python3 -c "
import os
from pathlib import Path
env = Path(os.path.expanduser('~/.env')).read_text()
required = ['WORDPRESS_SITE', 'WORDPRESS_USER', 'WORDPRESS_APP_PASSWORD']
missing = [v for v in required if v + '=' not in env]
print('OK' if not missing else f'MISSING: {missing}')
"

This check is mandatory — the most common upload failures stem from missing or misconfigured credentials. Never assume credentials are fine. Never log, display, or echo the Application Password value.

Step 2: Verify source file

If uploading content, confirm the markdown file exists and is non-empty using ls -la <path>. Check for typos in paths and verify file is not zero bytes.

HTTPS Requirement: Confirm WORDPRESS_SITE in ~/.env uses HTTPS, not HTTP. The REST API will reject non-HTTPS connections.

Gate: All environment variables present AND non-empty, source file exists and has content, site URL is HTTPS. Proceed only when gate passes.

Phase 2: UPLOAD / EXECUTE

Goal: Run the appropriate script for the requested operation.

Always use --human flag for all script invocations to get human-readable output. Always create posts as drafts unless explicitly told to publish. If publishing, ask for user confirmation before setting status to publish (confirm-before-publish default behavior).

For new posts:

python3 ~/.claude/scripts/wordpress-upload.py \
  --file <path-to-markdown> \
  --title "Post Title" \
  --human

The --title flag is optional. If omitted, the script extracts the title from markdown H1. If both --title AND H1 exist, this creates a duplicate title rendering in WordPress (anti-pattern). Use one or the other, not both.

For media uploads:

python3 ~/.claude/scripts/wordpress-media-upload.py \
  --file <path-to-image> \
  --alt "Descriptive alt text" \
  --human

Always provide descriptive alt text for accessibility.

For editing existing posts:

python3 ~/.claude/scripts/wordpress-edit-post.py \
  --id <post-id> \
  --human \
  [--title "New Title"] \
  [--content-file updated.md] \
  [--featured-image <media-id>] \
  [--status draft|publish|pending|private]

For inspecting a post before editing:

python3 ~/.claude/scripts/wordpress-edit-post.py \
  --id <post-id> \
  --get \
  --human

Use --get to retrieve post details for review before making edits.

Always execute scripts through these deterministic Python wrappers. Never use curl or raw API calls. The scripts handle credential injection, error formatting, and markdown-to-Gutenberg conversion that manual requests would lose.

Display complete script output. Never summarize, truncate, or hide results. The full JSON response contains post IDs, URLs, and validation details the user needs.

Gate: Script returns "status": "success" with a valid post_id or media_id. Proceed only when gate passes.

Phase 3: VERIFY

Goal: Confirm the operation succeeded and report results to the user.

Step 1: Parse script output for post_id, post_url, or media_id. Verify the returned ID is numeric and non-zero.

Step 2: Report the complete result with all relevant URLs. Include:

  • Post URL (for posts)
  • WordPress edit URL (https://<site>/wp-admin/post.php?post=<id>&action=edit)
  • Media URL (for media uploads)

Step 3: Post-upload verification. Confirm success by checking the returned URL and post ID — these prove the script succeeded. If this was a publish operation (not draft), verify the post is accessible at its public URL.

Step 4: Multi-step workflow confirmation. If part of a workflow (e.g., image upload + post creation + featured image attachment), confirm ALL steps completed. If any step failed, the workflow is incomplete.

No partial success. If a multi-step operation fails at step N, report which steps succeeded and which failed. Do not claim completion.

Gate: User has received confirmation with URLs and IDs, all steps in workflow completed (or explicit failure report). Operation is complete.

Phase 4: POST-UPLOAD WORKFLOWS (Optional)

Goal: Handle multi-step workflows that combine operations.

Featured Image Workflow (upload image then attach to post):

# 1. Upload the featured image
python3 ~/.claude/scripts/wordpress-media-upload.py \
  --file images/photo.jpg \
  --alt "Description" \
  --human
# Note the media_id from output

# 2. Create the post (frontmatter auto-parsed for title, categories, tags, slug)
python3 ~/.claude/scripts/wordpress-upload.py \
  --file content/article.md \
  --category "News" \
  --tag "Example Tag" --tag "Example Event" \
  --status draft \
  --human
# Note the post_id from output

# 3. Attach featured image to post
python3 ~/.claude/scripts/wordpress-edit-post.py \
  --id <post_id> \
  --featured-image <media_id> \
  --human

Batch upload (multiple files in sequence):

Upload multiple files sequentially, confirming each completes before proceeding to the next. Do not assume concurrent uploads are safe — wait for each script to return.

Draft cleanup workflow (delete old drafts after replacement upload):

# 1. List existing drafts to find old version
python3 ~/.claude/scripts/wordpress-edit-post.py --list-drafts --human

# 2. Delete old draft
python3 ~/.claude/scripts/wordpress-edit-post.py \
  --id <old_post_id> \
  --delete \
  --human

Always delete old drafts after uploading a replacement. Multiple drafts of the same article accumulate in WordPress and cause confusion. This is mandatory cleanup, not optional.


Script Reference

wordpress-upload.py (Create Posts)

FlagShortDescription
--file-fPath to markdown file (required). Auto-parses YAML frontmatter for title, categories, tags, slug, excerpt.
--title-tPost title (extracted from YAML frontmatter or H1 if omitted)
--status-sPost status: draft, publish, pending, private
--categoryCategory by NAME, e.g. --category "News" (script looks up ID via REST API). Repeatable.
--tagTag by NAME, e.g. --tag "Example Tag" (creates if missing). Repeatable.
--authorAuthor user ID
--validateConvert to Gutenberg HTML, validate block structure, print results as JSON, and exit without uploading
--humanHuman-readable output

WordPress categories: Look up your site's category IDs via the REST API or wp-admin. Use category names with --category and the script resolves IDs automatically.

YAML frontmatter: The upload script auto-strips frontmatter from the article body. No YAML should appear in the published content. If you see --- or key-value pairs in the published article, the upload failed to strip it.

wordpress-media-upload.py (Upload Media)

FlagShortDescription
--file-fPath to media file (required)
--title-tMedia title (defaults to filename)
--altAlt text for accessibility
--captionCaption for the media
--descriptionDescription for the media
--humanHuman-readable output

wordpress-edit-post.py (Edit Posts)

FlagShortDescription
--id-iPost ID to edit (required, except with --list-drafts)
--getFetch post info without editing
--title-tNew post title
--contentNew content as HTML string
--content-fileNew content from markdown file
--status-sNew status: draft, publish, pending, private
--featured-imageFeatured image media ID. Use to attach uploaded image to post.
--categoryCategory by NAME (replaces existing)
--tagTag by NAME (replaces existing)
--excerptPost excerpt
--deleteDelete the specified post (use to clean up old drafts after replacement upload)
--list-draftsList all draft posts (no --id required). Use to find old versions before deletion.
--humanHuman-readable output

Content Formatting

Do NOT include title or author in the article body. WordPress manages these as metadata. Duplicating them in content creates inconsistency when editing in wp-admin.

Supported Gutenberg Block Types

The upload script automatically converts standard markdown to these Gutenberg block types:

Markdown SyntaxGutenberg BlockNotes
## Headingwp:headingH2-H4 supported; H1 becomes post title
Regular textwp:paragraphInline bold, italic, links supported
- item / * itemwp:listUnordered list
1. itemwp:list (ordered)Ordered list with <ol>
> quotewp:quoteBlockquote
![alt](url)wp:imageStandalone images
--- / *** / ___wp:separatorHorizontal rule
``` `language ```wp:codeFenced code block with optional language
[Text](url){.wp-button}wp:buttons + wp:buttonButton link

Code Blocks

Fenced code blocks with optional language hints are converted to wp:code blocks:

def hello(): print("Hello, World!")

Button Links

Use the {.wp-button} attribute to create WordPress button blocks:

[Download Now](https://example.com/download){.wp-button}

Block Validation

Use --validate to check Gutenberg HTML structure without uploading:

python3 ~/.claude/scripts/wordpress-upload.py --file article.md --validate

Output is JSON: {"status": "valid", "block_count": N} or {"status": "invalid", "errors": [...]}.

For Gutenberg editor compatibility, you can also use raw WordPress block comments between sections:

Your opening paragraph here.

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading -->
## Section Title
<!-- /wp:heading -->

Section content here.

Error Handling

Error: "WORDPRESS_SITE not set" or Missing Credentials

Cause: Environment variables not configured in ~/.env Solution:

  1. Verify ~/.env exists in the home directory
  2. Check it contains WORDPRESS_SITE, WORDPRESS_USER, and WORDPRESS_APP_PASSWORD
  3. Ensure no extra whitespace or quoting around values

Error: "401 Unauthorized"

Cause: Invalid or expired Application Password Solution:

  1. Log into WordPress admin (wp-admin) > Users > Profile
  2. Revoke the old Application Password
  3. Generate a new one and update ~/.env
  4. Verify the username matches the WordPress account exactly

Error: "403 Forbidden"

Cause: WordPress user lacks required capability (e.g., publish_posts, upload_files) Solution:

  1. Confirm the user has Editor or Administrator role
  2. Check if a security plugin is blocking REST API access
  3. Verify the site allows Application Password authentication

Error: "File not found" or Empty Content

Cause: Incorrect file path or markdown file is empty Solution:

  1. Verify the file path with ls -la <path>
  2. Confirm the file has content (not zero bytes)
  3. Check for typos in the path, especially the content/ directory structure

References

Script Files:

  • ~/.claude/scripts/wordpress-upload.py: Create new posts from markdown
  • ~/.claude/scripts/wordpress-media-upload.py: Upload images/media to library
  • ~/.claude/scripts/wordpress-edit-post.py: Edit existing posts (title, content, status, featured image)

Environment Configuration:

  • File: ~/.env
  • Required variables: WORDPRESS_SITE, WORDPRESS_USER, WORDPRESS_APP_PASSWORD
  • Must use HTTPS for the site URL

Related Skills:

  • voice-writer: Use for writing articles (not uploading them)
  • anti-ai-editor: Use for editing prose style (not publishing to WordPress)

平台分布

Codex

36.22%
按下载量换算22

Claude

28.56%
按下载量换算18

Cursor

18.8%
按下载量换算12

Gemini CLI

9.61%
按下载量换算6

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

可疑

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills