一键导入
refresh-schema-catalog
Refresh Fal and Replicate model schemas while preserving local override patches and resolving drift safely.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Refresh Fal and Replicate model schemas while preserving local override patches and resolving drift safely.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Add new fal.ai models to the Renku catalog. Fetches JSON schema, looks up pricing from fal.ai, matches/implements cost function, adds entry to fal-ai.yaml.
Add new Replicate models to the Renku catalog. Fetches JSON schema, looks up pricing from replicate.com, matches/implements cost function, adds entry to replicate.yaml.
Convert a local video into a web-friendly video asset for Cloudflare R2. Inspects the source with ffprobe, encodes with ffmpeg while preserving aspect ratio, and asks for explicit confirmation before running npx wrangler upload.
Create the definition files for the Renku Prompt Producer, which leverages an LLM to generate high-quality, structured prompts or audio narration texts consumed by downstream media generation models within the Renku video-creation blueprint.
| name | refresh-schema-catalog |
| description | Refresh Fal and Replicate model schemas while preserving local override patches and resolving drift safely. |
| disable-model-invocation | true |
| allowed-tools | Read, Write, Edit, Grep, Glob, Bash, AskUserQuestion |
Use this workflow when refreshing schema files under catalog/models/**.
The key rule: Never hand-edit generated schema JSON as the source of truth. Put durable manual fixes in:
catalog/models/fal-ai/schema-overrides.yamlcatalog/models/replicate/schema-overrides.yamlRun drift checks first:
pnpm catalog:check-fal-diff
pnpm catalog:check-replicate-diff
Then apply updates:
pnpm catalog:update-fal-diff
pnpm catalog:update-replicate-diff
Typical error meaning:
Resolution steps:
schema-overrides.yaml.node scripts/update-fal-catalog.mjs catalog/models/fal-ai/fal-ai.yaml --update-diff --model=<model-name>
or
node scripts/update-replicate-catalog.mjs catalog/models/replicate/replicate.yaml --update-diff --model=<owner/model>
Example (Fal):
version: 1
models:
- name: qwen-image-2/pro/edit
type: image
patches:
- op: add
path: /input_schema/properties/image_urls/maxItems
value: 3
Supported patch ops:
addreplaceremovePatch paths are JSON pointers (must start with /).