speak-summary
Skill này làm gì
Chuyển văn bản thành tệp âm thanh MP3 có thể nghe được. Công cụ viết lại văn bản để nghe tự nhiên khi đọc to, rồi tạo tệp âm thanh bằng chính máy tính của bạn.
Khi nào nên dùng
- ✓Khi bạn muốn nghe bản tóm tắt của một văn bản dài.
- ✓Để tạo phiên bản âm thanh của một tài liệu.
- ✓Để có “podcast” cá nhân về tin tức hoặc thông tin.
Liên kết skill
https://github.com/github/awesome-copilot/blob/main/skills/speak-summary/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Chuyển bài viết này thành âm thanh để tôi nghe khi đi làm.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Đầu tiên, AI điều chỉnh văn bản để nghe hay khi đọc to, thay đổi các câu dài và giải thích các từ viết tắt. Sau đó, nó dùng một chương trình trên máy tính để chuyển văn bản đã chỉnh thành tệp âm thanh MP3.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Speak Summary
Turn written text into audio someone will actually want to listen to.
This skill is deliberately a terminal step in a chain. Another skill (or you)
produces the text; this one makes it listenable. It pairs naturally with
roundup, daily-prep, meeting-minutes, or any summarisation work.
Everything runs locally on CPU. No text is sent to a cloud speech service, which matters when the content is confidential, and it means the skill works in a headless cloud agent or CI container just as well as on a laptop.
Prerequisites
The synthesis engine is Kyutai pocket-tts,
a small neural TTS model designed to run on CPUs.
The bundled script installs it automatically into a cached virtualenv on first use, so usually you need do nothing. To install it explicitly:
pip install pocket-tts # any platform
brew install pocket-tts # macOS, if preferred
pocket-tts requires Python >=3.10 and <3.15. The script searches for a
compatible interpreter rather than assuming python3 is one — worth knowing if
you are on a very new Python, where installation would otherwise fail.
You also need an encoder. ffmpeg is strongly preferred (brew install ffmpeg
or apt-get install -y ffmpeg); on macOS the script falls back to the built-in
afconvert and emits .m4a instead of .mp3.
The first run downloads the model (~1GB) from Hugging Face. After that it is fully offline and synthesises roughly 6x faster than real-time.
The important step: rewrite for the ear
Do not feed written text straight into the synthesiser. Prose that reads well on screen is tiring to listen to. Rewriting it first is what separates a useful audio digest from an unlistenable one.
Produce a spoken script that:
- Opens with orientation. What this is, what it covers, roughly how long it runs.
- Replaces bullets with connective prose. "First… The bigger one is… Finally…" — a listener has no visual structure to lean on, so carry it in the language.
- Expands abbreviations on first use. "PR" becomes "pull request", "CI" becomes "continuous integration". Acronyms that read fine are noise when spoken.
- Speaks dates and numbers naturally. "the twentieth of August", not "2026-08-20". "About three thousand", not "2,847".
- Never reads URLs aloud. Say "linked in the written version" instead.
- Uses short sentences. Split anything past roughly 25 words.
- Signposts transitions. "Turning to the product side…", "Two things need your attention…".
- Ends with the actions. Recap what the listener should do, since that is what they need to retain and they cannot scroll back.
- Drops anything purely visual. Tables, code blocks, and diagrams should be summarised in a sentence or omitted, never read out.
Write this spoken script to its own .txt file. Keep the original written
version with its links intact — the audio is a companion to it, not a
replacement. The user will want to click through later.
Synthesise
./scripts/tts.sh <input.txt> <output.mp3> [voice.safetensors]
The script strips any residual markdown, splits the text on sentence boundaries into ~600 character chunks (quality degrades on long single inputs), synthesises each chunk, and concatenates the result into a mono MP3 at 96kbps — small enough to sync to a phone, good enough for speech.
Environment overrides:
| Variable | Purpose |
|---|---|
SPEAK_TTS_BIN |
Path to a specific pocket-tts binary; skips all auto-detection. |
SPEAK_TTS_HOME |
Where to create/find the cached virtualenv. Default ~/.cache/speak-summary/venv. |
Voices
The default English voice is alba. To use a different one, pocket-tts
supports voice cloning from a short clean audio sample:
pocket-tts export-voice --help
Pass the resulting .safetensors file as the third argument to the script.
Only clone a voice you have the rights to use. Do not clone a real person's voice — colleague, customer, or public figure — without their explicit consent.
Output
- Default to
~/Music/Briefings/unless the user says otherwise; it is easy to point a phone or podcast app at. - Name files
<subject>-<YYYY-MM-DD>.mp3. - Report the path, duration, and size.
- Offer to play it:
afplay <path>on macOS,ffplay -nodisp -autoexit <path>elsewhere.
Length guidance
Aim for 4–6 minutes for a routine digest, which is roughly 600–900 spoken words
…
Câu hỏi thường gặp
Tôi có phải trả phí dịch vụ đám mây nào không?
Không, mọi thứ chạy trên máy tính của bạn. Chỉ cần tải về chương trình âm thanh một lần.
Tôi có thể chọn giọng nói không?
Có, có thể dùng các giọng khác nhau nếu bạn có đúng tệp giọng nói và có quyền sử dụng chúng.
Nếu âm thanh bị ngắt giữa câu thì sao?
Điều này có thể xảy ra nếu các câu trong văn bản gốc quá dài. Hãy thử rút ngắn các câu trong văn bản bạn muốn chuyển thành âm thanh.
Chi tiết
Mô tả gốc của tác giả
Convert text, markdown, or a summary produced by another skill into a listenable MP3 using local CPU-only neural text-to-speech. Rewrites written prose for the ear before synthesising. Use when the user asks to "read this out", "turn this into audio", "make an MP3", "I want to listen to this", "podcast version", or wants a spoken digest for a commute or breakfast.
repo: github/awesome-copilot
Độ phổ biến
- Sao GitHub
- 40k
- Vị trí xếp hạng
- #7429
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
acquire-codebase-knowledge
40kGiúp agent của bạn hiểu và ghi tài liệu cho một dự án mã nguồn có sẵn. Hữu ích khi đón thành viên mới hoặc nắm tổng quan về kiến trúc.
acreadiness-assess
40kGiúp agent của bạn đánh giá mức độ sẵn sàng cho AI của dự án và tạo báo cáo. Hữu ích để biết dự án đã sẵn sàng dùng công cụ AI đến đâu.
acreadiness-generate-instructions
40kGiúp agent của bạn tạo hướng dẫn cho công cụ AI dựa trên kết quả đánh giá. Hữu ích để cải thiện cách AI làm việc với mã và khắc phục các khoảng trống.
acreadiness-policy
40kGiúp agent của bạn xác định hoặc áp dụng chính sách đánh giá dự án bằng AI. Hữu ích để chuẩn hóa cách đánh giá dự án và đảm bảo tuân thủ.
Skill tương tự
obsidian-vault-maintainer
394kGiúp agent của bạn giữ gọn kho ghi nhớ kiểu Obsidian, với liên kết wiki hoạt động tốt, thuộc tính nhất quán và các phần tự tạo an toàn.
wiki-maintainer
394kGiúp agent của bạn duy trì wiki bộ nhớ OpenClaw với các trang có thể lặp lại, khối được quản lý an toàn và kiểm tra mâu thuẫn hoặc thiếu sót.
obsidian
394kCho phép agent của bạn đọc, tìm, tạo và sửa ghi chú, công việc, liên kết và thuộc tính trong Obsidian bằng dòng lệnh Obsidian chính thức.