Makkov-design/makkov-harness / skills/media-use
media-use
VerifiedGet or make any media for a HyperFrames video - music, sound effects, images, icons, logos, voiceover, avatar and generated video, transcripts, cutouts, colour grades and looks - with HeyGen or free local tools, and mix placed audio. Also for footage that looks dark, flat or dull, or should be stylized or hidden.
scripts/compatibility.test.mjs
View on GitHubimport { cpSync, mkdtempSync, rmSync } from "node:fs";
import { tmpdir } from "node:os";
import { join } from "node:path";
import { execFileSync } from "node:child_process";
import test from "node:test";
process.env.HYPERFRAMES_MEDIA_HOME = mkdtempSync(join(tmpdir(), "media-use-compat-home-"));
function run(scriptsDir, script, args) {
return execFileSync(process.execPath, [join(scriptsDir, script), ...args], {
encoding: "utf8",
stdio: ["ignore", "pipe", "pipe"],
});
}
test("published memory scripts run without reaching outside the skill", () => {
const scratchDir = mkdtempSync(join(tmpdir(), "media-use-compat-"));
const skillDir = join(scratchDir, "media-use");
cpSync(new URL("..", import.meta.url), skillDir, { recursive: true });
const scriptsDir = join(skillDir, "scripts");
const projectDir = join(scratchDir, "project");
try {
run(scriptsDir, "prefs.mjs", ["get", "--hyperframes", projectDir, "--json"]);
run(scriptsDir, "recipe.mjs", ["list", "--hyperframes", projectDir, "--json"]);
run(scriptsDir, "transcribe.mjs", ["--help"]);
} finally {
rmSync(scratchDir, { recursive: true, force: true });
}
});
test("published audio helpers import without the CLI package tree", () => {
const root = mkdtempSync(join(tmpdir(), "media-use-audio-"));
const skill = join(root, "media-use");
try {
cpSync(new URL("..", import.meta.url), skill, { recursive: true });
for (const helper of ["heygen.mjs", "tts.mjs"])
run(join(skill, "audio/scripts/lib"), helper, []);
} finally {
rmSync(root, { recursive: true, force: true });
}
});
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |