Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

docs: a video path is the whole request

rpone0f09deadb159
diff --git a/.agents/skills/hypit/SKILL.md b/.agents/skills/hypit/SKILL.md
index a7e0dc1b..681171af 100644
--- a/.agents/skills/hypit/SKILL.md
+++ b/.agents/skills/hypit/SKILL.md
@@ -14,7 +14,9 @@ Keep `.svml` Author Source, `.svs` Recipe Source, `.svrun` Run Source, and
## Route
- Reference-video reconstruction, reverse engineering, shot/B-roll/overlay analysis, or recreating
- a video as Hypit source → read `references/reference-video/index.md`.
+ a video as Hypit source → read `references/reference-video/index.md`. **A path to a video file,
+ with or without words around it, is this route** — the path is the whole request, and the working
+ directory, the project location and the vocabulary are yours to decide rather than to ask for.
- Ordinary SVML/SVS/SVRun authoring or syntax selection → read `references/authoring.md`, then
`references/quickstart.md` and the linked authoritative docs/package READMEs.
- Creating a new author component outside reference reconstruction → read
diff --git a/.agents/skills/hypit/references/local-author-package.md b/.agents/skills/hypit/references/local-author-package.md
index 277690b7..d1aeba75 100644
--- a/.agents/skills/hypit/references/local-author-package.md
+++ b/.agents/skills/hypit/references/local-author-package.md
@@ -159,6 +159,7 @@ not a difference to weigh, it is work that is not finished, and it is not bounde
attempt ceiling:
```bash
+# from the repository root: tsx is the repository's dependency
node --import tsx .agents/skills/hypit/scripts/preview-check.mjs path/to/main.svml path/to/build.svrun
```
diff --git a/.agents/skills/hypit/references/reference-video/final-sources.md b/.agents/skills/hypit/references/reference-video/final-sources.md
index 0f2b5d22..5002f77d 100644
--- a/.agents/skills/hypit/references/reference-video/final-sources.md
+++ b/.agents/skills/hypit/references/reference-video/final-sources.md
@@ -41,6 +41,7 @@ opens the Playground — a new package with a bad schedule, a media edge whose a
image, a reference that does not resolve. Find that now, not on the author's screen:
```bash
+# from the repository root: tsx is the repository's dependency
node --import tsx .agents/skills/hypit/scripts/preview-check.mjs path/to/main.svml path/to/build.svrun
```
diff --git a/.agents/skills/hypit/references/reference-video/index.md b/.agents/skills/hypit/references/reference-video/index.md
index 29bf01db..50455e6b 100644
--- a/.agents/skills/hypit/references/reference-video/index.md
+++ b/.agents/skills/hypit/references/reference-video/index.md
@@ -22,8 +22,24 @@ that line.
Reference observation is part of the work and is expected to cost what it costs.
-Write the project into its own directory. If the author named one, use it; otherwise create
-`examples/<something>-reverse/` beside the other examples, which the workspace already covers.
+## A video path is the whole request
+
+The author gives one thing: the path to a video. Not a working directory, not a project name, not
+which packages to use, not where to put the result — those are yours to decide, and asking for them
+is asking the author to do your job. Everything this route needs beyond the video path is
+discoverable:
+
+- **Where you are.** This skill lives inside the Hypit repository; find its root from the skill's own
+ location (the directory containing `package.json` and `packages/`) and work from there. Repository
+ paths in these files — `.agents/skills/hypit/scripts/…`, `examples/…` — are relative to that root.
+- **Where the project goes.** Its own directory: `examples/<something>-reverse/`, named after the
+ video, beside the other examples, which the workspace already covers. Use a directory the author
+ named only if they named one.
+- **Credentials.** The repository keeps them in `.env`; load it as shown below. If a variable is
+ missing, say which one and stop — do not ask the author to describe their setup.
+
+Ask the author about the video and nothing else: what it is for, who is in it, what it should say.
+Never interrupt to ask which generator, which package, which directory, or whether to proceed.
## Before the first command
diff --git a/.agents/skills/hypit/scripts/preview-check.mjs b/.agents/skills/hypit/scripts/preview-check.mjs
index a0b84917..aa8e5e95 100644
--- a/.agents/skills/hypit/scripts/preview-check.mjs
+++ b/.agents/skills/hypit/scripts/preview-check.mjs
@@ -10,6 +10,10 @@
* Usage: node --import tsx .agents/skills/hypit/scripts/preview-check.mjs <main.svml> [<build.svrun>]
* Exit: 0 when every track built and nothing is waiting on an error.
* 1 otherwise, listing the failing tracks and their errors.
+ *
+ * Run it from the repository root. `tsx` is the repository's own dependency, so
+ * a working directory outside the repository fails to resolve it before this
+ * script runs at all — the error names `tsx`, not the source being checked.
*/
import { fileURLToPath } from "node:url";
// The script lives under `.agents/`; resolve the playground's preview pipeline from the repo root.