claude-stt

作者 jarrodwatts已验证

Speech-to-text input for Claude Code with live streaming dictation

364
Stars
36
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/jarrodwatts/claude-stt

快速入门

使用 claude-stt 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

🚨 This project is archived

Native voice/STT support has been officially added to Claude Code via the /voice command — use that instead. This repo is no longer maintained.


Claude STT

Speech-to-text input for Claude Code. Hold a hotkey, speak, and your words appear in the input field — all processed locally.

License Stars

Claude STT in action

Install

Inside a Claude Code instance, run the following commands:

Step 1: Add the marketplace

/plugin marketplace add jarrodwatts/claude-stt

Step 2: Install the plugin

/plugin install claude-stt

Step 3: Run setup

/claude-stt:setup

Done! Press Ctrl+Shift+Space to start recording, press again to stop and transcribe.

Note: Setup installs dependencies (uv if available, otherwise a local .venv), downloads the Moonshine model (~200MB), and checks microphone permissions.


What is Claude STT?

Claude STT gives you voice input directly into Claude Code. No typing required — just speak naturally.

What You GetWhy It Matters
Local processingAll audio processed on-device using Moonshine STT
Low latency~400ms transcription time
Push-to-talkHold hotkey to record, release to transcribe
Cross-platformmacOS, Linux, Windows
Privacy firstNo audio or text sent to external services

How It Works

Press Ctrl+Shift+Space → start recording
        ↓
Audio captured from microphone
        ↓
Press Ctrl+Shift+Space → stop recording
        ↓
Moonshine STT processes locally (~400ms)
        ↓
Text inserted into Claude Code input

Key details:

  • Audio is processed in memory and immediately discarded
  • Uses Moonshine ONNX for fast local inference
  • Keyboard injection or clipboard fallback
  • Native system sounds for audio feedback

Configuration

Customize your settings anytime:

/claude-stt:config

Options

OptionValuesDefaultDescription
hotkeyKey comboctrl+shift+spaceTrigger recording
modetoggle, push-to-talktogglePress to toggle vs hold to record
enginemoonshine, whispermoonshineSTT engine
moonshine_modelmoonshine/tiny, moonshine/base, other Moonshine model IDsmoonshine/baseModel size
output_modeauto, injection, clipboardautoHow text is inserted
sound_effectstrue, falsetruePlay audio feedback
max_recording_seconds1-600300Maximum recording duration

Settings stored in ~/.claude/plugins/claude-stt/config.toml.


Requirements

  • Python 3.10-3.13
  • ~200MB disk space for STT model
  • Microphone access

Platform-Specific

PlatformAdditional Requirements
macOSAccessibility permissions (System Settings > Privacy & Security)
Linuxxdotool for window management; X11 recommended (Wayland has limitations); WSL not supported
Windowspywin32 for window tracking

Commands

CommandDescription
/claude-stt:setupFirst-time setup: check environment, install deps, download model
/claude-stt:startStart the STT daemon
/claude-stt:stopStop the STT daemon
/claude-stt:statusShow daemon status and readiness checks
/claude-stt:configChange settings

You can also use the CLI directly:

claude-stt setup
claude-stt start --background

Troubleshooting

IssueSolution
No audio inputCheck microphone permissions in system settings
Keyboard injection not workingmacOS: Grant Accessibility permissions. Linux: Ensure xdotool installed
Model not loadingRun /claude-stt:setup to download. Check disk space (~200MB)
Hotkey test fails during setupFix permissions or rerun /claude-stt:setup --skip-hotkey-test to continue setup
Whisper dependencies missingRun /claude-stt:setup --with-whisper, or uv sync --directory $CLAUDE_PLUGIN_ROOT --extra whisper, or python $CLAUDE_PLUGIN_ROOT/scripts/exec.py -m pip install .[whisper]
Hotkey not triggeringCheck for conflicts with other apps. Try /claude-stt:config to change hotkey
Text going to wrong windowPlugin tracks original window — ensure Claude Code was focused when recording started
Running under WSLNot supported; use native Windows or Linux

Logging

Set CLAUDE_STT_LOG_LEVEL=DEBUG to get verbose logs when starting the daemon.


Privacy

All processing is local:

  • Audio captured from your microphone is processed entirely on-device
  • Moonshine runs locally — no cloud API calls
  • Audio is never sent anywhere, never stored (processed in memory, discarded)
  • Transcribed text only goes to Claude Code input or clipboard

No telemetry or analytics.


Development

git clone https://github.com/jarrodwatts/claude-stt
cd claude-stt

# Install dependencies (uv preferred, falls back to local venv)
python scripts/setup.py --dev --skip-audio-test --skip-model-download --no-start

# Test locally without installing
claude --plugin-dir /path/to/claude-stt

See CONTRIBUTING.md for guidelines.

Release Checklist

  • Bump versions in pyproject.toml, .claude-plugin/plugin.json, .claude-plugin/marketplace.json
  • Update CHANGELOG.md
  • Run tests: uv run python -m unittest discover -s tests
  • Verify onboarding in Claude Code (/plugin install, /claude-stt:setup)

License

MIT — see LICENSE


Star History

Star History Chart

常见问题

What is claude-stt?

claude-stt is an open-source ide extensions skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by jarrodwatts. Speech-to-text input for Claude Code with live streaming dictation. It has 364 GitHub stars.

Is claude-stt safe to use?

Yes. claude-stt passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install claude-stt?

Clone the repository with "git clone https://github.com/jarrodwatts/claude-stt" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is claude-stt written in?

claude-stt is primarily written in Python. It is open-source under jarrodwatts on GitHub, so you can review or fork the full source.

Are there alternatives to claude-stt?

Yes. SkillsLLM lists many other IDE Extensions skills you can browse and compare side by side. Open the IDE Extensions category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-stt against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

claudian

by YishenTu

An Obsidian plugin that embeds Claude Code/Codex as an AI collaborator in your vault

14,921972TypeScript
IDE 扩展
查看详情

OpenMythos

by kyegomez

A theoretical reconstruction of the Claude Mythos architecture, built from first principles using the available research literature.

14,8003,292Python
IDE 扩展
查看详情

cursor-hooks

by cursor

5

通过 Hooks 自动化 Cursor Agent 事件相关行为。

12,500890TypeScript
IDE 扩展claude-codeai-tools
查看详情

arscontexta

by agenticnotetaking

Claude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.

3,479220Shell
IDE 扩展
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情