Skip to content

PhilRobinluo/ai-coevolution-skills / skills/lls-video-digester

lls-video-digester

Verified

把用户提供或公开可用的字幕整理成带时间证据的观点、质疑点和行动清单。 当用户要处理相关材料并需要可验证交付物时使用。

FileKindSize
README.mdmarkdown1.8 KB
SKILL.mdskill md4.8 KB
references/evidence-note-template.mdmarkdown429 B
scripts/index_transcript.pyexecutablescript2.3 KB
tests/test_index_transcript.pyscript715 B

tests/test_index_transcript.py

View on GitHub
import json,subprocess,sys,tempfile,unittest
from pathlib import Path
ROOT=Path(__file__).resolve().parents[1]
class T(unittest.TestCase):
 def test_srt(self):
  with tempfile.TemporaryDirectory() as d:
   d=Path(d); src=d/'a.srt'; out=d/'o.json'; src.write_text('1\n00:00:01,000 --> 00:00:03,000\n第一句\n\n2\n00:02:10,000 --> 00:02:12,000\n第二句\n')
   subprocess.run([sys.executable,str(ROOT/'scripts/index_transcript.py'),str(src),str(out),'--chunk-seconds','60'],check=True,capture_output=True,text=True); x=json.loads(out.read_text()); self.assertEqual(x['segments'],2); self.assertEqual(len(x['chunks']),2); self.assertEqual(x['chunks'][0]['start'],'00:00:01')
if __name__=='__main__':unittest.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: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated 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: 194kUpdated Claude CodeCodexVerifiedInstall