技能图谱SKILLSGROVE
技能图谱/视频制作/leamsigc/ShortsGenerator/ig-research-transcribe

ig-research-transcribe

安装

$npx skills add https://github.com/leamsigc/ShortsGenerator --skill ig-research-transcribe
$git clone --depth 1 https://github.com/leamsigc/ShortsGenerator.git /tmp/ShortsGenerator && mkdir -p ~/.claude/skills && cp -r /tmp/ShortsGenerator/skills/ig-research-transcribe ~/.claude/skills/ig-research-transcribe
请帮我安装这个 Agent Skill:https://github.com/leamsigc/ShortsGenerator/tree/7e4e16b8c5cb51f61836265189e3a89282228e40/skills/ig-research-transcribe ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITTranscribe state — runs Whisper on all downloaded audio files. Platform-agnostic: works with audio from Instagram, YouTube, Facebook, etc. Processes only files that don't already have a .txt transcript.
以下 SKILL.md 内容转载自 leamsigc/ShortsGenerator(提交 7e4e16b),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2024 leamsigc 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

Social Research — Transcribe State

Transcribes all audio files in the project's transcripts/ directory using OpenAI Whisper (tiny model for speed).

Run

bash "$CLAUDE_SKILL_ROOT/scripts/transcribe.sh" <project-name> [sessionId]

What it does

  1. Finds all .m4a, .mp3, .webm, .opus files in transcripts/
  2. Skips files that already have a matching .txt
  3. Runs Whisper tiny model on each file
  4. Saves transcripts as .txt files

Performance

Model Speed Accuracy
tiny Fastest Good
small Medium Better
medium Slow Best

Edit transcribe.sh and change --model tiny to --model small or --model medium for better accuracy.

Output

.ig-research/projects/<project-name>/transcripts/<postId>.txt
查看许可证全文(MIT)
MIT License

Copyright (c) 2024 leamsigc

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.