Bashguy — Development skill for Claude Code
A shell widget that generates bash commands from natural language using Claude.
How to install Bashguy
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mattn/bashguy and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Bashguy does
A shell widget that generates bash commands from natural language using Claude.
Alternatives in Development
- Internet Court Skill — The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 4.9k ★
- Auto — Smart router - Single entry point with natural language intent detection 2.8k ★
- Shortcuts Playground Plugin — Shortcuts Playground: A Claude Code and Codex plugin for building, validating, signing, and remixing macOS/iOS 1.1k ★
README
bashguy
A shell widget that generates bash commands from natural language using Claude.
https://github.com/user-attachments/assets/f7d73d76-d7c5-437c-9ac9-8633795f8e3a
Type what you want to do in plain English, and Claude generates the command and inserts it into your command line. If there's already partial input, it inserts a completion at the cursor position.
Requirements
- Claude Code CLI (
claudecommand) - Bash
Installation
Add the following to your `.bashrc`:
source /path/to/bashguy.sh
Key Binding
No key binding is set by default. Add a `bind` command after sourcing the script in your `.bashrc`:
source /path/to/bashguy.sh
bind -x '"\C-g": _bashguy_widget'
Examples
| Key | bind command |
|---|---|
| Ctrl+G | bind -x '"\C-g": _bashguy_widget' |
| Ctrl+J | bind -x '"\C-j": _bashguy_widget' |
| Ctrl+X Ctrl+G | bind -x '"\C-x\C-g": _bashguy_widget' |
Usage
- Press your bound key to get a
[bashguy]prompt - Describe what you want to do (e.g.,
count the number of files in the current directory) - Claude generates the command and inserts it into your command line
If you press the key with partial input on the command line, it inserts a completion at the cursor position.
Changing the Model
Set the `BASHGUY_MODEL` environment variable to use a different model. The default is `claude-sonnet-4-20250514`.
export BASHGUY_MODEL=claude-haiku-4-5-20251001
License
MIT
Author
Yasuhiro Matsumoto (a.k.a. mattn)
Related Skills
Claude Memory Reminder
Persistent tiered memory & reminder notebook skill for Claude Code and codex. Zero-dependency bash hook, multi
Hey CLI
hey — natural language shell commands with personality. Speaks Claude, Codex, and OpenRouter.
Zsh Claude Enhancer
A ZSH plugin that transforms natural language into shell commands using Claude Code.
Bash Code Standarts
Bash/Shell Scripting Standards
Cc Completion
Shell completion scripts for Claude Code CLI - tab completion for commands, options, and arguments in bash, zs
Narthex
Prompt-injection defenses for Claude Code. A PreToolUse Bash hook blocks compositional credential-exfiltration
Related Agents
Bash Script Craftsman
Bash script specialist following style.ysap.sh conventions. Use for writing, reviewing, or refactoring shell s
Bash Shell Scripting
Use this agent when you need to develop, debug, or optimize bash scripts and shell automation. This includes s
AGENTS.md — Post-Compact Reminder For Claude Code
Guidelines for AI coding agents working in this Bash/Shell codebase. ---