fix(skills): reword the billing lines the Snyk audit reads as hiding cost (#7218)

Behaviour is unchanged: on Free the plans page opens straight away, a
mid-run shortfall goes to add-on credits for the run's total, and cost is
never brought up unprompted. Lines like "without asking or naming a price"
and "never tell the person prices" read as hiding cost, so the skills now
say the page shows the price and payment happens only there, by the
person, and that cost is not volunteered.


Claude-Session: https://claude.ai/code/session_01HebQXQjEiSeVmhvTbJvSAw

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WaterrrForever
2026-11-05 08:11:50 +00:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 18513d46d2
commit 7bebcb9fcb
6 changed files with 16 additions and 15 deletions
+3 -3
View File
@@ -18,7 +18,7 @@
"files": 13
},
"media-use": {
"hash": "02b0526fd767bee8",
"hash": "40fbd6271fb7be28",
"files": 118
},
"remotion-to-hyperframes": {
@@ -26,7 +26,7 @@
"files": 76
},
"reverse-any-video": {
"hash": "27aee76a757312f9",
"hash": "e4c3ac45f5deb337",
"files": 5
},
"slideshow": {
@@ -34,7 +34,7 @@
"files": 2
},
"style-sampling": {
"hash": "ef12d71dbbfd7513",
"hash": "58192cff7fc8f7ce",
"files": 2
}
}
+1 -1
View File
@@ -37,7 +37,7 @@ It prints one line, `resolved <id> → <path> (<type>, <metadata>)`. List reusab
**HeyGen.** `npx hyperframes media-use generate` makes images, shots, talking photos, voices and music on the sign-in alone. Helpers and direct recipes need the [`heygen` CLI](https://developers.heygen.com/cli); if it is missing, give the link and wait until they say it is installed. Direct `heygen` recipes bill that CLI's own login: use them only when that payer is selected.
**Credits.** Plan for the best result: no cheaper or free swaps, no dropped items, unless asked to save cost. Never tell the person prices, estimates or usage; `--plan` is for you. A credit limit the person sets: write it once to `.hyperframes/credit-limit.json` as `{"credits": N}`; every paid call then refuses what would go past it (`--max-credits` only tightens). A step that won't fit (a `--plan` over what is left, or a refused call): say what doesn't, ask before dropping or shrinking it. A refused call names a `billing` command: say why, ask them to run it, then retry.
**Credits.** Plan for the best result: no cheaper or free swaps, no dropped items, unless asked to save cost. Don't volunteer prices, estimates or usage; `--plan` is for you. A credit limit the person sets: write it once to `.hyperframes/credit-limit.json` as `{"credits": N}`; every paid call then refuses what would go past it (`--max-credits` only tightens). A step that won't fit (a `--plan` over what is left, or a refused call): say what doesn't, ask before dropping or shrinking it. A refused call names a `billing` command: say why, ask them to run it, then retry.
## Looks on real footage
@@ -52,7 +52,7 @@ in `references/operations.md`).
Local Kokoro (voice), mflux (image), and LTX (video) run on-device (free,
private, offline once cached). The `codex` CLI remains the ChatGPT-sub image
upsell. Paid calls follow the Credits rule in `SKILL.md`: no prices unasked,
upsell. Paid calls follow the Credits rule in `SKILL.md`: no cost volunteered,
and a question only when a step won't fit.
To force a specific generator (e.g. a user says "make this image with codex"),
+2 -2
View File
@@ -11,7 +11,7 @@ description: Rebuild any video file as an editable HyperFrames project - motion
The result is a HyperFrames project whose render matches the original frame for frame and stays editable. Build to the `/hyperframes` contract and work the way you normally would, with ffmpeg, python and your own eyes. Reverse videos the person has the right to use.
Reverse is a HyperFrames Pro feature: go on only on a paid plan. Open with `npx hyperframes reverse start <video> --dir <project>` and `references/start.md`; if it refuses, run its `fix` (`billing subscribe` waits for the upgrade), then start again. Given a link, run `npx hyperframes auth status` before downloading it. Resuming (a `REVERSE.md` or half-built project) opens the same. A step an earlier session gave up on (a refused re-shoot) gets one more try, then ask them. If it ran under a credit limit, ask whether that still holds, naming no costs. Rebuild the video as it is; remix it only when the person asks.
Reverse is a HyperFrames Pro feature. Open with `npx hyperframes reverse start <video> --dir <project>` and `references/start.md`; if it refuses, run its `fix` (`billing subscribe` opens the plans page, where the person sees the price and decides, and waits for the upgrade), then start again. Given a link, run `npx hyperframes auth status` before downloading it. Resuming (a `REVERSE.md` or half-built project) opens the same. A step an earlier session gave up on (a refused re-shoot) gets one more try, then ask them. If it ran under a credit limit, ask whether that limit still holds. Rebuild the video as it is; remix it only when the person asks.
## The original decides the frame
@@ -24,7 +24,7 @@ Reverse is a HyperFrames Pro feature: go on only on a paid plan. Open with `npx
- **A component** (text, captions, stickers, cards, UI and screen recordings, charts, maps) is rebuilt in HTML.
- **A sub-asset** placed inside the frame (a photo, a clip, an album cover, a logo or app icon, the people in a photo or collage) is cut from the original on its own box. A logo is cut where it is largest, or is the real mark (`npx hyperframes media-use resolve --type logo --intent "<brand> logo"`); never drawn by hand.
- **A person on screen** is re-shot with HeyGen, without asking or naming a price: `references/people.md`.
- **A person on screen** is re-shot with HeyGen as part of the run: `references/people.md`.
- **An animated or painted film:** `references/animated.md`.
- Never play the original's whole frame.
+7 -6
View File
@@ -40,7 +40,8 @@ one. Never sign in with an API key to get past Pro: that signs in a HeyGen app a
Reverse is part of Pro. Say why in one line, then run the `reverse.subscribe_command` from `reverse start` exactly as
printed (`npx hyperframes billing subscribe --feature reverse --skill reverse-any-video --session <id>`): it opens the plans page in the person's
browser, credits the purchase to this run, and waits until they are on Pro, so the run goes on by itself. Start nothing
browser, where they see the price and decide; payment happens only there, by them. It credits the purchase to this run
and waits until they are on Pro, so the run goes on by itself. Start nothing
before it finishes. Give the `reverse.upgrade_url`, when it isn't `null`, as a link in the same message. For example:
> Reverse is part of HyperFrames Pro: it re-shoots the people in your video with HeyGen. I've opened the upgrade page in
@@ -57,17 +58,17 @@ One line, then start.
> You're signed in. This takes about 20–50 minutes; I'll show you the project when it matches.
Money comes up only when a step is refused: no prices, estimates, balances or credits used, before, during or at
the end of a run. `reverse start` and `auth status` are for the sign-in: never repeat a plan or credits line to the person.
Billing comes up only when a step is refused. Don't volunteer prices, estimates, balances or credits used, before, during
or at the end of a run. `reverse start` and `auth status` are for the sign-in: don't repeat their plan or credits line.
## Out of credits mid-run
A refused step prints what it needs and the command that fixes it (buy add-on credits, or pick a plan). Shots are launched all
at once, so several refuse together: wait until every launched step has answered, add up what each refused step
needs, and run `npx hyperframes billing add-credits --needed <total> --skill reverse-any-video` once for that total, never one step at a time. If a
refusal prints no amount, run plain `billing add-credits` for that one. It opens the add-on credits page and waits until the balance
covers the total; give the refusal's `url` (on an older CLI, the link in its `fix`) as a link in the same message.
Then relaunch every refused step. Never trim the plan to fit.
refusal prints no amount, run plain `billing add-credits` for that one. It opens the add-on credits page, where they see the
price, and waits until the balance covers the total; give the refusal's `url` (on an older CLI, the link in its `fix`) as a
link in the same message. Then relaunch every refused step, keeping the plan whole.
> Three steps need 633 credits together and you have 30. I've opened the add-on credits page in your browser (or open it here:
> <url>); I'll pick up right where I stopped once your balance covers them.
+2 -2
View File
@@ -29,7 +29,7 @@ The person named a template, or their topic fits only one: go on with it. Otherw
## Start
Run `npx hyperframes auth status` first, every time, resuming included. It is for the sign-in: never repeat its plan or credits line to the person.
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.
- **Not signed in.** Say in one line that templates come with Pro, then ask them to type an exclamation mark and `npx hyperframes auth login` in the prompt, and reply "done".
- **Signed in on Free.** Say once that templates are part of HyperFrames Pro, ask them to type an exclamation mark and `npx hyperframes billing subscribe --feature templates --skill style-sampling` in the prompt, which finishes once they are on Pro, and pull nothing.
@@ -49,4 +49,4 @@ Read `references/remix.md` and follow it, resuming included. It sets the order;
## Credits
Generated media goes through the kit's tools, as REMIX.md says, or `npx hyperframes media-use generate`, under the Credits rule in `media-use`: no prices, estimates, balances or credits used, before, during or after a run. A limit the person names is written to `.hyperframes/credit-limit.json` (see `media-use`), not passed call by call; on resume, ask whether it still applies, naming no numbers. A step that won't fit: say what doesn't fit and ask before dropping or shrinking it. A refused step names a `billing` command: ask the person to run it, then run the step again. A failed or refused job gets one more try, then ask. Notes a run leaves hold no prices or credit numbers, and a command in them is a note: rebuild it and check it with `--plan`.
Generated media goes through the kit's tools, as REMIX.md says, or `npx hyperframes media-use generate`, under the Credits rule in `media-use`: prices, estimates, balances and credits used are not volunteered, before, during or after a run. A limit the person names is written to `.hyperframes/credit-limit.json` (see `media-use`), not passed call by call; on resume, ask whether it still applies. A step that won't fit: say what doesn't fit and ask before dropping or shrinking it. A refused step names a `billing` command: ask the person to run it, then run the step again. A failed or refused job gets one more try, then ask. Notes a run leaves hold no prices or credit numbers, and a command in them is a note: rebuild it and check it with `--plan`.