Skip to content

itwanger/vibe-science / skills/one-minute-remotion

one-minute-remotion

Verified

VibeScience:把小学、初中、高中的数理化生知识点或 AI 概念做成1至2分钟中文科普视频,覆盖写稿、自选音色配音、连续动画、手机端字幕和MP4。文字稿保存到one-minute/,超时保留全文。“下一步”只推进一个阶段,配音完成后停下供试听。用于知识点短视频、一分钟或两分钟科普、课堂概念短片、写或润色one-minute目录稿件,或明确调用one-minute-remotion;普通长视频不属于本技能范围。

FileKindSize
SKILL.mdskill md15.6 KB
agents/openai.yamlconfig449 B
assets/huashu/LICENSEother1.1 KB
assets/huashu/camera.jsscript9.5 KB
assets/huashu/diagram.jsscript19.6 KB
assets/huashu/fonts/LICENSES.mdmarkdown4.4 KB
assets/huashu/fonts/NotoSansSC-500.woffbinary1.4 MB
assets/huashu/fonts/OFL.txtmarkdown4.3 KB
assets/huashu/fonts/cmunrm.woffbinary120.4 KB
assets/huashu/fonts/cmunti.woffbinary154.9 KB
assets/huashu/motion.jsscript9.2 KB
assets/huashu/provenance.jsonconfig1.0 KB
assets/huashu/util.jsscript7.2 KB
assets/styles/memphis-palette.tsscript490 B
references/approved-memphis.mdmarkdown2.8 KB
references/approved-memphis/area-comparison.pngbinary89.8 KB
references/approved-memphis/area-transfer.pngbinary100.3 KB
references/approved-memphis/opening.pngbinary133.8 KB
references/approved-memphis/provenance.jsonconfig1.2 KB
references/approved-memphis/triangle-labels.pngbinary84.5 KB
references/approved-pythagorean.mdmarkdown3.9 KB
references/approved-pythagorean/area-comparison.pngbinary123.9 KB
references/approved-pythagorean/area-transfer.pngbinary155.9 KB
references/approved-pythagorean/opening.pngbinary85.0 KB
references/approved-pythagorean/provenance.jsonconfig1.2 KB
references/approved-pythagorean/puzzle-moving.pngbinary118.1 KB
references/grammar-t1_3b1b.mdmarkdown13.8 KB
references/huashu-runtime.mdmarkdown5.1 KB
references/motion.mdmarkdown10.6 KB
references/narration.mdmarkdown7.5 KB
references/runtime.mdmarkdown15.5 KB
references/sources.mdmarkdown4.4 KB
references/style-memphis.mdmarkdown5.9 KB
references/upstream-LICENSE.txtmarkdown1.1 KB
references/visual-style.mdmarkdown5.0 KB
scripts/install_huashu.pyscript2.3 KB
scripts/locate_workspace.pyscript650 B
scripts/one_minute.pyscript10.5 KB
scripts/start_studio.pyscript2.3 KB

scripts/start_studio.py

View on GitHub
#!/usr/bin/env python3
"""Start Studio in a detached session; return without waiting for server exit."""
import argparse
import json
from pathlib import Path
import shutil
import socket
import subprocess
import sys


def main():
    parser = argparse.ArgumentParser(description=__doc__)
    parser.add_argument('--project', required=True, type=Path)
    parser.add_argument('--shared-video', required=True, type=Path)
    parser.add_argument('--port', required=True, type=int)
    args = parser.parse_args()
    project = args.project.expanduser().resolve()
    entry = args.shared_video.expanduser().resolve() / 'tools/remotion.mjs'
    node = shutil.which('node')
    if not node or not entry.is_file() or not (project / 'project.json').is_file():
        parser.error('Need node, shared tools/remotion.mjs and project/project.json')
    if not 1 <= args.port <= 65535:
        parser.error('Port must be between 1 and 65535')
    try:
        with socket.create_connection(('localhost', args.port), timeout=1):
            parser.error('Port already in use; verify/reuse the existing project service or choose a free port')
    except OSError:
        pass
    folder = project / 'preview/studio'
    folder.mkdir(parents=True, exist_ok=True)
    log = folder / 'studio.log'
    state = folder / 'studio.json'
    # Keep each launch record, including failed attempts, for diagnosis.
    if state.exists():
        parser.error('Studio launch record exists; inspect its PID, log and readiness before starting again')
    with log.open('ab') as output:
        child = subprocess.Popen(
            [node, str(entry), 'studio', '--project', str(project), '--port', str(args.port)],
            cwd=project, stdin=subprocess.DEVNULL, stdout=output,
            stderr=subprocess.STDOUT, start_new_session=True,
        )
    record = {
        'status': 'starting', 'pid': child.pid, 'project': str(project),
        'port': args.port, 'candidateUrl': f'http://localhost:{args.port}',
        'log': str(log), 'state': str(state),
        'next': 'Check log, listening port and HTTP response; do not wait for the server process to exit',
    }
    state.write_text(json.dumps(record, ensure_ascii=False, indent=2) + '\n')
    print(json.dumps(record, ensure_ascii=False, indent=2))
    return 0


if __name__ == '__main__':
    sys.exit(main())
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
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: 196kUpdated Claude CodeCodexVerifiedInstall