Global-AI-Group-Inc/content-generation-skills / skills/mira-generate
mira-generate
VerifiedGenerate images and video on Mira AI through its MCP server: connect, pick a model, attach the user's AI Blogger, location or product, write the prompt, pass a playbook skill, wait for the result, extend or upscale a clip. Use it whenever the user wants to "generate", "make a video", "make an image", "animate this photo", "create an ad", "сгенерируй", "сделай видео", "сделай картинку" and a Mira MCP server is connected or can be. Chain with mira-video-prompting and mira-image-prompting for what to write, and with the mira-* playbooks for the genre. NOT for prompting theory on its own, and not for voice, music, sound effects, dubbing or captions (mira-audio).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 20.3 KB |
| references/ai-blogger.md | markdown | 14.1 KB |
| references/direct-presets.md | markdown | 3.6 KB |
| references/film-studio.md | markdown | 14.3 KB |
| references/guides.md | markdown | 9.3 KB |
| references/locks-and-references.md | markdown | 12.2 KB |
| references/marketing-studio.md | markdown | 5.6 KB |
| references/media-ops.md | markdown | 9.3 KB |
| references/miracle.md | markdown | 9.8 KB |
| references/playbooks.md | markdown | 1.8 KB |
| references/social-publishing.md | markdown | 4.9 KB |
references/social-publishing.md
View on GitHub# Posting to Instagram and Threads, with auto-replies
The user's own Instagram and Threads accounts, connected on
[miralabs.art/integrations](https://miralabs.art/integrations), can receive posts straight from
Mira: now or at a time in the user's content plan. A post can carry auto-replies to comments
(comment hooks): a keyword or any comment under the post gets a public reply and a DM with buttons.
They are saved with the post and start working the moment it goes live.
Campaign posts of AI Marketing Studio are not posted from here: there you only draft them
(`mkt_draft_post`, see [marketing-studio.md](marketing-studio.md)) and the team publishes.
## The flow
1. `list_social_accounts`. A platform that is not connected can't be posted to: give the user the
link and stop. You can't connect it yourself.
2. Pick the media: the user's own finished generations by id (`list_generations`). For a grid
generation pass `id:index`. A generation that is not in the media library yet is added to it.
3. `check_social_post` with the same arguments you are going to publish with. It publishes nothing
and returns `errors` (must fix), `warnings` (Instagram will crop or re-encode) and a summary.
4. Show the user the summary: accounts, post type, media, the caption as it will read, the time,
the Instagram options and every auto-reply word for word. These go out under their name to real
people.
5. Only after an explicit yes: `publish_social_post` with the same arguments and `confirm=true`.
Without `confirm` it returns the summary again and posts nothing.
6. `get_social_post` for the outcome. Instagram processes video for a minute or two (`processing`).
A scheduled post can be removed with `cancel_social_post` until it goes out; ask first.
## Post types
| postType | Media | Where |
|---|---|---|
| `feed` | one photo or video (a video goes out as a Reel) | Instagram, Threads |
| `reel` | one video | Instagram |
| `story` | one photo or video, no caption, no comments | Instagram |
| `carousel` | 2-10 photos and videos | Instagram, Threads |
| `text` | no media | Threads |
## Instagram's limits
- Caption up to 2,200 characters, 30 hashtags, 20 @mentions. Only the first ~125 characters show
before "more": put the hook there.
- Feed photos are cropped to 4:5 - 1.91:1; Reels and stories are 9:16. Make the media in that ratio
rather than letting Instagram crop it (`reframe_video` for a clip in the wrong ratio).
- Video: 3 s to 15 min for Reels, up to 60 s for stories, 23-60 fps, up to 300 MB (stories 100 MB).
A clip over 60 fps from FPS Boost has to be made at 60.
- Photos up to 8 MB; non-JPEG files are converted by Instagram.
- About 100 API posts per account per 24 h; over the limit the post moves one hour later.
## Instagram options (`ig`)
- `aiLabel` - Instagram's "AI info" label. Recommend it for generated media.
- `collaborators` - up to 3 usernames; they get an invite (not for stories).
- `altTexts` - alt text per photo, keyed by the generation id you passed (photos only).
- `coverGenerationId` / `thumbOffsetMs` - the Reel's cover: a photo generation or a frame in ms.
- `shareToFeed` - false keeps a Reel in the Reels tab only.
- `trialReel` - test a Reel on non-followers before followers see it. Works for `reel` and for a
single video in `feed`. `manual`: only non-followers see it until the user shares it to followers
in the Instagram app; no tool can do that step. `performance`: Instagram shares it to followers by
itself if it performs well. The post is still public, and `shareToFeed` is ignored. Instagram gives
no way to read whether a trial has reached followers. If it refuses a trial, the post fails and
never goes out as a regular post. On Threads the same post goes out as usual.
- `firstComment` - posted by the account under the post right after it goes live; the usual place
for a block of hashtags.
## Auto-replies (`commentHooks`, `save_comment_hook`)
Each hook: `keywords` (empty means any comment), `publicReply`, `dm` with up to 3 `dmButtons`
(`web_url` with `url`, or `postback` with `nextResponse`), `hide`. DMs, buttons and delete are
Instagram only; on Threads a hook replies publicly or hides the comment. Up to 10 hooks per post.
Recipes that work:
- **Keyword to DM.** Caption: "Comment LINK and I'll send it to you". Hook: keyword `link`, public
reply "Sent it to your DMs!", DM with one `web_url` button to the page. The caption and the
keyword must match exactly what you tell people to type.
- **Thank everyone.** Any comment: a short public thank-you. Add a DM only if it gives something.
- **Two-step DM.** The DM asks a question with two `postback` buttons; each answers differently.
Hooks on a post already published elsewhere: `save_comment_hook` with `mediaId`. Hooks for every
post of the account: neither `postId` nor `mediaId`. `list_comment_hooks` with `recent=true` returns
the user's earlier hooks to reuse; `get_comment_hook_log` shows what they did.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |