MCPInstall

ray-cover

给定稿的文章或视频做带中文标题的封面:文章封面(公众号 2.33:1、X 16:9、X Article 5:2)用 Punk 风格库(MIT 版);视频封面(默认只出 3:4、默认小Lin风A;要时出 9:16 竖屏和 16:9 横屏)用 Ray 真人照片 + 大标题。都按 Ray 的黑白灰 + 墨绿 IP 编译提示词,默认用 OpenAI 图像 API 分平台生成(也可退回 Codex CLI 调 Image 2),能只改局部不重画。用于“做封面”“视频封面”“竖屏封面”“横屏封面”“换个风格再出一版”“封面标题改一下”。不做正文配图和视频画面。

Installs
60
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/imraywang/rayskills --skill ray-cover
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads ray-cover automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Ray Cover

把一篇定稿内容压成一张在信息流里一眼能认出的封面。Claude 负责读内容、写封面文案、选风格、编译每个平台的完整提示词、验收;生成默认走 OpenAI Images API(gpt-image-2.5-sunburst,约 40 秒、$0.07 一张),没有 key 或 --backend codex 时由 Codex CLI 调 Image 2。画面和中文由生图模型一次生成,不做无字底图再排字。

风格库来自 Adrian Punk 的 Punk Skill MIT 版(assets/punk/,来源和许可边界见 assets/punk/NOTICE.md)。之后的新版是付费商业授权,不拷进来。

$SK 指本 skill 目录。

视频封面(抖音、视频号、小红书的竖封面,以及 YouTube、视频号 / 抖音横屏视频的 16:9 横封面)走另一套:真人照片 + 大标题,见 video-cover.md。默认只出 3:4(xhs)、默认风格小Lin风A;9:16 只在 Ray 明确要时出;各比例的安全区见同一文件。

下面第 5–7 步的生成、验收、交付照常适用;以下几步换成 video-cover.md 里的规则:

  • 第 2 步的文案换成 video-cover.md「文案」。小Lin风A 是超大关键词 + 一行中文 + 一行小英文;其他风格默认只有两行主标题。第 3–4 步的选风格和编译提示词也换成 video-cover.md 里的规则。只删改一行字时用 scripts/erase_text.py,不重新生成。

1. 读内容

读完整正文;有成稿包时同时读一句话判断、核心冲突和传播句;视频封面读这期的口播母稿(vault 的 40-发布/50-口播视频/)或 ray-explainer 项目的 script.json(title、central_judgment、publish),两处任一即可。判断还没定的内容先交回 ray-writer,不用封面替文章拍板。

2. 写封面文案

按 cover-copy.md 写三层:主标题(2–8 字)、副标题(补主标题没说的)、小字(一个硬事实或身份标签)。按内容类型换写法,三层之间不重复,不把文章标题拆开了事。

默认直接用最合适的一组出图,同时准备 1–2 组备选文案,交付时一起给 Ray。Ray 明确说「先给我看文案」时才停下来等确认。

3. 选风格

按 styles.md 挑一个风格。默认在 Anthropic Research、黑白灰先锋几何、纸面击凸压凹三个里按内容选;Ray 点名风格就用他点的;Ray 说「多出几个风格看看」就每个风格各出一版公众号尺寸。

4. 编译提示词

每个平台一份,存到 <封面目录>/prompts/<platform>.md(文章:wechat、x、x-article;视频:vertical、xhs、landscape):

  1. 读选定风格的 assets/punk/styles/<style-id>/META.md 和 STYLE.md,以及 assets/punk/punk-cover/references/cover-prompt-blueprint.md。
  2. 按蓝图编译成一份完整的封面提示词:风格的材质、空间、标题处理、颜色和禁忌落到每个封面决定上,不把 STYLE.md 原文贴在后面。
  3. 把 ip.md 的颜色和禁用约束写进「Color, Material, and Texture」「Negative Constraints」两节。
  4. 写明目标比例和像素、安全区、逐字文案(见 platform-output.md)。
  5. 提示词里不写作者名或「xx style」,只描述视觉机制;不贴文章原文。

5. 生成

封面目录默认是 <vault>/60-素材/10-图片/10-封面/<YYYY-MM-DD-主题>/(<vault> 来自用户给的路径或 .ray-obsidian.json;没有知识库时放用户指定的工作区)。

python3 $SK/scripts/gen_cover.py <封面目录> --platforms wechat,x,x-article

脚本对每个平台各出一张图(并行),生成 raw-<platform>.png,比例对就等比缩放成 <platform>-cover.png 和 420px 缩略图,写 manifest.json;比例不对报错,不裁不拉。

  • 默认 --backend api(OPENAI_API_KEY 在环境变量或 ~/.zshenv 里就自动用):OpenAI Images API,模型 gpt-image-2.5-sunburst,有 --ref 走 /v1/images/edits、没有走 /v1/images/generations,一张约 30–50 秒、约 $0.07。原生尺寸已实测 xhs 1200×1600;别的比例 API 不收时报错,那个平台改用 --backend codex。
  • --backend codex:Codex CLI 调 Image 2,一张约 1–5 分钟。需要 codex 已登录且 image_generation 开启(codex features list)。

只出一个平台或换风格试一版:--platforms wechat。

6. 验收

用 Read 看每张成品和缩略图:

  • 文案逐字对:缺字、错字、多字(模型自己加的标语或英文)。错字、多字改提示词重跑该平台;模型自加的短标签列给 Ray 判断。
  • 颜色:只有黑白灰加一处墨绿,没有蓝紫、霓虹、别的色相。
  • 主标题在 420px 缩略图上读得清;关键文字不贴边、不被裁。
  • 风格是真的落在画面上,而不是普通封面加一点质感。

7. 交付

用 SendUserFile 发成品,回复里写:用的风格和一句话视觉隐喻、这组文案、1–2 组备选文案、验收发现的问题(模型自加的字、颜色偏差)。Ray 要调整时,分两种:

  • 只改局部(去掉一个小东西、换背景、改一处颜色):不重新生成,写 prompts/<p>-edit.md(「只做一处修改:……其余一切保持完全不变」),跑 gen_cover.py <封面目录> --platforms <p> --edit。脚本把旧的 raw / cover / thumb 自动留档成 -v1、-v2,拿现成的 raw-<p>.png 去改,构图和脸都不变(2026-10-16 宝可梦封面去领夹麦,一次成功)。
  • 只换人物(换一张身份照,构图、文字、道具都不动):gen_cover.py <封面目录> --platforms <p> --edit --ref <新照片>,定稿封面和新照片一起送进编辑接口,写法见 video-cover.md「换人物、保留构图」。
  • 重新构图:先把那几个平台的旧文件(raw-<p>.png、<p>-cover.png、<p>-thumb.jpg、api-<p>.log / codex-<p>.log、manifest.json)改名加 -v1、-v2 留档、提示词另存 prompts/<p>-v1.md,再只改对应平台的提示词重跑;脚本会覆盖同名文件。

边界

  • 不发布、不上传平台;进公众号草稿交 ray-wechat,进 X Articles 后台交 ray-x-article(用 5:2 成品)。
  • 文章封面默认不画形象,Ray 要求时按 ip.md 的方式加;视频封面用 Ray 的真人照片(他已同意),用别人的照片先问。
  • 正文配图、视频画面不归这个 skill。

FAQ

What does the ray-cover skill do?

给定稿的文章或视频做带中文标题的封面:文章封面(公众号 2.33:1、X 16:9、X Article 5:2)用 Punk 风格库(MIT 版);视频封面(默认只出 3:4、默认小Lin风A;要时出 9:16 竖屏和 16:9 横屏)用 Ray 真人照片 + 大标题。都按 Ray 的黑白灰 + 墨绿 IP 编译提示词,默认用 OpenAI 图像 API 分平台生成(也可退回 Codex CLI 调 Image 2),能只改局部不重画。用于“做封面”“视频封面”“竖屏封面”“横屏封面”“换个风格再出一版”“封面标题改一下”。不做正文配图和视频画面。

How do I install ray-cover?

Run npx skills add https://github.com/imraywang/rayskills --skill ray-cover in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ray-cover/ (personal) or .claude/skills/ray-cover/ (project).

Which AI agents can use ray-cover?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is ray-cover safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains ray-cover?

It is published by imraywang in imraywang/rayskills. It has 60 recorded installs.

More from imraywang/rayskills

View all →

ray

imraywang/rayskills

rayskills 总入口:不确定该用哪个 ray- skill、只丢来一个真实任务,或要把内容从 idea 一路做到草稿箱或口播稿时使用,判断下一步或执行已确认的生产链。“推送”“走完整流程”不等于发布授权。触发:/ray。

62 installs

ray-writer

imraywang/rayskills

把灵感、剪藏、调研或草稿写成有 Ray 态度的中文长文(公众号 / X 长文),接入知识库的成稿与发布流程;也做带授权署名的译介稿。用于“写成文章”“写一篇公众号或 X 长文”“重写这篇”“翻译转载”。改口播转 ray-kb;不发布。

Docs & Writing61 installs

ray-wechat

imraywang/rayskills

把定稿长文排成手机友好的公众号富文本并生成预览;Ray 明确同意后写入或更新公众号草稿箱并回读核对。用于“公众号排版”“推到公众号草稿箱”“更新微信草稿”。含糊说法先只做预览;不发布、不群发。

59 installs

ray-obsidian

imraywang/rayskills

Open the skill to read its SKILL.md instructions.

ray-x-article

imraywang/rayskills

Open the skill to read its SKILL.md instructions.

Docs & Writing55 installs

ray-broll

imraywang/rayskills

Open the skill to read its SKILL.md instructions.

47 installs

Popular backend & apis skills

View category →

find-skills

vercel-labs/skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

OfficialBackend & APIs4.1M installs

entra-app-registration

microsoft/azure-skills

Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.

OfficialBackend & APIs566.7K installs

This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs ADK (Agent Development Kit) API patterns and code examples. It provides a quick reference for agent types, tool definitions, orchestration patterns, callbacks, state management, the graph Workflow API, and reference recipes to study. Do NOT use for scaffolding (use google-agents-cli-scaffold) or deployment (use google-agents-cli-deploy).

Backend & APIs514.8K installs

embedded-captions

heygen-com/hyperframes

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet anchor rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

Backend & APIs453.3K installs

entra-agent-id

microsoft/azure-skills

Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant) including the Microsoft Entra SDK for AgentID sidecar. USE FOR: Agent Identity Blueprint, BlueprintPrincipal, agent OAuth, fmipath token exchange, agent OBO, Workload Identity Federation for agents, polyglot agent auth, Microsoft.Identity.Web.AgentIdentities. DO NOT USE FOR: standard Entra app registration (use entra-app-registration), Microsoft Foundry agent authoring (use microsoft-foundry).

OfficialBackend & APIs336.6K installs

neon

neondatabase/agent-skills

Overview of Neon, a complete set of cloud backend primitives around Lakebase Postgres: Auth, Object Storage, Functions, the AI Gateway, and Realtime. Start here to choose Neon for undecided login, files, APIs, and LLM calls, set up the CLI or MCP server, and follow the branch-first workflow. Use when building an app or backend on Neon, or when "Neon" or "Lakebase Postgres" is mentioned. Child skill neon-postgres wins for an existing DATABASEURL, SQL, schema, inspect, or search. Child skill neon-auth wins for login, users, sessions, identity routing, and Managed Better Auth setup. Child skill neon-realtime wins for live queries in reactive apps and agents. Also use for object storage, S3, buckets, serverless functions, function triggers, cron, AI gateway, LLM calls, realtime, logs, Loki, Grafana, observability, postgres, database, backend, Claimable Neon, neon.new, or a no-signup database.

Backend & APIs237.1K installs