[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M758JG982ZSH1QKGSJ5NCKRC":3,"skill-same:01M758JG982ZSH1QKGSJ5NCKRC":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M758JG982ZSH1QKGSJ5NCKRC","terminal-emulator-config",null,"Diagnose terminal input issues and review emulator configs.","lukemcqueen\u002Fsteadfaste-fleet","lukemcqueen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F405240?v=4","01M757MHPAGRXTJAT46SKZP98R","Luke McQueen","01M757MHPZ573KP8DT9GB8SBQ7",4,"MIT","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fterminal-emulator-config\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: terminal-emulator-config\ndescription: \"Diagnose terminal input issues and review emulator configs.\"\nversion: 1.0.0\ncategory: devops\nplatforms: [linux, macos]\n---\n\n# Terminal Emulator Config Review & Input Troubleshooting\n\n## When to use\n- User reports keys\u002Fcharacters not working in a terminal (capital letters, special chars, Alt\u002FOption combos, Ctrl+Shift combos)\n- User asks to review a terminal emulator config (Ghostty, kitty, iTerm2, WezTerm, Alacritty)\n- \"X doesn't work in the terminal\" where the terminal config is suspect\n\n## Core mechanisms (verified against Ghostty docs + upstream discussions 2026-08)\n\n### 1. Keybinds consume input by default\nOfficial keybind docs: *\"By default, a keybind will consume the input, meaning that the associated encoding (if any) will not be sent to the running program.\"*\n- A wall of `keybind = ctrl+shift+...` \u002F `alt+...` lines makes those combos dead in every app.\n- The **kitty keyboard protocol does NOT override emulator keybinds** (Ghostty discussion #9368) — Ghostty's own binds swallow the event first. Apps that distinguish Shift+Ctrl+X from Ctrl+X (Neovim, vim with modifyOtherKeys, Helix, fish, readline 8+, prompt_toolkit CLIs like Hermes) lose the bound combos.\n- Fix pattern: `keybind = performable:ctrl+shift+c=copy_to_clipboard` — only consumes when there is a selection; otherwise the key passes through to the app. Standard fix for copy\u002Fpaste binds.\n\n### 2. macOS Option\u002FAlt handling\n- `macos-option-as-alt` **defaults to true on U.S. Standard and U.S. International layouts** — Option+letter sends Alt+escapes instead of macOS special characters (Option+u dead-key → ä\u002Fö\u002Fü broken). Ghostty discussion #6005: \"None of the characters invoked with Alt+[character] is printed.\"\n- **Alt+Shift+key macOS system shortcuts don't fire inside Ghostty at all**, even with `keybind = clear` (#3622) — Ghostty swallows the events.\n- If macOS special characters are wanted: `macos-option-as-alt = false`.\n\n### 3. TERM overrides degrade key protocols\n- Ghostty's default `term` is `xterm-ghostty`, deliberately xterm-prefixed because **vim uses the xterm prefix to enable modifyOtherKeys** (config reference, \"HACK\" note).\n- Overriding `term = xterm-256color` degrades enhanced key reporting and protocol negotiation in vim\u002Ffish\u002Ftmux. Keep the native TERM; for SSH use the built-in conversion (Ghostty `shell-integration-features = ssh-env` auto-converts to xterm-256color remotely) instead of a global override.\n\n### 4. Platform-specific keys\n- Linux\u002FGTK keys (`gtk-*`, `linux-cgroup-*`) are ignored with warnings on macOS; `quick-terminal-*` is macOS-only. Cosmetic noise, not fatal — but a Linux config pasted onto macOS is the #1 source of \"why is my config wrong\" questions. Always confirm the actual platform first.\n\n### 5. Duplicate settings: later line wins\n- Repeated single-value keys: last occurrence wins (`clipboard-read = ask` then `allow` → allow).\n- Watch physical-key collisions: on a US layout `+` IS Shift+`=`, so `ctrl+plus` and `ctrl+shift+equal` are the same trigger — later line silently wins.\n- Exception: repeated `font-family` is a **fallback chain** (primary + fallbacks), NOT last-wins. Verify before claiming.\n\n### 6. Common app-chord collisions to look for\n- `ctrl+0` → Emacs digit-argument \u002F NUL — eaten by font-reset binds\n- `ctrl+minus` → readline undo (C-_) — eaten by font-shrink binds\n- `ctrl+shift+left\u002Fright\u002Fup\u002Fdown` → macOS text selection + tab\u002Fprompt-nav conflicts\n- `ctrl+shift+c\u002Fv` → vim\u002FNeovim copy\u002Fpaste patterns\n\n### 7. Paste protection ≠ input broken\n- `clipboard-paste-protection = true` shows a confirmation dialog for unsafe pastes — users perceive this as \"special characters don't work\" when pasting. Always ask whether the failure is typing or pasting.\n\n## Workflow\n1. Ask WHERE it fails: plain shell, vim\u002Fneovim, or a specific app (Hermes CLI, etc.). Plain Shift+letter in a bare shell CANNOT be broken by terminal config — check keyboard layout\u002FIME\u002FCaps Lock instead.\n2. Use the emulator's own listing tools: `ghostty +list-keybinds`, `ghostty +list-keybinds --default`, `ghostty +list-themes`, `ghostty +list-fonts`.\n3. Grep the config for: keybind walls, term overrides, platform-mismatched keys, duplicates, physical-key collisions.\n4. Verify claims against the emulator's current docs before asserting (docs change — e.g. Ghostty renamed themes to Title Case in 1.2.0).\n\n## Pitfalls\n- Don't blame the terminal for plain-letter typing failures (layout\u002FIME territory).\n- Don't claim \"font-family last-wins\" — it's a fallback chain.\n- Don't forget `performable:` — the standard fix for binds that shouldn't swallow app keys.\n- Duplicate keybinds don't error — later silently wins.\n\n## References\n- `references\u002Fghostty-macos.md` — verified Ghostty config-reference quotes, GH discussion findings (#6005, #3622, #9368), and the macOS config-review checklist from the 2026-08 session.\n","# Terminal Emulator Config Review & Input Troubleshooting\n\n## When to use\n- User reports keys\u002Fcharacters not working in a terminal (capital letters, special chars, Alt\u002FOption combos, Ctrl+Shift combos)\n- User asks to review a terminal emulator config (Ghostty, kitty, iTerm2, WezTerm, Alacritty)\n- \"X doesn't work in the terminal\" where the terminal config is suspect\n\n## Core mechanisms (verified against Ghostty docs + upstream discussions 2026-08)\n\n### 1. Keybinds consume input by default\nOfficial keybind docs: *\"By default, a keybind will consume the input, meaning that the associated encoding (if any) will not be sent to the running program.\"*\n- A wall of `keybind = ctrl+shift+...` \u002F `alt+...` lines makes those combos dead in every app.\n- The **kitty keyboard protocol does NOT override emulator keybinds** (Ghostty discussion #9368) — Ghostty's own binds swallow the event first. Apps that distinguish Shift+Ctrl+X from Ctrl+X (Neovim, vim with modifyOtherKeys, Helix, fish, readline 8+, prompt_toolkit CLIs like Hermes) lose the bound combos.\n- Fix pattern: `keybind = performable:ctrl+shift+c=copy_to_clipboard` — only consumes when there is a selection; otherwise the key passes through to the app. Standard fix for copy\u002Fpaste binds.\n\n### 2. macOS Option\u002FAlt handling\n- `macos-option-as-alt` **defaults to true on U.S. Standard and U.S. International layouts** — Option+letter sends Alt+escapes instead of macOS special characters (Option+u dead-key → ä\u002Fö\u002Fü broken). Ghostty discussion #6005: \"None of the characters invoked with Alt+[character] is printed.\"\n- **Alt+Shift+key macOS system shortcuts don't fire inside Ghostty at all**, even with `keybind = clear` (#3622) — Ghostty swallows the events.\n- If macOS special characters are wanted: `macos-option-as-alt = false`.\n\n### 3. TERM overrides degrade key protocols\n- Ghostty's default `term` is `xterm-ghostty`, deliberately xterm-prefixed because **vim uses the xterm prefix to enable modifyOtherKeys** (config reference, \"HACK\" note).\n- Overriding `term = xterm-256color` degrades enhanced key reporting and protocol negotiation in vim\u002Ffish\u002Ftmux. Keep the native TERM; for SSH use the built-in conversion (Ghostty `shell-integration-features = ssh-env` auto-converts to xterm-256color remotely) instead of a global override.\n\n### 4. Platform-specific keys\n- Linux\u002FGTK keys (`gtk-*`, `linux-cgroup-*`) are ignored with warnings on macOS; `quick-terminal-*` is macOS-only. Cosmetic noise, not fatal — but a Linux config pasted onto macOS is the #1 source of \"why is my config wrong\" questions. Always confirm the actual platform first.\n\n### 5. Duplicate settings: later line wins\n- Repeated single-value keys: last occurrence wins (`clipboard-read = ask` then `allow` → allow).\n- Watch physical-key collisions: on a US layout `+` IS Shift+`=`, so `ctrl+plus` and `ctrl+shift+equal` are the same trigger — later line silently wins.\n- Exception: repeated `font-family` is a **fallback chain** (primary + fallbacks), NOT last-wins. Verify before claiming.\n\n### 6. Common app-chord collisions to look for\n- `ctrl+0` → Emacs digit-argument \u002F NUL — eaten by font-reset binds\n- `ctrl+minus` → readline undo (C-_) — eaten by font-shrink binds\n- `ctrl+shift+left\u002Fright\u002Fup\u002Fdown` → macOS text selection + tab\u002Fprompt-nav conflicts\n- `ctrl+shift+c\u002Fv` → vim\u002FNeovim copy\u002Fpaste patterns\n\n### 7. Paste protection ≠ input broken\n- `clipboard-paste-protection = true` shows a confirmation dialog for unsafe pastes — users perceive this as \"special characters don't work\" when pasting. Always ask whether the failure is typing or pasting.\n\n## Workflow\n1. Ask WHERE it fails: plain shell, vim\u002Fneovim, or a specific app (Hermes CLI, etc.). Plain Shift+letter in a bare shell CANNOT be broken by terminal config — check keyboard layout\u002FIME\u002FCaps Lock instead.\n2. Use the emulator's own listing tools: `ghostty +list-keybinds`, `ghostty +list-keybinds --default`, `ghostty +list-themes`, `ghostty +list-fonts`.\n3. Grep the config for: keybind walls, term overrides, platform-mismatched keys, duplicates, physical-key collisions.\n4. Verify claims against the emulator's current docs before asserting (docs change — e.g. Ghostty renamed themes to Title Case in 1.2.0).\n\n## Pitfalls\n- Don't blame the terminal for plain-letter typing failures (layout\u002FIME territory).\n- Don't claim \"font-family last-wins\" — it's a fallback chain.\n- Don't forget `performable:` — the standard fix for binds that shouldn't swallow app keys.\n- Duplicate keybinds don't error — later silently wins.\n\n## References\n- `references\u002Fghostty-macos.md` — verified Ghostty config-reference quotes, GH discussion findings (#6005, #3622, #9368), and the macOS config-review checklist from the 2026-08 session.\n",{"name":5,"version":24,"category":25,"platforms":26,"description":7},"1.0.0","devops",[27,28],"linux","macos","main","2e6aa8d15ab0a366c90be54f61bf9c6e97015e83","skills\u002Fdevops\u002Fterminal-emulator-config",1,"https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet","steadfaste.com","https:\u002F\u002Fgithub.com\u002Flukemcqueen","AI Architect | Building Hermes Cortex: governed multi-agent AI for autonomous software engineering | Enterprise Tech Consultant","2026-11-14 22:33:34",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add lukemcqueen\u002Fsteadfaste-fleet --skill terminal-emulator-config",{"tool":44,"command":45},"bunx","bunx skills add lukemcqueen\u002Fsteadfaste-fleet --skill terminal-emulator-config",{"tool":47,"command":48},"pnpm","pnpm dlx skills add lukemcqueen\u002Fsteadfaste-fleet --skill terminal-emulator-config","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fterminal-emulator-config\u002FSKILL.md",true,[52],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fghostty-macos.md","REFERENCE","参考文档",4649,"https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fterminal-emulator-config\u002Freferences\u002Fghostty-macos.md",[59,67,74,81,88,95],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":66},"01M7DXY4G8NSVB59K8B6S2AQNP","macbook-linux-maintenance","Legacy MacBook Linux fixes: GPU wedge, reboot hang, thermal.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fmacbook-linux-maintenance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":66},"01M7DXXYJCXFJ3TGB84ZQ8KFE6","governance-regression-triage","Triage a host's governance issues: what changed.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fgovernance-regression-triage\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":66},"01M7DXXSAP1G8FDRJAMXQGBBMK","enforcement-immutability","Use when enforcement files lose their immutable flag.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fenforcement-immutability\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":66},"01M78SSDQVRYX64Y16X32TC0NS","steadfaste-fleet-repo-deploy","Use when committing to the steadfaste-fleet repo.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-repo-deploy\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":66},"01M78SS928F3R2RJAYVW4E30CE","steadfaste-fleet-maintenance","Maintain an installed Steadfaste Fleet instance — update both the upstream Hermes Agent and the fleet repo layer, merge diverged histories, sync skills safely, and troubleshoot common issues. Covers the dual-update workflow (hermes update + fleet-update.sh), encrypted brain data backup, mycortex import, and recovery techniques.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-maintenance\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":66},"01M78SP1CHW0T0BWE5ZT6JBPX8","fleet-preflight","DEPRECATED alias — merged into survey-before-action (2026-08-20). Load survey-before-action instead; its \"Repo-Specific Pre-Flight\" section covers git search, Hermes boundary, and deployment verification.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Ffleet-preflight\u002FSKILL.md",[],[]]