Crun Agent Skills

Run Crun image, video, audio, music, and media-tool workflows through the bundled standalone runtime. Use whenever the user wants to generate, edit, or transform an image, video, v…

CarolineWhite8888

@carolinewhite8888

Install

$ openclaw skills install @carolinewhite8888/crun-agent-skills-919ced2949cc29feb539e7904a681c1620c9ced7

Crun Media Agent Skills

Use this skill as the entry point for Crun media work. Resolve all commands from this directory:

  • runtime/crun_cli.py handles model discovery, credit checks, task creation, status, polling, local-file upload, and generated-media downloads. Upload with crun_cli.py upload <local-file>.
  • catalog/models.json is the local routing catalog.
  • skills/ contains the core pipeline skills, and skills/scenarios/ the scenario skills, listed below; read the relevant child SKILL.md before performing that part of the workflow.

Select the workflow

Core pipeline skills — the shared infrastructure every request flows through (route → estimate → create/monitor):

NeedRead and use
Choose a model from a broad requestskills/crun-model-router/SKILL.md
Check balance or affordabilityskills/crun-account-credits/SKILL.md
Create, monitor, resume, or retrieve a taskskills/crun-task-runner/SKILL.md

Scenario skills (skills/scenarios/) — matched by user intent; each one composes the core pipeline internally:

NeedRead and use
Generate static image or animated GIF memesskills/scenarios/crun-meme-generator/SKILL.md
Generate multi-panel educational comics & storyboardsskills/scenarios/crun-educational-comic/SKILL.md
Enhance an uploaded image or videoskills/scenarios/crun-media-enhancer/SKILL.md
Enhance character action, pose & camera motion (T2I, I2I, T2V, I2V)skills/scenarios/crun-action-camera-enhancer/SKILL.md
Generate character reference sheetsskills/scenarios/crun-character-reference/SKILL.md
Replicate, restyle, or remake photos (portrait, pose, style)skills/scenarios/crun-photo-replication/SKILL.md
Discover and apply Kling, Vidu, or ByteDance effect templatesskills/scenarios/crun-effect-template/SKILL.md
Generate promotional images or videos directly from website/product URLskills/scenarios/crun-url-promo-generator/SKILL.md

For a broad end-to-end request — the common case where the user describes the media they want but does not know Crun model names or payloads — follow the "Orchestrate safely" steps below, reading each child skill as that step needs it. Treat crun-task-runner as the single authority for task creation, authorization gates, timeout recovery, failure handling, and result delivery. Read it before creating any task.

Pass JSON portably

Prefer a UTF-8 JSON file on Windows and whenever shell quoting is uncertain:

python <skill-root>/runtime/crun_cli.py task estimate --model <model> --input-file <input.json>
python <skill-root>/runtime/crun_cli.py models route --intent-file <intent.json>

Use - instead of a path to read that JSON object from stdin. Use --input-json or --intent-json only when the current shell can preserve the JSON string exactly. Each JSON source must contain one object.

Upload a new local input image, video, or audio file before constructing model input:

python <skill-root>/runtime/crun_cli.py upload <local-file>

Use the returned file_url. Never send Base64, data URIs, or local paths as Crun media inputs. For derivative work, reuse the resource URL returned by the earlier Crun task instead of downloading and uploading it again.

Orchestrate safely

  1. Identify the output modality and operation. Collect only indispensable inputs, and require source media for edits, references, lip-sync, face-swap, watermark-removal, voice-cloning, and similar transformations.
  2. Upload only new local source media (crun_cli.py upload); reuse an existing Crun resource URL directly.
  3. Route only when the user did not specify an exact model (crun-model-router), then inspect the selected model's live schema and construct only supported input fields.
  4. Estimate the exact model input before every new task (crun-account-credits). For a routed model, report the model, estimated credits, and relevant settings, then obtain explicit confirmation. Skip only this extra confirmation when the user explicitly named the model — never treat the original generation request as the confirmation.
  5. Create once with task create, capture the returned task_id, and continue only with task wait or task status using that ID.
  6. Follow crun-task-runner for all failures, timeouts, retries, and result delivery.

Use balanced quality and speed when the user has no preference. Ask about native audio only when it changes the viable models, and do not ask the user to choose a provider unless the alternatives have materially different tradeoffs.

Always estimate affordability before creating any task, including tasks for a user-specified model. Require affordable: true from task estimate before task create. The reason is that CreateTask charges credits and is never retried, so an unaffordable or malformed submission wastes a real charge that cannot be undone.

Keep task run and media run only for compatibility or deliberate one-shot use. They create a task directly, so estimate affordability yourself beforehand and confirm a routed model first — they do not gate on either. Do not use them as the default agent workflow.

Handle sensitive media

Before transforming a real person's face or voice, or removing a watermark, require confirmation that the user owns or is authorized to transform the source. Preserve any disclosure or labeling request. Refuse impersonation, fraud, non-consensual sexual content, and unauthorized removal of an ownership mark.

Keep API keys out of task payloads, output, and committed files. Let the runtime resolve CRUN_API_KEY in this order: the ~/.crun/.env file first, then the CRUN_API_KEY environment variable. When no key is configured, the runtime returns configuration_options — an ordered list with a permanent setup command for each method split by platform (macos_linux, windows_cmd, windows_powershell). Recommend the first option: the CLI's own python "<absolute path to runtime>/crun_cli.py" config set-api-key <your_api_key> command (already fully resolved in the payload), which validates the key and persists it into ~/.crun/.env so it works across sessions on every platform.

Top skills in this category

Using Superpowers

@zlc000190

Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

6336k

novel-generator 是一个中文爽文小说生成技能。用户只需提供一句话方向(如"写个都市重生爽文"),AI 代理即可自动完善提示词、规划大纲、逐章创作并输出为独立 Markdown 文件。 核心特性: 智能提示词生成:从一句话方向自动补全世界观、人设、冲突、爽点设计 分章节创作:每章 2000-3000 字,层层递进,章章有爽点 记忆系统:通过 .learnings/ 记录角色、地点、情节、世界观,确保故事前后一致 情节图解:关键战斗、人物关系、势力分布自动生成 Mermaid 图 失败记录:穿帮、矛盾、崩塌等问题自动记录,持续优化 多题材支持:都市、修仙、玄幻、重生、系统流、末世、科幻、游戏 兼容 Claude Code、Cursor、OpenAI Codex、GitHub Copilot 等所有支持 Agent Skills 的工具。

@ityhg

根据用户提供的内容方向自动生成提示词并创作爽文小说。适用场景:(1) 用户提供小说方向/题材/关键词,(2) 需要生成章节连贯的长篇爽文,(3) 需要维护角色、地点、情节的连续性,(4) 需要为关键情节生成图解,(5) 需要记录生成失败场景以优化后续创作。支持都市、修仙、玄幻、重生、系统流等多种题材。Use wh...

7111k

simmer

@simmer

The prediction market interface for AI agents. Trade Polymarket and Kalshi through one API with self-custody wallets, safety rails, and smart context.

2311k

Smart Web Fetch

@leochens

智能网页抓取技能 - 替代内置 web_fetch,自动使用 Jina Reader / markdown.new / defuddle.md 清洗服务获取干净 Markdown。支持多级降级策略,大幅降低 Token 消耗。当 Agent 需要获取网页内容时使用本技能替代 web_fetch。

295.7k

AI Image Generation

@ivangdavila

Create AI images with GPT Image, Gemini Nano Banana, FLUX, Imagen, and top providers using prompt engineering, style control, and smart editing.

1213k