hotkey — hotkey installation for AI agents hotkey, kissmychat, community, hotkey installation for AI agents, ide skills, hotkey implementation in TypeScript, hotkey registration process, hotkey constant update, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for AI Agents like Cursor and AutoGPT needing customized keyboard interactions and shortcuts. hotkey is a feature that enables developers to assign custom keyboard shortcuts to specific actions in AI agents, using constants and registrations defined in TypeScript files.

Features

Updates HotkeyEnum constant in src/types/hotkey.ts to add new hotkeys
Registers default hotkeys using the HOTKEYS_REGISTRATION array in src/const/hotkeys.ts
Utilizes the combineKeys function from @lobehub/ui to define hotkey combinations
Supports hotkey groups, such as HotkeyGroupEnum.Conversation, for organized registration
Exports HotkeyRegistration type for custom hotkey definitions
Integrates with TypeScript for typed hotkey constants and registrations

# Core Topics

kissMyApps-tlm kissMyApps-tlm
[0]
[0]
Updated: 3/6/2026

Agent Capability Analysis

The hotkey skill by kissMyApps-tlm is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for hotkey installation for AI agents, hotkey implementation in TypeScript, hotkey registration process.

Ideal Agent Persona

Ideal for AI Agents like Cursor and AutoGPT needing customized keyboard interactions and shortcuts.

Core Value

Empowers agents to register custom hotkeys using HotkeyEnum and KeyMapEnum, enabling seamless keyboard interactions with combineKeys from @lobehub/ui, and updating default hotkeys in HOTKEYS_REGISTRATION.

Capabilities Granted for hotkey

Registering new hotkeys for conversation management
Updating default hotkey mappings for agent-specific tasks
Customizing keyboard shortcuts for enhanced user experience

! Prerequisites & Limits

  • Requires updating HotkeyEnum constant in src/types/hotkey.ts
  • Needs registration of default hotkeys in src/const/hotkeys.ts
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

hotkey

Install hotkey, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Adding Keyboard Shortcuts Guide

Steps to Add a New Hotkey

1. Update Hotkey Constant

In src/types/hotkey.ts:

typescript
1export const HotkeyEnum = { 2 // existing... 3 ClearChat: 'clearChat', // Add new 4} as const;

2. Register Default Hotkey

In src/const/hotkeys.ts:

typescript
1import { KeyMapEnum as Key, combineKeys } from '@lobehub/ui'; 2 3export const HOTKEYS_REGISTRATION: HotkeyRegistration = [ 4 { 5 group: HotkeyGroupEnum.Conversation, 6 id: HotkeyEnum.ClearChat, 7 keys: combineKeys([Key.Mod, Key.Shift, Key.Backspace]), 8 scopes: [HotkeyScopeEnum.Chat], 9 }, 10];

3. Add i18n Translation

In src/locales/default/hotkey.ts:

typescript
1const hotkey: HotkeyI18nTranslations = { 2 clearChat: { 3 desc: '清空当前会话的所有消息记录', 4 title: '清空聊天记录', 5 }, 6};

4. Create and Register Hook

In src/hooks/useHotkeys/chatScope.ts:

typescript
1export const useClearChatHotkey = () => { 2 const clearMessages = useChatStore((s) => s.clearMessages); 3 return useHotkeyById(HotkeyEnum.ClearChat, clearMessages); 4}; 5 6export const useRegisterChatHotkeys = () => { 7 useClearChatHotkey(); 8 // ...other hotkeys 9};

5. Add Tooltip (Optional)

tsx
1const clearChatHotkey = useUserStore(settingsSelectors.getHotkeyById(HotkeyEnum.ClearChat)); 2 3<Tooltip hotkey={clearChatHotkey} title={t('clearChat.title', { ns: 'hotkey' })}> 4 <Button icon={<DeleteOutlined />} onClick={clearMessages} /> 5</Tooltip>;

Best Practices

  1. Scope: Choose global or chat scope based on functionality
  2. Grouping: Place in appropriate group (System/Layout/Conversation)
  3. Conflict check: Ensure no conflict with system/browser shortcuts
  4. Platform: Use Key.Mod instead of hardcoded Ctrl or Cmd
  5. Clear description: Provide title and description for users

Troubleshooting

  • Not working: Check scope and RegisterHotkeys hook
  • Not in settings: Verify HOTKEYS_REGISTRATION config
  • Conflict: HotkeyInput component shows warnings
  • Page-specific: Ensure correct scope activation

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is hotkey?

Ideal for AI Agents like Cursor and AutoGPT needing customized keyboard interactions and shortcuts. hotkey is a feature that enables developers to assign custom keyboard shortcuts to specific actions in AI agents, using constants and registrations defined in TypeScript files.

How do I install hotkey?

Run the command: npx killer-skills add kissMyApps-tlm/kissmychat. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for hotkey?

Key use cases include: Registering new hotkeys for conversation management, Updating default hotkey mappings for agent-specific tasks, Customizing keyboard shortcuts for enhanced user experience.

Which IDEs are compatible with hotkey?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for hotkey?

Requires updating HotkeyEnum constant in src/types/hotkey.ts. Needs registration of default hotkeys in src/const/hotkeys.ts.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add kissMyApps-tlm/kissmychat. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use hotkey immediately in the current project.

Related Skills

Looking for an alternative to hotkey or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI