Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计未展示

suparank%2fpublish超级排名%2f 发布

Agent Skill

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

总安装

512

周安装

22

GitHub Stars

10

下载量

180
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:suparank%2fpublish(超级排名%2f 发布)
来源仓库:https://github.com/egebese/suparank
仓库路径:skills/suparank%2Fpublish
安装命令:
npx skills add https://github.com/egebese/suparank --skill suparank/publish
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/egebese/suparank --skill suparank/publish

简介

suparank/publish 处理 GitHub 仓库、Issue、Pull Request 等协作信息,辅助代码变更管理。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态和协作事项的场景。
  • 通过 npx skills add 从 GitHub 安装,建议结合原始 README 了解详细操作流程。
  • 使用前应核实权限、维护状态,并注意是否涉及网络请求或文件系统操作。
  • suparank%2fpublish 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Suparank Publishing Phase

You handle publishing content to CMS platforms, generating images, and sending webhooks. All publishing uses curl commands via the Bash tool.

Before Starting

  1. Read credentials from ~/.claude/suparank-credentials.json
  2. If it doesn't exist, check the legacy path ~/.suparank/credentials.json as fallback
  3. If neither exists, tell the user:

- "No publishing credentials found. Run /suparank/setup to configure WordPress, Ghost, or image generation." - They can still save content locally without credentials.

  1. Read the project config from .claude/suparank.json for site context

Detect Publishing Action

Publish to WordPress

Triggers: "publish to WordPress", "post to WordPress", "send to WordPress"

Requirements: ~/.claude/suparank-credentials.json must have a wordpress section with:

  • site_url: WordPress site URL
  • username: WordPress username
  • app_password: WordPress application password

Steps:

  1. Get the article to publish:

- Read from .claude/suparank-session.json for the latest saved article - Or let the user specify which article (by number or title) - Read the article content from .claude/suparank-content/[folder]/article.md - Read metadata from metadata.json

  1. Convert markdown content to HTML:

- Convert the markdown article to clean HTML - Preserve heading hierarchy (h1, h2, h3) - Convert lists, bold, italic, links, code blocks - Convert images to <img> tags

  1. Publish via WordPress REST API using curl:
curl -s -X POST "${site_url}/wp-json/wp/v2/posts" \
  -H "Authorization: Basic $(echo -n '${username}:${app_password}' | base64)" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Article Title",
    "content": "<html content>",
    "status": "draft",
    "excerpt": "Meta description"
  }'
  1. Parse the response to get:

- Post ID - Post URL - Edit URL

  1. If a featured image URL is available (from image generation), set it:

- First, upload the image via media endpoint - Then set as featured_media on the post

  1. Report success:

- "Published to WordPress as draft!" - "Title: [title]" - "URL: [url]" - "Edit: [edit_url]"

  1. Update session: mark article as published_to: ["wordpress"]

Status options: Ask the user: "Publish as draft (default) or live?"

  • draft (default, safer)
  • publish (immediately live)

Publish to Ghost

Triggers: "publish to Ghost", "post to Ghost", "send to Ghost"

Requirements: ~/.claude/suparank-credentials.json must have a ghost section with:

  • api_url: Ghost site API URL
  • admin_api_key: Ghost Admin API key (format: id:secret)

Steps:

  1. Get the article (same as WordPress flow above)
  2. Convert markdown to HTML
  3. Generate a Ghost Admin API JWT token using a Node.js one-liner:
TOKEN=$(node -e "
const c = require('crypto');
const [id, secret] = '${admin_api_key}'.split(':');
const h = Buffer.from(JSON.stringify({alg:'HS256',typ:'JWT',kid:id})).toString('base64url');
const now = Math.floor(Date.now()/1000);
const p = Buffer.from(JSON.stringify({iat:now,exp:now+300,aud:'/admin/'})).toString('base64url');
const sig = c.createHmac('sha256', Buffer.from(secret,'hex')).update(h+'.'+p).digest('base64url');
console.log(h+'.'+p+'.'+sig);
")
  1. Create the Ghost mobiledoc payload:
{
  "posts": [{
    "title": "Article Title",
    "mobiledoc": "{\"version\":\"0.3.1\",\"atoms\":[],\"cards\":[[\"html\",{\"html\":\"<html content>\"}]],\"markups\":[],\"sections\":[[10,0]]}",
    "status": "draft",
    "tags": [{"name": "keyword1"}, {"name": "keyword2"}],
    "feature_image": "image_url_if_available"
  }]
}
  1. Publish via Ghost Admin API:
curl -s -X POST "${api_url}/ghost/api/admin/posts/" \
  -H "Authorization: Ghost ${TOKEN}" \
  -H "Content-Type: application/json" \
  -d '${post_data}'
  1. Parse response and report success
  2. Update session: mark article as published_to: ["ghost"]

Generate Images

Triggers: "generate images", "create images", "generate hero image", "make images for article"

Requirements: ~/.claude/suparank-credentials.json must have image provider config:

  • image_provider: "fal" (currently the only supported provider)
  • fal.api_key: fal.ai API key

If image_provider is missing or set to an unsupported value (anything other than "fal"):

  • Skip image generation with message: "Skipped images (unsupported provider '[value]', only 'fal' is currently supported)"
  • Do NOT block the rest of publishing

Steps:

  1. Read the article from session to understand content
  2. Read image prompt template from ~/.claude/skills/suparank/templates/image-prompt-designer.md
  3. Generate image prompts based on article content and visual style from config
  4. For each image, call fal.ai via curl:
curl -s -X POST "https://fal.run/fal-ai/flux/schnell" \
  -H "Authorization: Key ${fal_api_key}" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "detailed image prompt here",
    "image_size": "landscape_16_9",
    "num_images": 1
  }'
  1. Parse response to get image URL from result.images[0].url
  2. Store image URLs in session metadata
  3. Report: "Generated [N] images. Cover: [url]. Ready to publish."

Image count calculation:

  • 1 cover/hero image (always)
  • 1 inline image per 300 words of content (if config.content.include_images is true)

Send Webhook

Triggers: "send webhook", "notify Slack", "send to Make", "trigger webhook"

Requirements: ~/.claude/suparank-credentials.json must have webhooks section

Steps:

  1. Determine webhook type: slack / make / n8n / zapier / default
  2. Build the payload:

For Slack:

curl -s -X POST "${slack_url}" \
  -H "Content-Type: application/json" \
  -d '{"text": "New article published: [title]\n[url]"}'

For Make/n8n/Zapier:

curl -s -X POST "${webhook_url}" \
  -H "Content-Type: application/json" \
  -d '{
    "source": "suparank",
    "timestamp": "2026-02-23T10:30:00Z",
    "title": "Article Title",
    "url": "https://...",
    "keywords": ["keyword1", "keyword2"]
  }'
  1. Report success: "Webhook sent to [type]!"

Batch Publishing

When publishing multiple articles (from multi-article pipeline):

  1. Read all articles from session
  2. Publish each one sequentially
  3. Track progress: "Publishing article 1 of 3..."
  4. Report summary: "Published 3 articles to WordPress as drafts."

When Called from Pipeline

When invoked by the pipeline orchestrator:

  • Generate images first (if enabled and credentials available)
  • Then publish to all configured platforms
  • Use draft status by default
  • Report results but don't ask questions - the pipeline is automated

Graceful Degradation

If credentials are missing for a specific platform:

  • Skip that platform silently
  • Report which platforms were skipped and why
  • Never fail the entire publish phase because one platform is missing

Example: "Published to WordPress. Skipped Ghost (not configured). Skipped images (no fal.ai key)."

Image Generation Error Handling

If image generation fails, handle gracefully:

  1. Timeout (>60s): "Image generation timed out. Publishing without images."
  2. Rate limiting: "Image provider rate limited. You can retry with /suparank/publish later."
  3. Invalid prompt: Try a simplified prompt. If it still fails, skip that image.
  4. API key invalid: "fal.ai API key is invalid. Update with /suparank/setup."

Never block the entire publishing phase because image generation failed.

Security Notes

  • Credentials are read from ~/.claude/suparank-credentials.json (or legacy ~/.suparank/credentials.json)
  • NEVER log or display full API keys, passwords, or tokens in output
  • When showing curl commands to the user, ALWAYS mask sensitive values:

- API keys: show first 4 chars only → sk_l**** - Passwords: replace entirely → **** - Tokens: show first 10 chars → eyJhbGci... - Example: Authorization: Basic **** (never the actual base64 string)

  • Application passwords are safer than regular WordPress passwords
  • If an error message contains credentials, sanitize before displaying

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

35.41%
按下载量换算64

Claude

30.9%
按下载量换算56

Cursor

20.68%
按下载量换算37

Gemini CLI

10.47%
按下载量换算19

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills