1160054

Claude Code Zsh Completion — Development skill for Claude Code

Development community

Zsh completion for the Claude Code CLI — completes the sessions, MCP servers, agents and models in your own configuration.

How to install Claude Code Zsh Completion

This entry records only its repository, not the path inside it, so there is no exact command to give. Open 1160054/claude-code-zsh-completion and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Zsh Completion does

Zsh completion for the Claude Code CLI — completes the sessions, MCP servers, agents and models in your own configuration. 120+ languages.

Alternatives in Development

README

[![Test Completion](https://github.com/1160054/claude-code-zsh-completion/actions/workflows/test.yml/badge.svg)](https://github.com/1160054/claude-code-zsh-completion/actions/workflows/test.yml) [![GitHub release](https://img.shields.io/github/v/release/1160054/claude-code-zsh-completion)](https://github.com/1160054/claude-code-zsh-completion/releases) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Languages](https://img.shields.io/badge/languages-120+-blue.svg)](https://github.com/1160054/claude-code-zsh-completion/tree/main/completions)

claude-code-zsh-completion

Zsh completion for the Claude Code CLI. It reads your own configuration, so `claude --resume ` lists the sessions you can actually resume — each one labelled with what you asked in it — instead of leaving you to remember a UUID.

![Demo](demo.gif)

Features

  • Sessions, background sessions, MCP servers, agents, models and plugins completed from your own configuration, not from a fixed list
  • Completion for every claude command, subcommand and option
  • Descriptions alongside each candidate, so you can pick without leaving the prompt
  • Values completed for options that have a fixed set (--permission-mode, --output-format, …)
  • Localized into 120+ languages

Requirements

  • Zsh 5.0 or later
  • Claude Code CLI installed

Installation

[Homebrew](https://brew.sh/)

brew tap 1160054/claude https://github.com/1160054/claude-code-zsh-completion
brew trust 1160054/claude
brew install claude-code-zsh-completion

Homebrew 6 refuses to load formulae from a third-party tap until you trust it, hence the middle step.

No `~/.zshrc` changes are needed — Homebrew's `site-functions` directory is already on your `fpath`. `brew upgrade` keeps the completion current.

Every localized completion is installed alongside the English one. To switch:

ln -sf "$(brew --prefix)/share/claude-code-zsh-completion/completions/_c