重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
settings-and-tuning by terrylica/cc-skills
npx skills add https://github.com/terrylica/cc-skills --skill settings-and-tuning配置 TTS 引擎、Telegram 机器人及支持基础设施的所有可调参数。所有设置均集中在 mise.toml 这个单一事实来源中。
平台 : macOS (Apple Silicon)
say 语音)| 组件 | 是否必需 | 安装方式 |
|---|---|---|
| mise | 是 | brew install mise (用于环境加载) |
| 机器人运行 | 推荐 | 更改 TTS/队列设置需要重启机器人 |
读取当前的 mise.toml 以查看所有活动设置:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
cat ~/.claude/automation/claude-telegram-sync/mise.toml
所有可配置的值都位于 [env] 部分。该文件是整个技术栈的唯一事实来源。
通过 AskUserQuestion 向用户展示配置分组。配置分组:
| 分组 | 设置项 | 描述 |
|---|---|---|
| TTS 语音 | TTS_VOICE_EN, TTS_VOICE_ZH, TTS_VOICE_SAY_EN, TTS_VOICE_SAY_ZH | 按语言选择语音 |
| TTS 语速 | TTS_SPEED | 语速乘数 |
| TTS 超时 | TTS_GENERATE_TIMEOUT_MS, TTS_SAY_TIMEOUT_MS | 生成和播放超时 |
| TTS 队列 | TTS_MAX_QUEUE_DEPTH, TTS_STALE_TTL_MS, TTS_MAX_TEXT_LEN | 队列限制和过期时间 |
| TTS 信号 | TTS_SIGNAL_SOUND | 信号声音路径(留空则禁用) |
| 速率限制 | NOTIFICATION_MIN_INTERVAL_MS, SUMMARIZER_* | 通知和摘要生成器节流 |
| 提示执行器 | PROMPT_* | 提示执行节流和熔断器 |
| 会话选择器 | SESSION_* | 会话扫描和显示限制 |
| 审计 | AUDIT_RETENTION_DAYS | 日志保留期限 |
| 模型 | HAIKU_MODEL | 用于 Agent SDK 调用的 Claude 模型 |
编辑 ~/.claude/automation/claude-telegram-sync/mise.toml 中的相应行。使用 Edit 工具对特定值进行精确更改。
# 选项 A:如果使用 mise 任务
cd ~/.claude/automation/claude-telegram-sync && mise run bot:restart
# 选项 B:手动重启
pkill -f "bun.*main.ts" && cd ~/.claude/automation/claude-telegram-sync && bun --watch run src/main.ts
1. [读取] 读取当前 mise.toml 配置
2. [识别] 通过 AskUserQuestion 向用户展示配置分组
3. [选择] 用户选择要修改的设置类别
4. [编辑] 使用新值更新 mise.toml
5. [验证] 验证值是否在有效范围内
6. [应用] 重启机器人以应用更改(如果 TTS 或队列设置已更改)
7. [验证] 确认新设置已生效
修改此技能后:
references/evolution-log.md 中更新更改描述| 问题 | 原因 | 解决方案 |
|---|---|---|
| 设置未生效 | 机器人未重启 | 更改 mise.toml 后重启机器人 |
| mise.toml 解析错误 | 无效的 TOML 语法 | 检查是否缺少引号或未转义的字符 |
| 找不到语音 | 无效的语音名称 | 检查语音目录(Kokoro 语音区分大小写) |
| 语速过快/过慢 | 值超出范围 | 对 TTS_SPEED 使用 0.5 到 2.0 的范围 |
| 熔断器卡在开启状态 | 失败次数过多 | 等待熔断器超时或重启机器人 |
| 超时时间太短 | 首次运行时 TTS 生成缓慢 | 模型预热需要更长时间;增加超时时间 |
每周安装次数
47
代码仓库
GitHub 星标数
24
首次出现
2026年2月17日
安全审计
安装于
amp46
github-copilot46
codex46
kimi-cli46
gemini-cli46
cursor46
Configure all adjustable parameters for the TTS engine, Telegram bot, and supporting infrastructure. All settings are centralized in the mise.toml SSoT.
Platform : macOS (Apple Silicon)
say voices)| Component | Required | Installation |
|---|---|---|
| mise | Yes | brew install mise (for env loading) |
| Bot running | Recommended | Changes to TTS/queue settings require bot restart |
Read the current mise.toml to see all active settings:
cat ~/.claude/automation/claude-telegram-sync/mise.toml
All configurable values live in the [env] section. The file is the single source of truth for the entire stack.
Present the config groups to the user via AskUserQuestion. Config groups:
| Group | Settings | Description |
|---|---|---|
| TTS Voice | TTS_VOICE_EN, TTS_VOICE_ZH, TTS_VOICE_SAY_EN, TTS_VOICE_SAY_ZH | Voice selection per language |
| TTS Speed | TTS_SPEED | Speech rate multiplier |
| TTS Timeouts | TTS_GENERATE_TIMEOUT_MS, TTS_SAY_TIMEOUT_MS |
Edit the appropriate line(s) in ~/.claude/automation/claude-telegram-sync/mise.toml. Use the Edit tool to make precise changes to specific values.
# Option A: If using mise tasks
cd ~/.claude/automation/claude-telegram-sync && mise run bot:restart
# Option B: Manual restart
pkill -f "bun.*main.ts" && cd ~/.claude/automation/claude-telegram-sync && bun --watch run src/main.ts
1. [Read] Read current mise.toml configuration
2. [Identify] Present config groups to user via AskUserQuestion
3. [Select] User selects setting category to modify
4. [Edit] Update mise.toml with new values
5. [Validate] Verify values are in valid range
6. [Apply] Restart bot to apply changes (if TTS or queue settings changed)
7. [Verify] Confirm new settings are active
After modifying this skill:
references/evolution-log.md with change description| Issue | Cause | Solution |
|---|---|---|
| Settings not taking effect | Bot not restarted | Restart bot after changing mise.toml |
| mise.toml parse error | Invalid TOML syntax | Check for missing quotes or unescaped chars |
| Voice not found | Invalid voice name | Check voice catalog (Kokoro voices are case-sensitive) |
| Speed too fast/slow | Value out of range | Use 0.5 to 2.0 range for TTS_SPEED |
| Circuit breaker stuck open | Too many failures | Wait for breaker timeout or restart bot |
| Timeout too short | TTS generation slow on first run | Model warmup takes longer; increase timeout |
Weekly Installs
47
Repository
GitHub Stars
24
First Seen
Feb 17, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
amp46
github-copilot46
codex46
kimi-cli46
gemini-cli46
cursor46
GitHub Actions 官方文档查询助手 - 精准解答 CI/CD 工作流问题
53,800 周安装
前端UI暗黑主题TypeScript技能 - 前端开发暗黑模式UI组件库
1 周安装
Azure Resource Manager SQL .NET SDK - 管理Azure SQL数据库的.NET开发工具包
1 周安装
Azure Resource Manager PostgreSQL .NET SDK - 管理Azure PostgreSQL数据库的.NET开发工具包
1 周安装
Azure Resource Manager DurableTask .NET - 微软Azure云服务持久任务管理开发包
1 周安装
Azure Resource Manager Cosmos DB .NET SDK - 管理Azure Cosmos DB资源的.NET开发工具包
1 周安装
Azure PostgreSQL TypeScript 技能 - 云数据库开发与部署解决方案
1 周安装
| Generation and playback timeouts |
| TTS Queue | TTS_MAX_QUEUE_DEPTH, TTS_STALE_TTL_MS, TTS_MAX_TEXT_LEN | Queue limits and staleness |
| TTS Signal | TTS_SIGNAL_SOUND | Signal sound path (empty to disable) |
| Rate Limiting | NOTIFICATION_MIN_INTERVAL_MS, SUMMARIZER_* | Notification and summarizer throttling |
| Prompt Executor | PROMPT_* | Prompt execution throttling and circuit breaker |
| Session Picker | SESSION_* | Session scanning and display limits |
| Audit | AUDIT_RETENTION_DAYS | Log retention period |
| Model | HAIKU_MODEL | Claude model for Agent SDK calls |