Claude Code.Fish — Development skill for Claude Code
Claude in your fish prompt: ask, explain, and Ctrl+X / Alt+E key bindings that turn natural language into shell commands.
How to install Claude Code.Fish
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the-jay-schwartz/claude-code.fish and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code.Fish does
Claude in your fish prompt: ask, explain, and Ctrl+X / Alt+E key bindings that turn natural language into shell commands. Wraps the Claude Code CLI, no extra deps.
Alternatives in Development
- Pi Reserved Keybindings — Extensions cannot override these shortcuts — they are silently skipped by registerShortcut() 526 ★
- Openclaw Billing Proxy — Route OpenClaw API requests through Claude Code subscription billing instead of Extra Usage 460 ★
- Seer — Ask natural language questions about your Sentry environment and get detailed insights using the Sentry MCP se 139 ★
README
claude-code.fish
Claude-powered helpers for your fish prompt. Ask questions, explain commands, and turn natural language into shell commands - without leaving the terminal.
All four features wrap the [`claude` CLI](https://code.claude.com/docs/en/overview) (Claude Code) in `--print` mode, so if you're already logged in with `claude auth login` there's nothing else to set up.
- Ctrl+X - describe a command in plain English, press to rewrite the line into shell.
- Alt+E - type or paste a command, press to print an explanation above it.
Features
| What | Trigger | Default model | |
|---|---|---|---|
| Ask | Terse answer to any dev/terminal question | ask |
sonnet |
| Explain | Summarize a command in natural, concise English | explain |
sonnet |
| Suggest widget | Rewrite the current line (natural language) → one shell command, in place | Ctrl+X | haiku |
| Explain widget | Explain the command at the prompt, above it (command stays intact) | Alt+E | sonnet |
Each call is one-shot: no saved session, no tools, no slash commands. Your user-level Claude settings and `CLAUDE.md` still apply, so a preference like "use `fd` instead of `find`" shapes the suggestions. Project-level settings and MCP servers are ignored.
Requirements
- fish 3.4+
- `claude` CLI installed and authenticated (either
claude auth loginorANTHROPIC_API_KEYin the environment) - Fisher to install
- No other runtime dependencies
Installation
fisher install the-jay-schwartz/claude-code.fish
Open a new shell, or run `exec fish`.
Usage
`ask`
ask how do I list files modified in the last 24 hours
ask 'what is the difference between $* and $@ in bash?'
Prints a terse answer. If the answer is a command
Related Skills
Zsh Claude Code
Claude in your zsh prompt: ask, explain, and Ctrl+X / Alt+E widgets that turn natural language into shell comm
Promptline
A prompt library on a global hotkey: copy an error, press Ctrl+Alt+V, pick a prompt, and it pastes into Claude
Claude Glm Alias
Tiny shell alias to run Claude Code on GLM 5.2 via OpenRouter — no extra tooling, just one function in your sh
Add i18n Message Key
Use when adding or changing visible copy, metadata, labels, validation messages, alt text, aria text, toasts,
Linear CLI
Linear for you and your agents. Single-file Python CLI that drives Linear from the shell or a subagent. Zero d
Hey CLI
hey — natural language shell commands with personality. Speaks Claude, Codex, and OpenRouter.
Related Agents
Vo Director
Audio/VO Director. Casting briefs, state-to-direction tables, the line sheet and set-piece scripts for the con
Kimi Ask
Use this agent when the user wants Kimi to answer a free-form question about the repository in prose — explain
Teacher Mentor
Use when the user wants to understand how a feature or piece of code actually works — after a significant impl