·tts-error-reporting
</>

tts-error-reporting

Convention for reporting errors from multiprocessing TTS workers to the main process frontend. Use this skill when modifying, adding, or debugging TTS workers in tts_client.py to ensure connection errors, quotas, and API limits correctly display Toast notifications to the user rather than failing silently.

17Installs·2Trend·@project-n-e-k-o

Installation

$npx skills add https://github.com/project-n-e-k-o/n.e.k.o --skill tts-error-reporting

How to Install tts-error-reporting

Quickly install tts-error-reporting AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/project-n-e-k-o/n.e.k.o --skill tts-error-reporting
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: project-n-e-k-o/n.e.k.o.

SKILL.md

View raw

To ensure users are properly notified when a TTS service encounters an error (such as quota exhaustion, API issues, or connection failures), TTS workers running in separate processes must propagate errors back to the main process (core.py).

When a TTS worker (e.g. steprealtimettsworker, qwenrealtimettsworker, etc.) catches an error, it MUST NOT only log the error using logger.error(). It MUST ALSO send the error message back to the main process through its responsequeue using the explicit tuple format ("error", errormsg).

This ensures that core.py's ttsresponsehandler can intercept the error and translate it into a frontend WebSocket message (type: 'status'), triggering a user-friendly Toast notification (e.g., "💥 免费TTS限额已耗尽").

Convention for reporting errors from multiprocessing TTS workers to the main process frontend. Use this skill when modifying, adding, or debugging TTS workers in tts_client.py to ensure connection errors, quotas, and API limits correctly display Toast notifications to the user rather than failing silently. Source: project-n-e-k-o/n.e.k.o.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/project-n-e-k-o/n.e.k.o --skill tts-error-reporting
Category
</>Dev Tools
Verified
First Seen
2026-03-08
Updated
2026-03-10

Browse more skills from project-n-e-k-o/n.e.k.o

Quick answers

What is tts-error-reporting?

Convention for reporting errors from multiprocessing TTS workers to the main process frontend. Use this skill when modifying, adding, or debugging TTS workers in tts_client.py to ensure connection errors, quotas, and API limits correctly display Toast notifications to the user rather than failing silently. Source: project-n-e-k-o/n.e.k.o.

How do I install tts-error-reporting?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/project-n-e-k-o/n.e.k.o --skill tts-error-reporting Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/project-n-e-k-o/n.e.k.o