Claude Code mod
mode-keys
Adds the key that switches modes to the mode labels in the prompt footer, so you can leave a mode you forgot you were in
Install
git clone https://github.com/MatheusChiodi/cockpit.git
claude --plugin-dir ./cockpit/mods/mode-keysThe repo has no marketplace file, so load the plugin folder directly with --plugin-dir.
What it can access
- Reach
- L1Reads: reads mod state
- Draws in
SessionMode- Hooks
ui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- MatheusChiodi/cockpit
- Folder
mods/mode-keys- Author
- Matheus Chiodi
- Type
- Workflow mods
- License
- MIT
- Last updated
- 18 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is mode-keys?
Adds the key that switches modes to the mode labels in the prompt footer, so you can leave a mode you forgot you were in It is a mod for Claude Code, from MatheusChiodi/cockpit on GitHub.
What can the mode-keys mod access?
Its widest reach is "reads" (reads mod state). It draws in SessionMode. Like any mod, it runs with your permissions.
How do I install mode-keys?
Clone MatheusChiodi/cockpit and start Claude Code with --plugin-dir pointing at the mod's folder (mods/mode-keys).
Is mode-keys popular?
MatheusChiodi/cockpit has 1 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 18 October 2026.
More workflow mods
license-checker
3Plagemes/claude-mods
Warns when a dependency with a copyleft license (GPL, AGPL) lands in a permissively licensed project.
show-paths
1MDmubarak786/claude-mods
Put the file path on every Read, Edit, Write, Glob, and Grep row in the transcript, so you never expand a row just to learn which file it touched.
red-green
1MDmubarak786/claude-mods
Run the project's tests after any turn that edited files, print pass or fail under Claude's answer, and send the failure back to Claude with one /fix command.
loop-breaker
3Plagemes/claude-mods
Stops Claude when it repeats the same failing command three times and suggests a different approach.
undo-agent
1MDmubarak786/claude-mods
Undo the file edits a subagent made. /rewind restores your own turns, but not a subagent's edits; this snapshots them and puts the files back with one command.
copy-last
1MDmubarak786/claude-mods
Copy Claude's last reply, or its last code block, to the clipboard as clean Markdown with /copy, with no terminal indentation or trailing spaces.
Browse the most popular Claude Code mods, all workflow mods, or the skills and MCP server directories.