SkillsGrove
SkillsGrove/Producción de vídeo/WALKERKILLER/Look-Tongji-Notes/ralphtrans

ralphtrans

Instalación

$npx skills add https://github.com/WALKERKILLER/Look-Tongji-Notes --skill ralphtrans
$git clone --depth 1 https://github.com/WALKERKILLER/Look-Tongji-Notes.git /tmp/Look-Tongji-Notes && mkdir -p ~/.claude/skills && cp -r /tmp/Look-Tongji-Notes/skills/ralphtrans ~/.claude/skills/ralphtrans
Instala por favor esta Agent Skill por mí: https://github.com/WALKERKILLER/Look-Tongji-Notes/tree/151f0a51537b3f8903f614c8e7adcd1f72d904bc/skills/ralphtrans. Lee primero su SKILL.md y sus scripts, y solo instálala en mi carpeta de skills cuando hayas confirmado que es segura.

Resumen

Descripción original · MITBatch transcribe ALL playable lectures for a course in a persistent loop. Uses a JSON state file for checkpoint/resume. Runs until every lecture is transcribed or marked failed.
El SKILL.md siguiente se reproduce de WALKERKILLER/Look-Tongji-Notes (commit 151f0a5) bajo la licencia MIT. El texto no se ha modificado; solo se omiten los metadatos de cabecera del archivo, las imágenes se muestran como enlaces y los archivos muy largos se truncan. Copyright 2026 WALKERKILLER. Licencia: LICENSE. Solo se muestra el archivo de instrucciones; consulta el repositorio original para ver los scripts.

Ralph Batch Transcribe

Batch transcribe all playable lectures for a course with checkpoint/resume.

When to Use

  • User says /ralphtrans or "batch transcribe this course".
  • User wants to transcribe an entire course in one go.

Workflow

  1. Start batch transcription:
python "<SKILL_DIR>/../../scripts/look_tongji.py" batch-transcribe --course-id "<ID>"
  1. The CLI:

    • Loads all playable lectures for the course.
    • Creates/reads batch_state.json in the workspace to track progress.
    • Transcribes lectures one by one, updating state after each.
    • Retries failed lectures up to --max-retries times.
    • Prints a summary when all lectures are done or failed.
  2. Interrupt & Resume:

    • Press Ctrl+C to safely stop. State is saved.
    • Re-run the same command to resume from pending lectures.

State File

batch_state.json structure:

{
  "course_id": "xxx",
  "started_at": "ISO8601",
  "updated_at": "ISO8601",
  "lectures": [
    {"sub_id": "xxx", "sub_title": "xxx", "status": "pending|done|failed", "attempts": 0, "error": null}
  ]
}

After Completion

  • Run /note for each transcribed lecture to generate study notes.
  • Run /wiki to rebuild and serve the course site.

Where <SKILL_DIR> Points

<SKILL_DIR> is the directory containing this SKILL.md. Shared scripts (look_tongji.py, timeline_tools.py, tongji_backend/) and references live two levels up in the repository root (<SKILL_DIR>/../../scripts/ and <SKILL_DIR>/../../references/).

Ver el texto completo de la licencia (MIT)
MIT License

Copyright (c) 2026 WALKERKILLER

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.