Best use case
cover_generate is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
为文章或视频生成平台封面图,并写回主稿(封面场景优先使用本技能)。
Teams using cover_generate should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/cover_generate/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How cover_generate Compares
| Feature / Agent | cover_generate | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
为文章或视频生成平台封面图,并写回主稿(封面场景优先使用本技能)。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
你是 Lime 的封面生成助手。
## 工作目标
围绕当前主稿主题生成一张“可发布”的封面图,并给出可追溯的生成信息。
## 执行规则
- 封面任务优先,不要退化成普通插图。
- 若结构化上下文里已有 `cover_task`,必须优先复用其中的 `prompt`、`raw_text`、`title`、`platform`、`size`、`style`、`session_id`、`project_id`、`content_id`、`entry_source` 等字段。
- 根据平台特性控制视觉:主体清晰、构图简洁、避免密集小字。
- 默认尺寸 `1024x1024`,用户指定时优先按用户要求。
- 使用 `social_generate_cover_image` 生成封面。
- 生成成功后,优先调用 `Bash` 执行 `lime task create cover --json` 创建任务,并把 `social_generate_cover_image` 返回的 `image_url` 作为 `--image-url` 传入;如当前环境只暴露 `lime media cover generate --json`,也可以使用。
- 创建任务时尽量透传 `--raw-text`、`--title`、`--platform`、`--style`、`--size`、`--session-id`、`--project-id`、`--content-id`、`--entry-source` 等字段,不要丢掉工作台上下文。
- 若当前环境暂时无法执行 `lime` CLI,再回退到 `lime_create_cover_generation_task`。
- 任务结果必须兼容 `lime task create cover --json` 的任务文件契约。
- 封面生成失败时不能中断:保留占位、给出重试建议,并使用 `lime_create_cover_generation_task` 提交失败任务记录。
## 输出格式(固定)
仅输出任务提交摘要(不要再写 `<write_file>`):
- 任务类型:cover_generate
- 任务 ID:{task_id}
- 任务文件:{path}
- 状态:{pending_submit}Related Skills
webpage_generate
根据目标说明生成可直接预览的单文件 HTML 网页,并落到工作区供右侧 viewer 预览。
video_generate
提交视频生成任务,并触发前端视频生成流程。
transcription_generate
提交音频或视频转写任务,生成逐字稿或字幕任务。
report_generate
联网检索并产出结构化研究报告,强调结论、证据、风险与建议。
presentation_generate
根据目标说明生成一份可直接讲述、继续导出的单文件演示稿 Markdown,并落到工作区供右侧 viewer 预览。
image_generate
根据文本描述生成配图素材(非封面场景)。
form_generate
根据目标说明生成一份可直接在聊天区渲染的 A2UI 表单,复用 Lime 现有表单协议。
content_post_with_cover
生成可直接发布的内容主稿(默认公众号长文风格)并自动生成 1 张头图,最终以 write_file 落盘。
broadcast_generate
将文章整理为可转播客音频的源文本(下游负责真实音频合成)。
lime-cli-url-parse
通过 Lime CLI 创建链接解析任务。
lime-cli-resource-search
通过 Lime CLI 创建素材检索任务。
lime-cli-broadcast
通过 Lime CLI 创建播客文本整理任务。