save-as-skill
Skill0 starsChanged 38 days agoMITView on GitHub
The user wants the way this session worked to become one of their skills. Distill it, write it as an Agent Skill, and save it with save-skill (on PATH). Saved skills are private to the user and are installed into every new session they start; saving again under the same name replaces the old version. Look back over the session and keep only what would make the next run better: - the goal and the kind of input it starts…
2 other projects use a version of this.
Adopted by
Most recently taken up by
- EnigmaWU/MyCodeAgentSkillstheir own version, first seen Nov 1, 2026
- SortedEA/skillstheir own version, first seen Oct 11, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- EnigmaWU/MyCodeAgentSkills★ 4same name
- SortedEA/skills★ 0same name
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 repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ad-variantsSkill
- blenderSkill
- faceless-explainerSkill
- hyperframes-animationSkill
- hyperframes-cliSkill
- hyperframes-coreSkill
- hyperframes-creativeSkill
- hyperframesSkill
- long-scroll-filmSkill
- media-editSkill
- media-useSkill
- memorySkill
- previewSkill
- product-videoSkill
- save-workflowSkill
- viral-remakeSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Look back over the session and keep only what would make the next run better:
- Distinctive: line 26
Leave out anything tied to this one run: file paths, generation or artifact ids, timestamps, credit totals, logs, the transcript itself.
- Very specific: line 45
Create a directory named after the skill, outside every repository, e.g.
- Distinctive: line 102
Write in the language the user works in.
- Very specific: line 109
If this session published a final video or image to the preview pane, pass its artifactId (from media-preview's output) as the example …
- Very specific: line 123
If the user only says "save this", pick the names and description yourself.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
save-as-skill
The user wants the way this session worked to become one of their skills. Distill it, write it as an
Agent Skill, and save it with save-skill (on PATH). Saved skills are private to the user and are
installed into every new session they start; saving again under the same name replaces the old
version.
1. Distill
Look back over the session and keep only what would make the next run better:
- the goal and the kind of input it starts from (a reference link, a product photo, a script…);
- the steps that worked, in order, with the decisions that mattered: aspect ratio, length, shot count, pacing, caption style, voice, music, models and their key parameters, prompt patterns;
- the user's corrections and stated preferences ("always a male voice", "no emoji in captions");
- what failed and what to do instead.
Leave out anything tied to this one run: file paths, generation or artifact ids, timestamps, credit totals, logs, the transcript itself. Keep reusable ids only when the user will want them every time (an approved voice id, a logo's object key) and say what each one is. Never include tokens, keys or signed URLs.
Generalize: replace this run's specifics with what to ask for or look for ("the product name", "the reference's hook"). If something needs the user's input at the start, say so in the first step.
Compile the fixed part into a script. Prose instructions make the next session reason through
every step again; a script makes it run them. Wherever this session settled on an exact command
sequence that would be the same next time — an ffmpeg filter chain, a render invocation, a
conversion pipeline — put it in scripts/run.sh (or several named scripts) with the variable parts
as arguments or variables at the top, and shrink the matching SKILL.md steps to: what each parameter
means, when to run the script, and how to check its output. Keep as prose only what genuinely needs
judgment each time (creative choices, quality calls, when to deviate). A skill whose fixed work
lives in scripts is cheaper and more repeatable every time it is used.
2. Write
Create a directory named after the skill, outside every repository, e.g. /tmp/skills/<name>/:
<name>/
SKILL.md # required
references/… # optional: longer notes, example storyboards, prompt banks
scripts/… # optional: deterministic helpers that worked this session (stdlib only)SKILL.md starts with YAML frontmatter:
---
name: product-ad-15s
description:
Make a 15-second vertical product ad from one product photo, in three shots with a hook in the
first second, captions and a voiceover in the user's language. Use when the user wants a short ad
for a product.
metadata:
display_name: 15 秒产品广告
summary.zh-CN: 一张产品图,做成 15 秒竖版广告
display_name.en: 15-second product ad
summary.en: A 15-second vertical ad from one product photo
display_name.ja: 15秒の商品広告
summary.ja: 商品写真1枚から15秒の縦型広告を作る
# …and es, pt, ru, fr, de, ar, ko the same way
---
# 15 秒产品广告
…the steps…metadata.display_name: the name the user sees on their Skills page and in the composer. If the user named the skill, use their name exactly as they said it, in their language ("口播一键出片"); otherwise write a short one in the language they work in. One line, at most 64 characters; quote it if it contains:or#.metadata.display_name.<language>andmetadata.summary.<language>: the same name, and one line about what the skill makes, for people who read another language. Write both for each ofen,es,pt,ja,ru,fr,de,ar,zh-CNandko; the Skills page shows the reader's own. The summary is for a person choosing a skill, not for a session deciding when to use it: say what comes out, in a few words (at most 300 characters). In the user's own language the name stays exactly thedisplay_name, so only its summary is needed there. Do not ask the user for these and do not list them back.name: the skill's internal id, which sessions load it by. Lowercase letters, numbers and single hyphens, at most 64 characters, must not contain "claude" or "anthropic", and must not beviral-remake,memory,previeworsave-as-skill. Short and specific:cafe-brand-15s, notmy-video-skill; for a name in another language, a short English or pinyin rendering (koubo-oneclick). The user never needs to see it.description: what it does and when to use it, in one to three sentences (at most 1024 characters, ideally under 200). This is all a future session sees until the skill is used, so name the trigger situations plainly. A colon followed by a space inside it breaks the frontmatter: reword, or quote the whole value.- Body: the distilled steps as direct instructions, under 500 lines. Point to the other skills
instead of repeating them ("generate with the product's media tools", "publish with the preview
skill", "use viral-remake's renderer"). Put long material in
references/and say when to read it. - Write in the language the user works in.
Limits: at most 100 files, 256 KB per file, 1 MB in total, text files only. Files under scripts/
keep their executable bit.
3. Save
If this session published a final video or image to the preview pane, pass its artifactId (from
media-preview's output) as the example shown with the skill:
save-skill /tmp/skills/product-ad-15s --cover <artifactId> --cover-kind video
save-skill /tmp/skills/product-ad-15s # no example outputIt prints JSON with the saved name, its displayName and whether it was created or updated.
Then tell the user, in one or two sentences in their language, what the skill is called (its display
name), what it will do next time, and that it is in their Skills page and in every new session. Do
not mention the internal name or say that skill names must be in English: the user sees the name
they chose. Do not paste the SKILL.md unless asked.
If the user only says "save this", pick the names and description yourself; do not ask them to. To
rename a saved skill, save it again under the same name with the new metadata.display_name.
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.

