bazi-skill
四柱八字命理分析。通过交互式步骤收集出生信息(姓名、曾用名、阳历/农历生日、时辰、性别、出生地), 排出四柱八字,参照经典命理典籍(穷通宝典、三命通会、滴天髓、渊海子平、子平真诠等)进行专业分析。 Use this skill whenever the…
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.
Claude Code
$ npx -y skills add missuo/koe --skill koe-setup --agent claude-code
Codex
$ npx skills add missuo/koe --skill koe-setup -a codex -y
Cursor
$ npx skills add missuo/koe --skill koe-setup -a cursor -y
Gemini CLI
$ npx skills add missuo/koe --skill koe-setup -a gemini-cli -y
GitHub Copilot
$ npx skills add missuo/koe --skill koe-setup -a github-copilot -y
OpenCode
$ npx skills add missuo/koe --skill koe-setup -a opencode -y
Windsurf
$ npx skills add missuo/koe --skill koe-setup -a windsurf -y
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.
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.
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)
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
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>"
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.
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:
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.
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:
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.
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
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.
四柱八字命理分析。通过交互式步骤收集出生信息(姓名、曾用名、阳历/农历生日、时辰、性别、出生地), 排出四柱八字,参照经典命理典籍(穷通宝典、三命通会、滴天髓、渊海子平、子平真诠等)进行专业分析。 Use this skill whenever the…
Generate, texture, rig, animate, stylize, convert, and download 3D assets for Three.js games via the Tripo API. Use for…
Use this skill when authoring or extending an Unreal Engine toolset, a class of static, AI-callable functions registered with…
Code-drawn stills, films, 3D motion graphics, explainers and web animations in 32 styles, with scores, narration and subtitles.…