generate
Skill4 starsChanged 6 months agoMITView on GitHub
Generate images and videos via AI model APIs (Kie AI, with fal.ai and WaveSpeed AI as optional future providers). Routes each request to the cheapest capable model for the task, or an advanced model for high-fidelity work. Triggers on /generate, generate image, generate video, create image, create video, thumbnail, animate.
- Reads credentials
19 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- anombyte93/prd-taskmastertheir own version, first seen Nov 8, 2026
- AntonioCardenas/generate-nanobananatheir own version, first seen Nov 3, 2026
- synaptiai/agent-capability-standardtheir own version, first seen Nov 1, 2026
- WeAIClub/resume-skillstheir own version, first seen Oct 25, 2026
- rust-off-rails/rustoffrailstheir own version, first seen Oct 25, 2026
- styrir/skillsedited, first seen Oct 17, 2026
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- styrir/skills★ 012% same
Wrote their own version · 18
- brocoders/nestjs-boilerplate★ 4.4ksame name
- anombyte93/prd-taskmaster★ 608same name
- rust-off-rails/rustoffrails★ 49same name
- KingGyuSuh/codex-image-in-cc★ 35same name
- microsoft/Employee-Self-Service-Agent-Developer-Kit★ 29same name
- ayrshare/ayrshare-social-media-api-claude-plugin★ 19same name
- Hassaan146/claude-skills★ 18same name
- lisovet/claude-skills★ 7same name
- AntonioCardenas/generate-nanobanana★ 6same name
- synaptiai/agent-capability-standard★ 6same name
8 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository79 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- 21st-magicSkill
- alpacaSkill
- ask-mattSkill
- autoresearchSkill
- auto-stage-commitSkill
- browser-harnessSkill
- codebase-designSkill
- codeburnSkill
- codex-reviewSkill
- compact-memorySkill
- connect-recommendSkill
- connect-required-verification-informationSkill
- decision-mappingSkill
- delegate-taskSkill
- design-an-interfaceSkill
- design-mdSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- edit-articleSkill
- extract-designSkill
- ffmpegSkill
- find-skillsSkill
- firecrawlSkill
- git-guardrails-claude-codeSkill
- grillingSkill
- grill-me-codexSkill
- grill-meSkill
- grill-with-docs-codexSkill
- grill-with-docsSkill
- gwSkill
- handoffSkill
- implementSkill
- improve-codebase-architectureSkill
- kie-aiSkill
- lightragSkill
- llmfitSkill
- loop-meSkill
- migrate-to-shoehornSkill
- notebooklmSkill
- obsidian-vaultSkill
- openspaceSkill
- playwrightSkill
- prototypeSkill
- qaSkill
- request-refactor-planSkill
- resolving-merge-conflictsSkill
- reviewSkill
- roastSkill
- scaffold-exercisesSkill
- session-handoffSkill
- setup-matt-pocock-skillsSkill
- setup-pre-commitSkill
- site-teardownSkill
- skill-discoverySkill
- skilluiSkill
- spline-3dSkill
- stripe-appsSkill
- stripe-best-practicesSkill
- stripe-directorySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Read the recipe file before every generation — it has the exact model id, endpoint, request shape, and cost.
- Distinctive: line 28
Never hide a provider swap.
- Very specific: line 35
After every save, write the sidecar log: {basename}.json next to the media file (same rules as generations/README.md).
- Very specific: line 41
Never describe a logo or face in text.
- Distinctive: line 42
Run multiple generations one at a time to avoid rate limits.
- Distinctive: line 43
If a request would generate more than a handful of items (e.g.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/generate
Playbook for AI media generation. Reads this file, picks a model, generates, saves flat, logs.
Models
| Task | Tier | Model | Recipe |
| Image, everyday/draft | cheap | Nano Banana 2 Lite | models/nano-banana-2-lite.md |
| Image, text-in-image (signs, posters, UI) | advanced | GPT Image 2 | models/gpt-image-2.md |
| Video, general/default | cheap | Kling 3.0 | models/kling-3.0.md |
| Video, higher quality from a start frame | advanced | Veo 3.1 | models/veo-3.1.md |
| Video, animate reference images | advanced | Seedance 2.0 Fast | models/seedance-2.0-fast.md |
Read the recipe file before every generation — it has the exact model id, endpoint, request shape, and cost.
Tier selection: default to the cheap tier (Nano Banana 2 Lite / Kling 3.0) for drafts, iteration, and simple requests. Move to the advanced tier only when the task needs it: readable text in the image (GPT Image 2), a hero-quality video shot (Veo 3.1), or animating 2-9 reference images instead of a text prompt (Seedance 2.0 Fast). If unsure which tier fits, say so and ask rather than guessing toward the expensive option.
Provider routing
- Kie AI is the only wired provider right now — use
kie-cli(CLI-first, zero token overhead) or thekie-aiMCP tools as fallback. Key:KIE_AI_API_KEY(already in.claude/settings.local.json). - fal.ai and WaveSpeed AI are documented as future fallbacks (see
models/*.mdprovider notes) but are not yet wired — noFAL_KEY/WAVESPEED_API_KEYexist in this project. If a model isn't available on Kie AI, say so and ask before doing anything else; don't silently invent a fal.ai/WaveSpeed call. - Never hide a provider swap. Say which route ran and why.
Output
- Save every file FLAT into
generations/(project root). No subfolders. - Reference images live in
generations/refs/. - Naming:
{project}_{description}_{timestamp}.{ext} - After every save, write the sidecar log:
{basename}.jsonnext to the media file (same rules asgenerations/README.md).
Rules
- Quote the cost and wait for explicit go-ahead before any paid video run. One approval = one run.
- Draft on the cheap tier first. Only rerun on the advanced tier once a favorite is picked.
- Never describe a logo or face in text. Pass the real image file from
generations/refs/as a reference. If it's missing, stop and ask for it. - Run multiple generations one at a time to avoid rate limits.
- If a request would generate more than a handful of items (e.g. "generate 100 images"), stop and confirm the count and total cost before running any of it.
Styles
generations/styles.json holds reusable style presets (prompt fragment + reference file paths), editable from the gallery's Styles panel or by hand. When the user references a saved style by name, load its prompt fragment and refs from there instead of re-describing the look from scratch.
Gallery
generations/gallery-server.mjs serves a local gallery at the media library — see generations/README.md for how to launch it. The gallery reads generations/ directly; no manual import step, files just need to land in that folder per the Output rule above.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

