skills / bili-audiosummary
AGENTS.md2 starsChanged 8 days agoApache-2.0View on GitHub
bili-audiosummary 是面向 Bilibili 视频的音频总结 Agent Skill。它负责获取 Bilibili 资源、优先处理原生字幕、维护可恢复的 summary_job.json、生成总结 prompt 并校验最终总结。 本项目不拥有 ASR 模型、Provider、Execution Policy、转写缓存或 benchmark。需要转写时,Agent 把本地音频路径交给独立 audio-transcribe Skill,再把其公开 manifest 绝对路径传回本项目的继续命令。本项目不得导入另一个 Skill 的源码,但可以依赖独立的 audio-transcribe-contract 合同包及其公共 API。合同包通过项目声明的 GitHub 固定 tag 安装,不依赖相邻 Skill 的源码目录;安装环境见 README.md。 主要入口与文档职责如下: 仓库通用的编辑、测试执行环境和提交规范见根目录开发说明。本 Skill 的特定约束如下: 测试权限、临时目录、uv 缓存和清理统一遵循根目录的测试执行环境规则。以下命令展示测试范围;实际执行时按根规则配置环境,并追加 --basetemp 和 -o cache_dir=...,不自动同步依赖。 优先针对改动范围运行聚焦测试,例如: 除非任务明确要求端到端验证,否则先使用常规单元测试和模拟边界完成验证。手动验证外部转写接入时,需要单独安装 audio-transcribe。 提交格式见仓库提交约定。
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Apprentice-Geo/skillsword for word, first seen Nov 24, 2026
Other versions1 project uses a version of this.
Word for word · 1
- Apprentice-Geo/skills★ 2100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- article-format-correction/AGENTS.mdAGENTS.md
- audio-transcribe/AGENTS.mdAGENTS.md
- coding-guidelines/AGENTS.mdAGENTS.md
- subtitle-creator/AGENTS.mdAGENTS.md
- anti-sycophancy-reviewSkill
- article-format-correctionSkill
- audio-transcribeSkill
- bili-audiosummarySkill
- coding-guidelinesSkill
- subscription-orchestratorSkill
- subtitle-creatorSkill
The file
Files
bili-audiosummary 开发说明
项目定位
bili-audiosummary 是面向 Bilibili 视频的音频总结 Agent Skill。它负责获取 Bilibili 资源、优先处理原生字幕、维护可恢复的 summary_job.json、生成总结 prompt 并校验最终总结。
本项目不拥有 ASR 模型、Provider、Execution Policy、转写缓存或 benchmark。需要转写时,Agent 把本地音频路径交给独立 audio-transcribe Skill,再把其公开 manifest 绝对路径传回本项目的继续命令。本项目不得导入另一个 Skill 的源码,但可以依赖独立的 audio-transcribe-contract 合同包及其公共 API。合同包通过项目声明的 GitHub 固定 tag 安装,不依赖相邻 Skill 的源码目录;安装环境见 README.md。
主要入口与文档职责如下:
SKILL.md:Agent 的 prepare/inspect/continue/complete 编排流程与能力边界。README.md:面向使用者的项目概述、使用边界、隐私与进一步阅读说明。scripts/:资源准备、外部转写接入、字幕转换和总结完成;详细模块边界见references/ARCHITECTURE.md。assets/:总结内容指引与提示词资源。references/ARCHITECTURE.md:模块职责、job 状态和 artifact 边界。references/ERROR-HANDLING.md:故障定位、恢复与停止条件。references/OPERATIONS.md:已有任务的恢复、输入更换、重新总结与语言切换操作。tests/:与公开状态转换和脚本行为对应的测试。
开发边界
仓库通用的编辑、测试执行环境和提交规范见根目录开发说明。本 Skill 的特定约束如下:
summary_job.json、状态迁移、外部转写接入、artifact 和恢复行为必须遵循references/ARCHITECTURE.md与其定义的 contract。- 外部转写目录只读;其他 Skill 的结果只能通过公开 adapter 接入,业务模块和测试不得复制上游 schema 或验证实现。
.cache/、.venv/、results/、tmp/、cookie 文件和音频均为本地或生成内容,不应纳入提交。- 保持 Windows PowerShell 和 Python 3.12 兼容;仓库脚本通过
uv run --no-sync python -m scripts.<module>运行。
环境与常用命令
面向使用者的环境安装:
.\scripts\setup\setup_windows.bat开发环境同步:
uv sync --python 3.12提交前运行检查:
uv run --no-sync python -m ruff check
uv run --no-sync python -m pyright
uv run --no-sync python -m ruff format --check .
git diff --cached --check测试权限、临时目录、uv 缓存和清理统一遵循根目录的测试执行环境规则。以下命令展示测试范围;实际执行时按根规则配置环境,并追加 --basetemp 和 -o cache_dir=...,不自动同步依赖。
运行完整测试:
uv run --no-sync python -m pytest优先针对改动范围运行聚焦测试,例如:
uv run --no-sync python -m pytest tests/test_run_pipeline.py
uv run --no-sync python -m pytest tests/test_continue_summary.py tests/test_complete_summary.py除非任务明确要求端到端验证,否则先使用常规单元测试和模拟边界完成验证。手动验证外部转写接入时,需要单独安装 audio-transcribe。
测试与验证
- 修改 pipeline、资源获取、job 状态、外部 transcript 定位、总结校验或 setup 时,运行对应的
tests/test_*.py。 - job 测试应覆盖合法和非法状态转换、路径逃逸、本地快照复用,以及 summary 的失败和成功。
- 测试临时文件使用
tests/conftest.py提供的workspace_tmp_path;不要重新引入固定的系统临时目录或仓库外测试目录。 - 文档改动至少检查命令、路径、模块名、Markdown 链接和冲突标记。
提交信息
提交格式见仓库提交约定。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

