LIVE · ggprompts.github.io/claude-code-cheatsheet

claude-code-cheatsheet

"Started as a 2nd monitor cheat sheet because I have the memory of a goldfish."

An interactive WSL and Claude Code quick reference. Click-to-copy commands, localStorage personalization, and zero dependencies. Pure HTML, pure utility.

8 Stars
6 Forks
100% HTML
86 KB Total Size
Created Jul 9, 2025 Single HTML File No Dependencies
Click to Copy
The core interaction -- every command is one click away from your clipboard. Try it.
claude-code-cheatsheet
claude --version
Check Claude Code version
claude config set theme dark
Set dark theme
wsl --list --verbose
List WSL distributions
ssh-keygen -t ed25519 -C "your@email.com"
Generate SSH key
$ ssh yourname@remote-server.dev
Deliberately Simple
HTML 100%
Inline CSS
Inline JavaScript
localStorage API
Clipboard API
GitHub Pages
click-to-copy pattern
<!-- The entire interaction model in 10 lines --> <div class="cmd" onclick="copyToClipboard(this)"> <code>claude --version</code> <button>Copy</button> </div> <script> function copyToClipboard(el) { const text = el.querySelector('code').textContent; navigator.clipboard.writeText(text); el.querySelector('button').textContent = 'Copied!'; } </script>
Categorized Reference
Every command organized by context, so you can find what you need in seconds.
Claude Code
Core CLI commands, configuration, model selection, and conversation management.
Primary section
🐧
WSL Integration
Distribution management, file system bridges, networking, and Windows interop.
WSL2 focused
Terminal Operations
Shell navigation, file management, process control, and environment setup.
Daily drivers
💻
Dev Tools
Git workflows, Node.js/npm, Python/pip, SSH key management, and more.
git / node / python / ssh
📡
Tmux
Session management, window splits, detach/attach, and keybindings reference.
Terminal multiplexer
🌐
Network & System
Port scanning, DNS lookup, system monitoring, disk usage, and diagnostics.
Sysadmin essentials
Deceptively Capable
Click-to-Copy Everywhere
Every command on the page is clickable. One tap copies to clipboard with visual feedback. No selecting, no Ctrl+C fumbling.
Username Personalization
Enter your username once, and every SSH/git/config command on the page updates with your name. Stored in localStorage -- persists across sessions.
Custom Command Persistence
Add your own frequently-used commands. They are saved to localStorage and appear alongside the built-in ones.
Mobile-Friendly Dark Theme
Works on phone screens for quick reference while SSH'd from a mobile terminal. The dark theme saves battery on OLED.
Zero Dependencies
One HTML file. No npm, no build, no framework. Opens in any browser, works offline, loads instantly.
What This Project Taught
"Pure HTML can be powerful. localStorage for personalization. The goldfish memory quote resonated with people."
Simplicity wins -- A single HTML file with no dependencies got 8 stars and 6 forks. People forked it to customize their own command sets. The constraint was the feature.
localStorage is underrated -- Username personalization and custom commands via localStorage turned a static page into something that felt personal. No backend required.
Honesty connects -- "Memory of a goldfish" became the project's identity. Being genuine about why you build something makes people relate to it.