360 Secure SkillHub
360 安全技能中心

Keybindings Customizer

核心功能为定制Claude Code快捷键,支持修改、解绑键位及添加组合键,采用安全合并方式修改配置文件,保留原有字段及无关绑定,校验并提示系统/终端保留的快捷键冲突。典型场景包括修改外部编辑器快捷键、添加待办切换组合键等。输入为键位修改需求、现有配置文件及系统限制,输出为合并后的键位配置及冲突说明。

wimi321
wimi321
热度 31.83
最近更新 2026-05-11 17:39:34
分类:效率依赖:读写文件应用场景:数据处理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add keybindings-customizer
Metadata
name
keybindings_customizer
description
Use when the user wants to customize Claude Code keybindings, rebind shortcuts, add chords, or edit `~/.claude/keybindings.json` safely.

Keybindings Customizer

Use this skill for shortcut rebinding, unbinding, or chord creation.

Workflow

  1. Read the current keybindings file first.
  2. Merge changes instead of replacing the entire file.
  3. Keep schema and docs fields intact.
  4. Validate against reserved and non-rebindable shortcuts.
  5. Explain any conflicts or terminal-level limitations.

Guardrails

  • Never overwrite the full file blindly.
  • Preserve unrelated existing bindings.
  • Flag OS or terminal-reserved shortcuts before saving.

Example Requests

  • Rebind the external editor shortcut.
  • Add a chord to toggle todos without overwriting my keybindings file.

Inputs

  • Requested key changes
  • Existing keybindings file
  • OS or terminal constraints

Outputs

  • Merged keybinding config
  • Conflict explanations

Success Criteria

  • The file was merged, not clobbered.
  • Reserved shortcuts were handled correctly.
  • Schema and docs fields remain intact.

Non-Goals

  • Whole-file replacement for a small binding change

Source Provenance

Derived from src/skills/bundled/keybindings.ts.