跳到正文
Skillpedia
音频与语音20k · #10448

ReadIt

它能做什么

把文字转换为语音,让你可以聆听文章、文件或助手的撰写内容。它适用于希望聆听而不是阅读的人。

适用场景

  • ✓当你想聆听一篇文章而不是阅读它的时候。
  • ✓当你想朗读助手最近的一份撰写内容的时候。
  • ✓当你需要暂停、继续或停止正在进行的朗读的时候。

技能链接

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/ReadIt/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/ReadIt/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把这篇文章读给我听,如果我需要,让我可以暂停。”

每周 5 个新技能,1 分钟读完。

工作原理

该技能会把文字切分为若干片段,在几秒内开始播放第一段,并在播放的同时生成其余部分。停止、暂停、继续和状态命令用于控制正在播放的朗读。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

ReadIt

One command turns content into the DA's voice reading it. The read starts within a few seconds regardless of length: the first chunk synthesizes, a detached player starts, and the rest synthesizes while earlier chunks play. stop, pause, resume, and status act on the running read.

Ideal State

  • The principal hears the requested content in the DA's voice within seconds, whatever its length, and the running read answers stop, pause, resume and status.
  • What plays is a faithful spoken version of the requested piece: not a summary, and not raw markup read out.
  • Nothing else speaks over the read, and a headless channel never speaks at all.

Intent Routing

Intent Trigger File
Read "read it to me", "ri", "/ri", "read this", "read your write-up", a URL or file to read Intents/Read.md
Control "stop", "pause", "resume", "where are you in the read" Intents/Read.md § Control

References

File Read when
Setup.md first-time setup: the Fish Audio account and key, the voice profile, and a read-only check

Tool contract

bun ~/.claude/skills/ReadIt/Tools/ReadIt.ts read --file <path> [--title "<title>"] [--voice <profile>]
bun ~/.claude/skills/ReadIt/Tools/ReadIt.ts read --text "<short text>"
bun ~/.claude/skills/ReadIt/Tools/ReadIt.ts stop | pause | resume | status
  • Voice: LIFEOS_CONFIG.toml [da.voices.reader] when it has a fish_reference_id, else [da.voices.main]. --voice <name> picks any [da.voices.<name>] profile that has a fish_reference_id; --voice principal uses the voice id in FISH_PRINCIPAL_VOICE_ID. Speech goes through LIFEOS/TOOLS/FishTTS.ts (Fish Audio, Drama 3 model).
  • Key: FISH_API_KEY in the env file. Never printed, never in a URL.
  • Pronunciations: LIFEOS/USER/PRINCIPAL/PRONUNCIATIONS.json, through the one LifeOS pass (LIFEOS/TOOLS/Pronounce.ts) that FishTTS runs on every chunk, homographs like "live" included.
  • Audio and state: ~/Library/Caches/LifeOS/ReadIt/<run>/ (tmpdir on other platforms). Playback is macOS afplay.
  • A headless channel (LIFEOS_NOTIFICATION_CHANNEL=headless, or no terminal identity) prints skipped: headless and exits 0. Scheduled jobs never speak.

Data & Config

User customizations live at <configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/ReadIt/ (configRoot is $CLAUDE_CONFIG_DIR when set, else ~/.claude). When it exists, its PREFERENCES.md, configurations and resources override the defaults; otherwise the defaults stand.

First-time setup (the Fish Audio key and voice, macOS playback) is in Setup.md.

Gotchas

  • This skill sends no /notify voice line. The read itself is the voice; a notification would queue in front of it and delay the start.
  • The tool strips markdown as a backstop, but a raw article is not a script. Stripped, tables read as comma lists, headers become bare fragments, and acronyms get spelled out letter by letter.
  • A new read stops the running one. There is no queue.
  • Chunks are capped at 2,400 characters and split at paragraph, then sentence, boundaries. A single-paragraph wall of text still works; it just splits by sentence.
  • Pace is the profile's fish_speed (0.5 to 2.0), sent to Fish as prosody speed. Unset means 1.0. Fish accepts at most 2,500 characters per request, which is why chunks stay under 2,400. Drama 3 tags such as [sigh] and <emphasis> pass through to the voice.
  • Source tree only: On hosts with a low open-file limit, bun test from the repo root can fail with EMFILE. In the source tree, run this skill's test path instead: bun test ./skills/ReadIt/Tools/ReadIt.test.ts. Tests do not ship in the public release.

Examples

Example 1: read what I just wrote

User: "ri"  (after the DA produced a write-up)
→ Read intent: authors a spoken script from the write-up (no tables, no URLs, no headers), writes it to a temp file
→ `ReadIt.ts read --file <tmp> --title "<subject>"`
→ Reply: title, chunk count, estimated minutes; audio is already playing

Example 2: read a URL

User: "/ri https://example.com/some-article"
→ Fetches the article, authors a spoken script of its prose, reads it

Example 3: control

User: "pause"  /  "ok keep going"  /  "stop reading"
→ `ReadIt.ts pause`  /  `resume`  /  `stop`
常见问题

它是逐字朗读吗?

它朗读的是忠实于原文的口语版本,而不是摘要,也不是原始标记。

它需要语音服务吗?

需要。它使用语音服务的账户和密钥,这些会在首次设置时配置。

它能朗读很长的文章吗?

能。无论多长,前一部分都会在几秒内开始播放。

详情

作者的原始描述

Reads content aloud in the DA's Fish Audio voice (an article, a file, pasted text, or what the DA just wrote) as one continuous read that starts within seconds and can be paused or stopped. USE WHEN read it to me, read this to me, read that aloud, read it, ri, /ri, play this, say this out loud, listen to this, read the article, read your write-up, stop reading, pause the read, resume the read. NOT FOR spoken tutorials (Teach), narrated video essays (the video-essay skill), one-line status notifications (the voice endpoint), or the phone and text lines.

repo: danielmiessler/LifeOS

热度

GitHub 星标
20k
排名
#10448
许可证
MIT
更新时间
2026/10/28

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能