跳到主要内容
知仓学习社ZHICANG

wispr-fix

Queue and batch-apply Wispr Flow dictation corrections. Use when the user invokes /wispr-fix or writes "wispr fix: X -> Y" to correct a speech-to-te…

不碰外部(只输出文字)无严重或高危命中glebis/claude-skills

它会碰到什么

扫了多少2 个文本文件,23 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Wispr Fix: Dictation Correction Queue

Queue dictation corrections instantly during work. Apply them all at once when convenient.

Invocation Patterns

Explicit add

User says: /wispr-fix "Clauthe Code" "Codex"

Action: Run the add command.

Auto-detect pattern

User writes: wispr fix: X -> Y

Action: Parse X and Y, run the add command.

Flush / dry-run / list

User says: /wispr-fix flush, /wispr-fix dry-run, /wispr-fix list

Action: Run the corresponding command.

Commands

All commands use the script at ~/.Codex/skills/wispr-fix/scripts/wispr-fix.sh.

Queue a correction

~/.Codex/skills/wispr-fix/scripts/wispr-fix.sh add "<mishear>" "<correction>"

Use --exact to skip case variant generation (auto-applied for single words).

List pending corrections

~/.Codex/skills/wispr-fix/scripts/wispr-fix.sh list

Remove a queued correction

~/.Codex/skills/wispr-fix/scripts/wispr-fix.sh remove "<mishear>"

Supports fuzzy matching on the mishear string.

Preview what flush will do

~/.Codex/skills/wispr-fix/scripts/wispr-fix.sh dry-run

Apply all queued corrections

~/.Codex/skills/wispr-fix/scripts/wispr-fix.sh flush

Options: --force-quit (force-kill Wispr if graceful quit fails), --no-restart (don't restart Wispr after).

IMPORTANT: Flush will quit Wispr Flow, apply all corrections to the SQLite database, and restart it. Always inform the user before running flush.

Restore from backup

~/.Codex/skills/wispr-fix/scripts/wispr-fix.sh restore latest

Argument Parsing

When the user invokes /wispr-fix with arguments:

| Input | Action |

|-------|--------|

| "X" "Y" or X Y (two quoted/unquoted args) | add "X" "Y" |

| flush | flush |

| flush --force-quit | flush --force-quit |

| dry-run | dry-run |

| list | list |

| remove "X" | remove "X" |

| restore latest | restore latest |

| (no args) | list (show current queue) |

Auto-Detect Pattern

When you see wispr fix: X -> Y in user text (the wispr fix: prefix is required):

  1. Parse X (everything between wispr fix: and ->)
  2. Parse Y (everything after ->)
  3. Trim whitespace from both
  4. Run add "X" "Y"
  5. Confirm to the user: "Queued: 'X' -> 'Y'"

Notes

  • Corrections are queued instantly — no Wispr restart needed
  • Flush quits Wispr, backs up DB, applies corrections, verifies integrity, exports dictionary, restarts Wispr
  • The queue persists between sessions at ~/.Codex/skills/wispr-fix/queue.jsonl
  • Applied corrections are logged in queue.applied.jsonl
  • Backups are stored in ~/Library/Application Support/Wispr Flow/backups/ (last 10 retained)

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。