recast
Skill6 starsChanged 19 days agoMITView on GitHub
Put the user's own characters, people or things into a video of theirs with Recast - each picture replaces one person or thing in the video, and the motion, the place and the sound stay as filmed - on a board that checks the video, offers each video model with its price and makes the video itself. A character swap for an AI influencer, a mascot or a product placed into real footage. Use when the user has a video and wants someone or something in it replaced by their character, a photo or a product ("put my character in this clip", "replace the cup with my product", "swap me into this video"). Not for a new video from a prompt or a picture (generate-media), cutting their footage (edit-footage), or an animated ad rebuilt with new photos and text (recreate-video).
In this repository67 other files it gives its agents.
- ai-presenterSkill
- animate-designSkill
- app-ui-animationSkill
- asset-auditSkill
- assetsSkill
- background-musicSkill
- caption-decorationsSkill
- character-riggingSkill
- custom-transitionsSkill
- design-layer-importSkill
- drama-series-writingSkill
- edit-footageSkill
- edit-on-your-computerSkill
- edit-pipelineSkill
- face-hidingSkill
- figma-storyboard-animationSkill
- film-animaticSkill
- film-cast-designSkill
- film-cuttingSkill
- film-finishingSkill
- film-shot-generationSkill
- film-story-writingSkill
- footage-analysisSkill
- footage-reframingSkill
- generate-mediaSkill
- get-startedSkill
- large-scene-assemblySkill
- linked-element-motionSkill
- make-characterSkill
- make-comicsSkill
- make-screen-videosSkill
- make-short-dramaSkill
- motion-design-craftSkill
- motion-intentSkill
- motion-pattern-librarySkill
- motion-reviewSkill
- motion-scene-continuitySkill
- motion-tracking-from-videoSkill
- movie-producerSkill
- open-picsart-appSkill
- photo-slideshowSkill
- picsart-add-mediaSkill
- picsart-video-rulesSkill
- quality-reviewSkill
- quick-merge-and-exportSkill
- realistic-color-gradeSkill
- recreate-videoSkill
- reel-structureSkill
- reference-fragment-matchingSkill
- resting-frame-rulesSkill
- retention-hooksSkill
- scene-3d-authoringSkill
- scene-animation-referenceSkill
- scene-building-basicsSkill
- scene-template-remixSkill
- screen-recording-analysisSkill
- screen-recording-layoutsSkill
- screen-recording-zoomSkill
- screen-ui-redesignSkill
- sd25-peSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Read picsart-video-rules first.
- Very specific: line 28
Every file goes in as a Picsart-hosted URL, as picsart-video-rules's Asset URLs says.
- Very specific: line 31
ASK with picsart_drive_upload_ask for all of them in one panel, in the first turn.
- Very specific: line 52
Read the video's length with picsart_media_probe, then look at 4 to 6 moments spread over it with picsart_media_video_stills (times, …
- Very specific: line 56
Write found from what you saw: every person, the main one first, then the things that matter to the action, at most 8.
- Very specific: line 64
ASK with picsart_recast_setup: videoUrl, pictures, found, and only what the user said:
- Distinctive: line 93
Run nothing again unless the user asks: Change and run again and Try another model are on the board.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Recast
Read picsart-video-rules first. One job: one of the user's own videos, with people or things in it replaced by the user's pictures. The Recast board checks the video, offers the video models with the price, and makes the video itself. You bring it the video, the pictures and who is in the video, then read what it made.
| Stage | Gate | Skills |
| 1. The video and the pictures | ASK | — |
| 2. Who is in the video | — | — |
| 3. The board | ASK, SPEND | — |
| 4. What it made | DELIVER | — |
1. The video and the pictures
Every file goes in as a Picsart-hosted URL, as picsart-video-rules's Asset URLs says. A video or a
picture a Picsart tool returned in this conversation is used as it is. Files on the user's disk go
up with picsart_upload_local_files when you have a shell. Otherwise
ASK with picsart_drive_upload_ask for all of them in one panel, in the first turn.
What goes in, at most 8 pictures, in the order the user named them:
- A character they name: find it with
picsart_film_list_assets, with noprojectFolderUidfor a character made outside a film and with the film's for its cast. Pass itsportraitUrlasurl, itsname, andcharacter: true: the sheet's views are one character. - A photo or a product shot: its URL, with a
namewhen the user gave one. - A new place they asked for in a picture: that picture with
role: "place".
The board's own What goes in step adds pictures from the user's images, characters and props, or from their device, and its Place step adds a place from their images, so never hold the board for a picture: open it with what you have. A picture that does not exist yet (a new character, a product shot) is a job of its own: offer make-character or generate-media in one sentence, and do it only on a yes.
The board checks the video's length, size and frame rate against each model and says which ones take it, so read no limits here.
2. Who is in the video
Read the video's length with picsart_media_probe, then look at 4 to 6 moments spread over it with
picsart_media_video_stills (times, labels: true). Both are free. Look at the sheet as
picsart-video-rules's Asset URLs says.
Write found from what you saw: every person, the main one first, then the things that matter to
the action, at most 8. Each is a short lowercase label by how it looks, never by where it stands or
by a name: "the woman in the long dark coat", "the cup in her hand". The board offers these labels
as what each picture replaces. When the user said who or what a picture replaces, set its
replaces to the label that matches.
3. The board
ASK with picsart_recast_setup: videoUrl, pictures, found, and only what the user said:
sound:generatedwhen they want new sound,nonefor silence; leave it out to keep the video's own sound.notes: their own words for the run that the board has no control for ("keep her hat on, make the cup red"), and with themnotesSay: whether those words say what the place should be, and whether they say anything about the sound.
Opening the board is free. It is the whole turn: add one line at most, and end the turn. On the
board the user picks what each picture replaces, the place, the model, the resolution, the versions
and the sound, and sees the price above Generate. Their Generate at that price is this spend's
go-ahead: never quote it again in the chat, and never call picsart_generate for this video
yourself. The board runs every job, and a second run charges twice.
4. What it made
The board's answer is recast_feedback; read it before the sentence around it.
status: "done": the board already shows the video before and after, with Download. Say in one line that it is ready. Give each link inresultsonly when the user asks for the file. Whenshortfallis there, say plainly how many versions could not be made (versions), or how many kept the model's own sound because the original could not be put back (sound).status: "failed": say in one line where it stopped, fromfailedStep:wordsis the check of what they wrote,copyis preparing their video,makeis making the new video, andsoundis putting the sound back. The board offers the other models.recast_post: they pressed Post. Openpicsart_social_post_previewwith thatvideoinmedia([{ "type": "video", "url": <video> }]), a caption you wrote for it, and asplatformsthe ones the user named, else["instagram", "tiktok"]: the preview lets them tick others.
Run nothing again unless the user asks: Change and run again and Try another model are on the board. Then offer one next step in a sentence (another version, another model, posting it), and do it only on a yes.
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.

