Skip to content
Entertainment
Skill

/koe-setup

Guide users through Koe's initial setup and ongoing configuration, including installation, ASR/LLM credential setup, personalized dictionary generation, system prompt customization, and hotkey configuration.

BOOST
From plugin
koe
4441 skill
Install
$ npx -y skills add missuo/koe --skill koe-setup --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/koe-setup

Context preview

The summary Claude sees to decide when to auto-load this skill.

Guide users through Koe's initial setup and ongoing configuration, including installation, ASR/LLM credential setup, personalized dictionary generation, system prompt customization, and hotkey configuration.

SKILL.md

koe-setup.SKILL.md
name: koe-setup
description: Guide users through Koe's initial setup and ongoing configuration, including installation, ASR/LLM credential setup, personalized dictionary generation, system prompt customization, and hotkey configuration.

Koe Setup & Configuration

Guide the user through Koe's initial setup and ongoing configuration. This skill helps with installation, credential setup, personalized dictionary generation, system prompt customization, and hotkey configuration.

Configuration Files

All config files live in `~/.koe/` and are auto-generated on first launch:

~/.koe/
├── config.yaml          # Main configuration (ASR, LLM, feedback, hotkey)
├── dictionary.txt       # User dictionary (hotwords + LLM correction terms)
├── system_prompt.txt    # LLM system prompt (correction rules)
└── user_prompt.txt      # LLM user prompt template (usually no need to change)

Workflow

Step 1: Check Installation Status

Check if Koe is installed and if `~/.koe/` exists:

# Check if config directory exists
ls -la ~/.koe/

# Check if Koe.app is installed
ls /Applications/Koe.app 2>/dev/null || mdfind "kGMDItemDisplayName == 'Koe'" -onlyin /Applications -onlyin ~/Applications

If not installed, guide the user:

# Option A: Homebrew (recommended)
brew install koe --cask

# Option B: Download from GitHub Releases
# https://github.com/missuo/koe/releases/latest

After installation, launch Koe once to generate default config files, then grant three permissions in System Settings > Privacy & Security: 1. **Microphone** — for audio capture 2. **Accessibility** — for auto-paste (Cmd+V simulation) 3. **Input Monitoring** — for global hotkey detection

Step 2: Configure ASR Credentials

Koe uses Doubao (豆包) ASR by ByteDance. The user needs Volcengine (火山引擎) credentials.

Ask the user: "Do you already have Volcengine (火山引擎) ASR credentials? If not, I can guide you through getting them."

Guide to get credentials: 1. Go to https://console.volcengine.com/speech/app 2. Create an app, then copy **App ID** (app_key) and **Access Token** (access_key)

Then update `~/.koe/config.yaml`:

asr:
  app_key: "<their App ID>"
  access_key: "<their Access Token>"

Step 3: Configure LLM

Koe supports any OpenAI-compatible API for text correction. Ask the user which LLM provider they use.

Common configurations:

# OpenAI
llm:
  base_url: "https://api.openai.com/v1"
  api_key: "sk-..."  # or "${OPENAI_API_KEY}"
  model: "gpt-4o-mini"

# Any OpenAI-compatible endpoint
llm:
  base_url: "https://your-provider.com/v1"
  api_key: "..."
  model: "your-model"

Recommend fast, cheap models since latency matters for voice input (gpt-4o-mini, deepseek-chat, etc.).

**Important:** The `api_key` field supports environment variable substitution with `${VAR_NAME}` syntax. If the user prefers not to put API keys in plain text config files, suggest using environment variables.

Step 4: Personalized Dictionary

This is the most impactful customization. Ask the user about their profession and domain:

> "What's your primary work domain? For example: frontend development, backend/DevOps, data science, iOS development, product management, academic research, etc. I'll generate a tailored dictionary for you."

Based on their answer, generate a comprehensive dictionary file at `~/.koe/dictionary.txt`. The dictionary serves two purposes: 1. **ASR hotwords** — improves speech recognition accuracy for these terms 2. **LLM correction context** — the LLM prioritizes these spellings

Guidelines for dictionary generation:

  • One term per line, lines starting with `#` are comments
  • Include proper capitalization (e.g., `PostgreSQL` not `postgresql`)
  • Include brand names, tools, frameworks, libraries relevant to their domain
  • Include common abbreviations and acronyms they'd use verbally
  • Include team/product-specific terms if the user mentions them
  • Group terms by category with comment headers for readability
  • Aim for 100-300 terms for a good starting dictionary

Example structure:

# Programming Languages
TypeScript
JavaScript
Python
Rust

# Frameworks & Libraries
React
Next.js
Tailwind CSS

# Cloud & Infrastructure
Cloudflare
AWS
Kubernetes
Docker

# Tools
VS Code
GitHub Actions
Terraform

# Domain-Specific Terms
# (add terms specific to user's work)

After generating, remind the user they can always add more terms later — it's just a text file.

Step 5: System Prompt Customization

The default system prompt is tuned for software developers working in mixed Chinese-English. Based on the user's profession, consider adjusting:

Read the current system prompt:

cat ~/.koe/system_prompt.txt

Possible customizations based on profession:

  • **Non-technical users**: Remove or simplify the technical term rules, add rules for their domain terminology
  • **English-only users**: Remove Chinese-specific rules (spacing, punctuation), focus on English conventions
  • **Academic/research**: Add rules for citation terms, paper-specific jargon, LaTeX terms
  • **Medical/legal**: Add domain-specific formatting rules

Only modify the system prompt if the user's needs clearly differ from the defaults. The default prompt works well for most developer use cases.

**Important:** The `user_prompt.txt` template usually does not need changes. Only modify it if the user has specific needs for the prompt structure.

Step 6: Hotkey Configuration

By default, Koe uses the **Fn** key. If the user wants a different trigger key, explain the available options:

hotkey:
  # Options: fn | left_option | right_option | left_command | right_command
  trigger_key: "fn"

| Option | Key | Notes | |--------|-----|-------| | `fn` | Fn/Globe key | Default. Works on all Mac keyboards | | `left_option` | Left Option | Good alternative if Fn is remapped | | `right_option` | Right Option | Least likely to conflict with shortcuts | | `left_command` | Left Command | May conflict wi

Read more
Ships withkoe

A background-first macOS voice input tool. Press a hotkey, speak, and the corrected text is pasted into whatever app you're using. For more information, visit the documentation at koe.li.

Get the whole plugin
Stats
444
Stars
52
Forks
Active
Maintenance
Objective-C
Language
MIT
License
18d ago
Last commit
6mo ago
Created
3h ago
Added

Repo: missuo/koe