Huck — Development skill for Claude Code
A Bash compatible shell written in Rust by Claude.
How to install Huck
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jdstanhope/huck and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Huck does
A Bash compatible shell written in Rust by Claude.
Alternatives in Development
- OpenAI Codex CLI — (Rust implementation) 67.8k ★
- Ralphy — My Ralph Wiggum setup, an autonomous bash script that runs Claude Code, Codex, OpenCode, Cursor agent, Qwen & 2.8k ★
- Zerostack — Lightweight coding agent written in Rust, optimized for memory footprint and performance 1.7k ★
README
huck
A bash-compatible shell written in Rust, working toward being a drop-in replacement for everyday interactive and scripting use. huck implements most of bash's surface — expansions, control flow, functions, arrays, job control, line editing, programmable completion — and verifies it against real bash: every feature ships with a design spec, an implementation plan, a test suite, and a **byte-identical bash-diff harness** that runs the same fragments through both shells and asserts identical output.
Real-world bar: huck sources a non-trivial `~/.bashrc` (bash-completion, git prompt, nvm, mise activation) and drives interactive tab completion against the system `bash-completion` package.
Installation
**Homebrew (macOS/Linux):**
brew install jdstanhope/huck/huck
**Debian/Ubuntu (.deb):**
curl -fsSL https://raw.githubusercontent.com/jdstanhope/huck/main/scripts/install.sh | sh
# or, manually:
sudo apt install ./huck__.deb
**From source:**
cargo install --git https://github.com/jdstanhope/huck huck
Status
Actively developed, one coherent feature at a time. Current scope:
- ~3,400 tests (unit + integration) and 160 bash-diff harnesses, all
green;
cargo clippy --all-targetsclean. - Command-substitution-heavy scripts run at near-bash speed: per-
$()Shell clone is O(1) via copy-on-write (Rc + make_mut); 2000×$(true)after loading nvm: ~0.7 s vs ~46 s pre-fix;nvm lswall-clock now matches bash. - Sources
~/.bashrc-class startup files and the systembash-completionframework without errors. - Known gaps and actionable divergences are tracked as GitHub issues labelled `divergence`; deliberate, kept-by-design divergences live in `docs/bash-divergences.md` — see Known differences from bash below for the summary.
The full feature history (every iteration's spec and plan) lives
Related Skills
Bash Code Standarts
Bash/Shell Scripting Standards
Bashguy
A shell widget that generates bash commands from natural language using Claude
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
Review Bash
Read-only review of all Bash / shell scripts in the project
Nanopi
Tiny Rust port of Pi — a ~4 MB statically-linked coding agent CLI for old/low-resource Linux boxes. OpenAI + A
Related Agents
Bash Scripter
Use this agent when you need to write or fix bash/shell scripts — entrypoints, setup scripts, statusline scrip
Bash32 Portability Reviewer
Reviews Mole shell and Bats diffs against the current macOS Bash 3.2, errexit, timeout, TTY, BSD-tool, and CI-
Bash Script Craftsman
Bash script specialist following style.ysap.sh conventions. Use for writing, reviewing, or refactoring shell s