SkillsGrove
SkillsGrove/영상 제작/aiagentwithdhruv/skills/whisper-voice

whisper-voice

설치

$npx skills add https://github.com/aiagentwithdhruv/skills --skill whisper-voice
$git clone --depth 1 https://github.com/aiagentwithdhruv/skills.git /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/whisper-voice ~/.claude/skills/whisper-voice
이 Agent Skill을 설치해 주세요: https://github.com/aiagentwithdhruv/skills/tree/2f4c62c203b1279e82979f2d78776ce846e5a30c/whisper-voice — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITNative macOS menu bar app for live voice-to-text with auto-type using WhisperKit on Apple Silicon
아래 SKILL.md는 aiagentwithdhruv/skills(커밋 2f4c62c)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 Dhruv Tomar (AIwithDhruv). 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

Whisper Voice — Live Speech-to-Text Mac App

Goal

Build and run a native macOS menu bar app that captures live microphone audio, transcribes it offline using WhisperKit (on Apple Silicon), and auto-types the text wherever the cursor is.

Inputs

Name Type Required Description
model_size string No Whisper model: tiny, base (default), small
language string No "en" (default) or "hi" for Hindi mode
chunk_duration float No Seconds per audio chunk (default: 3.0)

Process

1. Build the app

cd AiwithDhruv_Voice/WhisperAiwithDhruv
swift build

2. Run the app

swift run WhisperAiwithDhruv
# Or open in Xcode: open Package.swift → Cmd+R

3. First launch setup

  1. Grant microphone permission when prompted
  2. Grant Accessibility in System Settings → Privacy → Accessibility
  3. Wait for model download (~140MB for base model)

4. Usage

  • Cmd+Shift+Space — Toggle recording on/off
  • Click mic icon in menu bar for controls
  • Speak — text auto-types at cursor position
  • Toggle Hindi mode for Hindi/Hinglish input

Outputs

Name Type Description
transcribed_text string Live transcribed text typed at cursor
history array Last 50 transcription entries in menu bar

Edge Cases

  • No mic: Shows error in menu bar dropdown
  • Accessibility denied: Auto-type disabled, manual copy from history
  • Silence: VAD skips silent chunks (energy-based threshold)
  • Hallucinations: Filters common Whisper artifacts ("Thank you.", "...")
  • Model not downloaded: Shows download progress bar

Environment

  • macOS 14+ (Sonoma)
  • Apple Silicon (M1/M2/M3/M4)
  • Xcode 15+ (for building)
  • No API keys needed (fully offline)

Schema

Inputs

Name Type Required Description
model_size string No tiny / base / small
language string No en / hi
chunk_duration float No 2.0 - 8.0 seconds
silence_threshold float No 0.002 - 0.05

Outputs

Name Type Description
transcription string Live text output
auto_typed boolean Whether text was injected at cursor

Credentials

Name Source
None Fully offline, no API keys

Composable With

video-edit (add transcription captions), send-telegram (send transcriptions to phone)

Cost

Free — runs entirely on-device. Model download is one-time (~140MB for base).

라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2026 Dhruv Tomar (AIwithDhruv)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.