the-jay-schwartz

Claude Code.Fish — Development skill for Claude Code

Development community

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 login or ANTHROPIC_API_KEY in 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