Skip to content

Commit 37f1819

Browse files
feat(skills): route a style outside the templates instead of listing them (#7450)
* feat(skills): route a style outside the templates instead of listing them A request to make a new video in some film's style reached style-sampling, which only knows its five templates and answered any other style with that list. Now it says the style is not one of them and offers the two routes that fit: rebuild a short video and give it the person's content (reverse-any-video), or a new film on their topic that takes the style's grammar (look.md, "From a reference"). The hyperframes routing table points the same request at look.md. * fix(skills): keep the reverse-any-video Chinese trigger to videos 「照着做一个」 matched any "make one like this" request. 「照着这个视频做一个」 keeps it to a video, as review on #7445 suggested. * fix(skills): ask for an example video when a style is only named Both routes for a style outside the templates work from a video, so a style the person only names needs one example first (review on #7450).
1 parent caa62fe commit 37f1819

5 files changed

Lines changed: 9 additions & 6 deletions

File tree

‎scripts/check-core-skills.mjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const REPO_ROOT = resolve(dirname(fileURLToPath(import.meta.url)), "..");
1313
export const DESCRIPTION_MAX = 320;
1414
// Each budget carries +192 B for the usage beacon line (`beaconProblems`).
1515
export const CORE_SKILLS = {
16-
// +64 B for the routing rows to the video rebuilds, which only trigger when the entry hands them on.
17-
hyperframes: 7424,
16+
// +128 B for the routing rows to the video rebuilds and to a reference's style, which only trigger when the entry hands them on.
17+
hyperframes: 7488,
1818
// +256 B for the `_meta.updateNotice` line: the agent relays it, the person updates.
1919
"hyperframes-cli": 7616,
2020
"hyperframes-registry": 5312,

‎skills-manifest.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"files": 2
77
},
88
"hyperframes": {
9-
"hash": "821c3faf498c1ecf",
9+
"hash": "3abc3f132de58c47",
1010
"files": 78
1111
},
1212
"hyperframes-cli": {
@@ -26,15 +26,15 @@
2626
"files": 76
2727
},
2828
"reverse-any-video": {
29-
"hash": "80b5589967b49aea",
29+
"hash": "2bc8f915c4cd9fe2",
3030
"files": 5
3131
},
3232
"slideshow": {
3333
"hash": "1ab359d60230a336",
3434
"files": 2
3535
},
3636
"style-sampling": {
37-
"hash": "278b90cfc24dcfa1",
37+
"hash": "b131690aa8a7c47f",
3838
"files": 2
3939
}
4040
}

‎skills/hyperframes/SKILL.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Call it "the HyperFrames desktop app", never "Studio"; offer it as the better wa
6363
| --- | --- |
6464
| A video to copy or remake | `/reverse-any-video` |
6565
| An episode in a proven style | `/style-sampling` |
66+
| Another film's style on a new topic | `references/look.md` |
6667
| Launch, promo, feature | `references/types/launch.md` |
6768
| Explainer, tutorial | `references/types/explainer.md` |
6869
| Music video | `references/types/music.md` |

‎skills/reverse-any-video/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: reverse-any-video
3-
description: Rebuild any video file as an editable HyperFrames project - motion graphics, talking heads, live action or AI-generated footage - checked against the original frame by frame. Use to reverse, recreate, remake, replicate or copy a video, or 「复刻这个视频」「照着做一个」.
3+
description: Rebuild any video file as an editable HyperFrames project - motion graphics, talking heads, live action or AI-generated footage - checked against the original frame by frame. Use to reverse, recreate, remake, replicate or copy a video, or 「复刻这个视频」「照着这个视频做一个」.
44
---
55

66
**Plugin installs:** Inside a HyperFrames plugin, follow [plugin execution rules](../hyperframes/references/plugin-installation.md).

‎skills/style-sampling/SKILL.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Style templates are a HyperFrames Pro feature. The CLI pulls them and the server
2727

2828
The person named a template, or their topic fits only one: go on with it. Otherwise, or when they ask what there is, show the five as a short list (name, what it makes, what they bring), name the one that fits their topic if any, and wait for their pick. Nothing is checked, pulled or paid before it.
2929

30+
A style that is none of the five (a channel or film they link or name): say so in one line and, instead of the list, offer the two routes that fit it: a short video rebuilt frame by frame, then given their content (`/reverse-any-video`), or a new film on their topic taking that style's grammar (`/hyperframes`, "From a reference" in `../hyperframes/references/look.md`). Both need a video, so a style they only name gets a request for one example. They pick; nothing is pulled.
31+
3032
## Start
3133

3234
Run `npx hyperframes auth status` first, every time, resuming included. It is for the sign-in: don't repeat its plan or credits line to the person.

0 commit comments

Comments
 (0)