PhilRobinluo/ai-coevolution-skills / skills/lls-video-digester
lls-video-digester
Verified把用户提供或公开可用的字幕整理成带时间证据的观点、质疑点和行动清单。 当用户要处理相关材料并需要可验证交付物时使用。
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 1.8 KB |
| SKILL.md | skill md | 4.8 KB |
| references/evidence-note-template.md | markdown | 429 B |
| scripts/index_transcript.pyexecutable | script | 2.3 KB |
| tests/test_index_transcript.py | script | 715 B |
tests/test_index_transcript.py
View on GitHubimport 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()
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 |