Comunidad
Escribir una habilidad
Esta página solo está en inglés.
A skill is a brief for the agent making a kind of film: what the film must achieve, the few things that must be true, and what OpenFilm offers for it. Write it as a good client briefs a great studio. The craft is the agent's, and a skill never says how to make the film: an agent that is told how does what it was told, and an agent that is told what does better than the telling.
A skill is read by everyone who uses it. Whatever look it carries, every film made with it ends up carrying, so the look has to come from the person's own material and the agent's ideas, never from the skill.
The folder
my-skill/
SKILL.md the brief (required)
openfilm.json how OpenFilm shows it: its title, summary, version and cover
cover.jpg its picture in OpenFilm, 16:9
What is in the folder gets used, so it holds nothing else: no code for making the film, no example films, no notes. A script belongs there only when it gives the agent an ability it cannot get any other way. Keep what you used to make and try the skill (its trials, your notes) beside the folder, not in it. A skill with a page or a program is a plugin: making a plugin says what more it has.
Ask your agent to make one: in OpenFilm, a skill you make is in your Skills folder (~/Movies/OpenFilm/Skills on macOS, ~/Videos/OpenFilm/Skills elsewhere), or in a project's skills/ folder to keep it with that project.
Its full name
Every skill has a full name, <owner>/<name>, and OpenFilm uses it everywhere: in Studio, in openfilm skill, and for the agent. Shared from OpenFilm, the owner is your name in the Community; shared from a GitHub repository, it is the repository's owner (webgrs for github.com/WEBGRS); openfilm is OpenFilm's own. The name is its SKILL.md's name. Two skills may share a name; their full names tell them apart. One you made, or added from a folder, is local/<name>, and one kept in a project is project/<name>.
SKILL.md
The Agent Skills format: front matter with name, the folder's name (lowercase letters, digits and hyphens), and description, what film it makes and when to use it, in the words people ask with; then the brief, in five parts.
- The result. What the viewer gets from the film, who it is for, and how good it has to be: "the one the artist releases as the official video".
- What defines it. The one thing without which it is not this kind of film. It is usually the thing an agent gets wrong when nobody says it, so say it, with a line on what does not count when the edge needs one: "Lyrics shown as subtitles are not a lyric video."
- What has to be true. Three to five things, each one a property of the film that can be checked:
- the person's facts, words, people and rights stay theirs;
- what can be measured is measured, apart from whatever made it, and reported in numbers ("each word within two frames of the voice");
- the film belongs to its material: "If the same film could carry any other song, it is not done."
- What you have. What OpenFilm offers that an agent cannot guess:
npx openfilm getandlook, the rules that matter for this film (the picture at t depends on t alone, a page has no sound, a recording is trimmed, never re-encoded), the agent's own built-in tools, the services the person has keys for. Open everything else in a sentence ("the web platform and any library on it, Blender or any renderer whose output becomes a clip") instead of listing techniques. Ask before anything large is downloaded. - With the person. Their words come first. What to ask them for, to ask without holding up the work, and what to tell them when done: what was made and why, the numbers, where every fact came from, and what of theirs would make it better.
Leave out:
- styles, looks or directions to choose from, and looks to avoid: a list becomes the look of every film;
- rules for layout, type, color or motion;
- techniques, steps, code, and "check it again";
- example films;
- what OpenFilm's manual already says.
About as long as one screen: the agent reads all of it, every time.
Keeping a sentence
Every sentence has to earn its place. Before one stays, ask:
- Without it, is this still the kind of film the skill is for?
- Could two great directors choose differently here and both be right? Then it is theirs to choose: leave it out.
- Does an agent get it wrong without the sentence? Try it without the skill; if it does not, leave it out.
- Is it a property of the film, or a way of making it? Write the property.
- Can it be checked?
- Can you say what it means to the viewer or the person? "It looks better" is not enough.
openfilm.json
{
"$schema": "https://openfilm.dev/schema/openfilm.schema.json",
"version": "0.1.0",
"kind": "style",
"icon": "film",
"cover": "cover.jpg",
"title": { "en": "Vintage film", "zh-CN": "复古胶片相册" },
"summary": { "en": "Your photos as a memory film.", "zh-CN": "把照片做成回忆短片。" },
"details": { "en": "Best for: …\nWhat it does: …", "zh-CN": "适合:…\n它会:…" }
}
| Field | |
|---|---|
version | x.y.z; raise it with every version you share |
kind | workflow, a way of turning material into a film, or style, a kind of look |
icon | copy, scissors, monitor, shapes, pip, pen, film, music, presentation or layers |
cover | a picture in the folder, 16:9 |
preview | a short video in the folder, played on the skill's page instead of the cover |
needs | what it needs beyond OpenFilm, by language: { "en": "Windows 10 or 11, FFmpeg 8", "zh-CN": "…" } |
platforms | the computers it runs on, any of macos, windows, linux; without it, every one. OpenFilm says so where it cannot run, and does not install it there |
title, summary, details | what OpenFilm shows, by language (en, zh-CN, ja, ko, es); details is a few lines |
license | its licence, as an SPDX name (MIT, Apache-2.0), when its folder has no LICENSE file; without either, it is shared under MIT |
permissions | what it does beyond its own folder, each with a reason: network (the hosts it reaches, enforced for pages), project, program, secrets, agent; see the developer policy |
Everything here is optional: without it, OpenFilm shows the name and description from SKILL.md. Every field, with what it accepts, is in the schema.
Trying it
Give an agent the same real request, with real material, once with the skill and once without, and watch both films in Studio. A skill is ready only when it is clearly better, and keeps only the sentences that make it so. Measure what can be measured, with a script anyone can run again. Write down each request word for word, with the skill's version, the agent and model, the numbers and what was seen, and say which model it was made and tried with when you share it: people with a weaker model then know what to expect. When models change, try again: a sentence an agent no longer needs comes out.
Checking and sharing it
npx openfilm publish ./my-skill
npx openfilm publish ./my-skill --share
The first checks it as the Community will: SKILL.md's description, openfilm.json's title, summary and version, and the scan that looks for what the review standard looks for. It runs nothing in the folder. The second shares it, signed in to OpenFilm. In Studio, Publish on the Community page does the same. Each version is reviewed before it is listed; sharing with the Community says how it goes.