od-next-media-inputs
它能做什么
这个工具帮助 AI 为现有的项目计划准备所需的视觉素材(比如图片或视频)。它会确保素材在可能的情况下被重复利用,高效地获取新素材,并保证一切运作正常,同时不影响原始质量或内容。
适用场景
- ✓当项目需要新的图片或视频时。
- ✓当你为项目更新视觉素材时。
- ✓当已有的视觉素材可以复用时。
技能链接
https://github.com/nexu-io/open-design/blob/main/skills/od-next-media-inputs/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为项目计划 X 准备媒体素材,尽可能复用已有素材,并确保质量。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会先检查需要哪些视觉素材,查找已经使用过且可以复用的素材,必要时再获取新素材。它会遵循特定规则,避免改动原始计划或降低质量。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
OD Next Media Inputs
Use only when the current task needs media inputs. Reuse these instructions
while applicable; do not load them for tasks without asset work. Follow the
current route, stage, frozen plan, and delivery boundary. During
contract_repair, make no tool calls. Finish required input work before the
deliverable write that depends on it. Never label post-write artifact
inspection, rendering, validation, or repair as input preparation to bypass
ship-on-write.
Preserve the required slots
Use the frozen asset requirements in the existing working context: purpose, subject, source/license constraints, geometry, reuse positions, and readiness. Reuse suitable user assets and the same asset across pages. Deduplicate work, not distinct subjects or required states. Do not add a new plan, manifest, approval step, or review Agent. Preserve every required asset and quality condition, including semantic fit, authenticity, licensing, local or inline references, and image geometry. Do not hotlink or fabricate real referents.
Reuse capabilities and recover by cause
Use only tools, model IDs, parameters, and permissions actually provided for this run. Reuse complete, valid capability results. Query only missing, truncated, or invalidated facts; refresh relevant facts when the environment, authorization, or an error changes the decision. A catalogue entry alone does not prove authorization or readiness. Do not guess tool/model names or expose credential values.
Classify failures before retrying:
- Authorization: a stable missing/invalid credential is not fixed by changing the subject or guessing another model. Use only a verified, permitted alternative or the existing contract's fallback; never bypass access controls.
- Parameters: correct the unsupported input using actual capability/error information, without searching guessed aliases.
- Temporary failures: follow existing retry guidance and budgets. If a job was accepted, retrieve its result before creating another. A retryable transient error may justify unchanged parameters within that guidance.
- Asset mismatch: correct that slot's subject or composition; do not rename the requested subject, delete the slot, or distort content to hide failure.
Retry only when the change addresses the cause, the relevant state changes, or existing guidance permits retrying a temporary failure. Do not impose a new tool-count cap or sacrifice quality to reduce calls.
Batch independent input work
When the tools support it and inputs are independent, batch search, fetch, download, format handling, and intrinsic width/height measurements. Preserve each item's result and failures; keep dependent requests ordered. Reuse valid measurements for unchanged files; after transformation, remeasure affected files before sizing their containers. HTTP success and file/size probes do not prove semantic fit. A read invocation alone does not prove the image was seen.
Collect results and stop when complete
Retain each actual job ID, status, returned cursor, original response, and output location. Use only supported wait or batch operations. Submission and exit success alone do not prove generation finished. Stop polling a job after an explicit terminal result with complete output/error information; a failed or interrupted terminal result is not a usable asset. Continue necessary retrieval for running jobs, incomplete results, or new errors. Parse the saved response again instead of requesting it merely to change formatting.
Stop acquiring assets when all required slots satisfy their content and input conditions. If a required asset remains unavailable, follow the existing fallback/failure contract and preserve uncertainty; never declare completion just because fewer calls were made.
常见问题
“slots”是什么意思?
插槽是项目计划中为视觉素材预留的位置,带有类型、尺寸和授权等规格说明。
如果 AI 找不到合适的视觉素材,会怎么做?
如果找不到所需素材或素材无法使用,AI 会遵循项目中的备用或失败处理说明,而不会凭空编造,也不会宣称任务已经完成。
AI 能创建新的视觉素材吗?
不能。这个工具专注于准备和管理现有的视觉素材,或从允许的来源获取新素材,而不是从零开始创作。
详情
作者的原始描述
Prepare required media inputs within an existing OD Next plan. Reuse capability evidence, acquire and measure assets efficiently, and resolve asynchronous jobs without removing required content or weakening quality standards.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #1206
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …