media-gen SKILL.md skillA
media-gen from clacky-ai/openclacky is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add clacky-ai/openclacky/media-gen@git:20261010.d7d39dcPins git:20261010.d7d39dc in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- clacky-ai/openclacky
- Path
lib/clacky/default_skills/media-gen/SKILL.md- Versions recorded
- 9
- Latest version
- git:20261010.d7d39dc, committed Oct 10, 2026
- First version recorded
- Jun 25, 2026
- Size
- 30,376 bytes
- Repository stars
- 1,204
- License
- MIT
Generate or edit images, videos, or audio in the current task. Use whenever the user asks to create/generate/produce or edit/modify a picture / image / illustration / cover / poster / icon / artwork, a video / clip / animation, or speech / voiceover / narration / TTS / ambient audio / soundscapes — e.g. generate image, draw, design a cover, edit this image, change the background, text-to-video, generate speech; 画一张, 配图, 编辑图片, 改图, 换背景, 做个视频, 配音, 文字转语音, 环境音. Also use when a document…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# media-gen
Generate **and edit** images on demand by calling the local Clacky HTTP server, which dispatches to whichever image-generation model the user configured (`type=image` in their model settings). Editing (image-in → image-out) works with any image model that accepts image input — most current ones do.
## Endpoint
```
POST http://${CLACKY_SERVER_HOST}:${CLACKY_SERVER_PORT}/api/media/image
GET http://${CLACKY_SERVER_HOST}:${CLACKY_SERVER_PORT}/api/media/types
```
## Step 1 — Verify a backend is configured
Before generating anything, confirm the user has a `type=image` model set up:
```bash
curl -s http://${CLACKY_SERVER_HOST}:${CLACKY_SERVER_PORT}/api/media/types
```
If the response shows `image.configured = false`, stop and tell the user:
> 还没有配置生图模型。请打开设置页 → 添加模型 → 类型选 `image`(走 openclacky 官方网关时推荐 `or-gemini-3-pro-image` 或 `or-gpt-image-2`)。配好后再让我生图。
Do NOT try to fall back to `terminal` + a hand-written `curl https://api.openai.com/...` — that bypasses the user's configured backend and won't be billed correctly.
**You do NOT configure models — the user does, in the settings page.** Never
…Read the whole file at its exact version.
How to install
mdr add clacky-ai/openclacky/media-gen@sha256:c39f8d402713f6beThe line at the top of this page pins the label git:20261010.d7d39dc, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_at3fpncp5msmubjh)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 9 versions of this file, between Jun 25, 2026 and Oct 10, 2026, about one every 13 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261010.d7d39dc latest | 2026-10-10 | d7d39dc | 30,376 B | A | view · diff |
| git:20261007.acd54fd | 2026-10-07 | acd54fd | 29,678 B | A | view · diff |
| git:20261007.dfb3745 | 2026-10-07 | dfb3745 | 29,067 B | A | view · diff |
| git:20260928.5326d06 | 2026-09-28 | 5326d06 | 28,850 B | A | view · diff |
| git:20260818.e18d299 | 2026-08-18 | e18d299 | 28,706 B | A | view · diff |
| git:20260714.9b1e463 | 2026-07-14 | 9b1e463 | 28,376 B | A | view · diff |
| git:20260713.7c11ea1 | 2026-07-13 | 7c11ea1 | 18,682 B | A | view · diff |
| git:20260629.b2375a0 | 2026-06-29 | b2375a0 | 18,026 B | A | view · diff |
| git:20260625.e3378fb | 2026-06-25 | e3378fb | 14,851 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (30376 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
clacky-ai/openclacky · 1,204 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_at3fpncp5msmubjh GET https://markdownregistry.com/api/v1/resolve?ref=clacky-ai/openclacky/media-gen GET https://markdownregistry.com/api/v1/blob/c39f8d402713f6be212885d4e2b139ab7d09bb618889995f2a757a24c1f1d40b
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from clacky-ai/openclacky
Every file in clacky-ai/openclacky