english-video-level

Skill to assess English video difficulty: accepts Bilibili or YouTube video links or English transcript text, automatically extracts or transcribes subtitles and analyzes the text, then returns a Chinese report (1) content summary (2) difficulty level (middle/high school, CET/TOEFL/IELTS/graduate/academic professional) (3) approximate vocabulary size suitable for reading (4) general-purpose or specialized (and field). Triggered when the user asks to assess video difficulty or pastes a link asking about difficulty/vocabulary suitability.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "english-video-level" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f65edab1a0a41fe466b609d33ad33ebed9dc8195747e7a5c4e8470506a59e7d7. Verify the upstream source and version against https://skillhub.cn/skills/user_b5974c1d/english-video-level before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Skill to assess English video difficulty: accepts Bilibili or YouTube video links or English transcript text, automatically extracts or transcribes subtitles and analyzes the text, then returns a Chinese report (1) content summary (2) difficulty level (middle/high school, CET/TOEFL/IELTS/graduate/academic professional) (3) approximate vocabulary size suitable for reading (4) general-purpose or specialized (and field). Triggered when the user asks to assess video difficulty or pastes a link asking about difficulty/vocabulary suitability.

0 Downloads

Introduction source: third_party · user_b5974c1d · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: english-video-level
description: 判断英语视频难度等级的技能。用户发来一个 B站/哔哩哔哩 或 YouTube 视频链接(或英文台词文本)时,自动提取字幕(无字幕则本地语音识别转写)并分析文本,输出中文报告:①视频内容总结 ②难度等级(初中/高中/四六级/考研/雅思托福/学术专业)③适合阅读的大致词汇量 ④通用型还是偏专业型(及领域)。当用户说"判断这个英语视频难度"、"这个视频适合什么水平"、"分析下这个英文视频"、"英语视频难度等级"、"测一下这个视频词汇量"、或粘贴视频链接并问难度/词汇量/适不适合学用时。

英语视频难度等级判定

给一个英语视频链接(YouTube / Bilibili)或一段英文台词,自动解析文本并产出一份中文难度分析报告:内容总结、难度等级、所需词汇量、通用/专业属性。

两条核心流水线:

  1. 获取文本 — scripts/extract_transcript.py
    • 优先用 yt-dlp 拉英文字幕;
    • 若无英文字幕,自动下载音轨 → 本地 Whisper (faster-whisper) 转写为英文文本(无需任何外部 API);
    • 临时下载的视频/音频在转写后立即删除,不留痕。
  2. 文本分析 — scripts/analyze_text.py(客观指标 + 覆盖率法估算词汇量)

最终结论由 LLM 结合指标与语义裁定,分级标准见 references/difficulty_rubric.md。

设计原则:任何人、任何机器都能直接用

本 skill 自包含、跨平台、自举式,不依赖预装环境:

  • ffmpeg:若系统 PATH 中没有,脚本自动下载对应平台的便携静态版到 <skill>/bin/ffmpeg/ 并加入 PATH,无需管理员权限、无需系统安装。
  • faster-whisper:若未安装,首次运行自动 pip install(轻量、支持 CPU/GPU)。
  • 设备自动选择:用 ctranslate2.get_cuda_device_count() 探测;有 NVIDIA 显卡自动用 GPU 加速,无显卡自动降级 CPU(速度慢但无需显卡)。
  • 模型权重:faster-whisper 首次转写时自动下载(默认 base.en,约 140MB),无需手动处理。
  • 可覆盖的环境变量:EVL_DEVICE=cpu|cuda、EVL_MODEL=tiny.en|base.en|small.en|...(默认 base.en)。

本 skill 仅支持 YouTube / Bilibili,二者一般无需登录即可拉取字幕/音频,因此不读取浏览器 cookies,保持大众可用、无侵入。

何时使用

  • 用户发来 YouTube / Bilibili 的视频链接,并想了解「难度 / 适合什么水平 / 词汇量 / 通不通俗」。
  • 用户直接粘贴一段英文台词/字幕,想评估难度。
  • 关键词触发:英语视频难度、视频难度等级、适合什么水平、词汇量、测难度。

工作流

1. 获取文本

情况 A:用户给了链接 运行提取脚本(用受管 Python,scripts/ 下):

"<managed-python>" "<skill>/scripts/extract_transcript.py" "<url>" --lang en
  • 输出一行 JSON。若 ok: true,读取 transcript_path 指向的文本文件。
    • method: "subtitle" → 来自字幕;method: "stt" → 来自本地语音转写(无字幕降级)。
  • 若 ok: false 且 fallback: true(通常为视频已下架、地区限制或网络问题导致提取失败): 礼貌请用户直接粘贴视频的英文台词或字幕文本,拿到后进入情况 B。
  • 受管 Python 路径:C:\Users\60227\.workbuddy\binaries\python\versions\3.13.12\python.exe (Linux/macOS 用对应绝对路径;找不到时用 python3)。

情况 B:用户给了文本 把文本写入工作区 transcript.txt,直接进入步骤 2。

文本过长(>4000 词)无需全部读入上下文;分析脚本直接读文件。总结时若太长可基于代表性段落,并在报告注明「长视频,已抽样总结」。文本 <50 词时提示样本过小、结论仅供参考。

2. 运行文本分析

"<managed-python>" "<skill>/scripts/analyze_text.py" "<transcript.txt 路径>"

输出 JSON,关键字段:

  • tokens / types / ttr:总量、词形数、类符形符比
  • mean_sentence_len:平均句长(句法复杂度信号;字幕碎片化时自动降级)
  • mean_word_len / pct_long_words:词长、长词(≥3音节)比例
  • coverage_by_vocab:前 N 个常用词的覆盖率
  • vocab_for_95pct / vocab_for_98pct:舒适/较轻松阅读所需词汇量(词族)
  • off_list_unique / hard_words_sample:低频词数量与样例
  • suggested_band:机器建议档(仅供参考)

3. 读分级标准并合成报告

读取 references/difficulty_rubric.md,结合指标与文本语义,产出中文报告。报告模板与档位/词汇量对照、通用/专业判定规则都在该文件里。最终难度档以语义判断为准,机器 suggested_band 仅作提示。

报告需包含五部分(严格照模板):来源平台、视频标题、获取方式(字幕/语音转写);①内容总结 ②难度等级 ③适合词汇量(给出 95%/98% 两档并对照各阶段)④通用性/专业性(含领域标签与理由)⑤关键生词节选(8–12 个,附极简中文释义)。

资源

scripts/

  • extract_transcript.py — 平台识别 + yt-dlp 拉字幕 + VTT 解析;无英文字幕时自动走本地语音转写降级;失败给出结构化 fallback。
  • ensure_env.py — 环境自举:自动安装/定位 ffmpeg、自动装 faster-whisper、自动探测 GPU/CPU。
  • analyze_text.py — 分词/归一(含缩写展开)、句法与词长指标、覆盖率法估算词汇量、输出 JSON。依赖 references/core_words.txt(前 10000 常用词频率表)。

references/

  • difficulty_rubric.md — 难度档定义、指标→档位映射、通用/专业判定、输出模板、下沉情形。
  • core_words.txt — frequency-ranked 英文常用词表(前 10000),用于覆盖率与词汇量估算。

注意事项

  • B站/YouTube 无字幕时:自动下载音轨并本地转写英文,通常可用;仅当视频已下架或地区限制导致连音频都下不到时,才下沉请用户粘贴台词。不要无谓重试。
  • 中文视频保护:若强制英文(--lang en)但 Whisper 检测音轨语言非英文,报告会标注提示,避免给出错误结论。
  • 临时文件:下载的视频/音频仅在转写期间存在,转写后立即删除;不向用户机器残留大文件。
  • 词汇量为「被动词汇/能读懂」估算,非主动词汇;数值为覆盖率插值结果,±10% 属正常。
  • 不要臆造视频内容;总结必须基于实际字幕/转写文本。

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 解决英语学习者判断视频难度的实际需求
  • 提供内容总结、难度分级、词汇量估算、专业属性判断等实用功能
  • 支持 YouTube/Bilibili 两大主流平台
Trigger Precision85/100

Highlights

  • 触发词覆盖全面,包含多种常见表达方式
  • 边界清晰,不易与其他 Skill 重叠
Structure and Standards75/100

Areas to improve

  • 缺少具体示例 Reported severity: Minor

    虽然有'何时使用'章节,但缺少端到端的完整示例展示

    Recommendation: 建议添加一个完整的示例,展示从输入链接到输出报告的完整流程

Highlights

  • 文档结构完整,包含设计原则、工作流、资源说明等
  • frontmatter 完整,步骤划分清晰
Execution Reliability88/100

Highlights

  • 工具来源明确,参数正确
  • 覆盖主要异常情况,有完善的 fallback 机制
  • 临时文件清理机制完善,设备自动选择支持
Evidence Verifiability (mean of the first four)82/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 24
  • Administrator or elevated privileges

    Elevate only when necessary. Keep protection and certificate validation enabled and avoid broad system access.

    Mentioned in main document · lines 23

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.