Turns Claude's dictation corrections into Hex replacements, applying only those safe to every transcript.

skills.sh installs
1
GitHub stars
1
last updated
Nov 22, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full review loop: collect [heard: ... → meant: ...] tags, label occurrences, gate candidates, report, and apply on approval
  • Includes doctor, undo, stats, and schedule/unschedule subcommands for setup checks, reverting the last apply, weekly stats, and a recurring run
  • Enforces a strict gate that sends context-dependent pairs to in-context fixing instead of global replacement, since one bad replacement corrupts every use of that word
  • Designed for users of Hex 3 or Hex 2 on macOS, Linux, or Windows who want their recurring mishearings fixed in the dictation config

Install

$ npx -y skills add acnoonan/hex-upsert --skill hex-upsert -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

hex-upsert

Hex (anomalyco/hex: Hex 3 on macOS, Linux and Windows, or legacy Hex 2 on macOS) transcribes the user's speech. When Claude corrects a misheard word it writes a tag: [heard: "X" → meant: "Y"]. This skill mines those tags, checks each pair against Hex's own history, and proposes replacements that are safe to apply everywhere.

A Hex replacement is literal, case-insensitive and whole-word, with no context. One wrong replacement corrupts every real use of that word, so the gate is strict on purpose.

Scripts live in scripts/ next to this file (call that folder $S). Work in a fresh folder under the session's scratchpad or a temp dir (call it $W). Never write dictation text into a git repo. Persistent state lives in a hex-upsert folder in the OS's data folder (macOS ~/Library/Application Support, Linux ~/.local/share, Windows %APPDATA%); call it $STATE. Use python3, or python where only that exists (Windows). To see which Hex the scripts found: python3 -c "import sys; sys.path.insert(0, '$S'); import hexpaths as h; print(h.BACKEND, h.HEX_DIR, h.hex_cli())" (cli means Hex 3, file means Hex 2).

Arguments

Details

Repository
github.com/acnoonan/hex-upsert
Category
Productivity & Notes
License
MIT
First seen
Nov 22, 2026

Similar to Hex Upsert

More Productivity & Notes