360 Secure SkillHub
360 安全技能中心

Keybindings Customizer

用于定制 Claude Code 键位的 Skill:先读取现有 keybindings.json,再合并用户的改键、解绑或和弦请求,保留 schema 与其他已有绑定,检查与保留键位的冲突,并说明操作系统或终端层面的限制。

分类:自动化
wimi321
wimi321
热度 25.83
最近更新 2026-05-11 17:39:34

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add wimi321/keybindings-customizer
兼容性
Claude Code 专属
联网要求
不联网
数据出网
数据不出本机
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.