# cloudnativelabs/kube-shell

Kubernetes shell: An integrated shell for working with the Kubernetes

Repository: https://github.com/cloudnativelabs/kube-shell
Canonical: https://ross.abutalabs.com/products/kube-shell
Language: Python
License: Apache-2.0
License Family: permissive
Topics: kubernetes, python, kubectl, autocomplete, kube-shell
Last push: 2022-11-02T12:34:48+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3366, "days_push": 1400, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2390, forks 174 (observed 2026-08-28T04:06:43.324904+00:00)

## What it is
kube-shell is an integrated Python-based shell wrapping kubectl that adds autocompletion, fish-style auto-suggestions, command history, fuzzy search, and context/namespace switching for Kubernetes. It is built on python-prompt-toolkit and uses a generated JSON spec of kubectl commands plus the Kubernetes Python client for server-side completion.

## Use cases
- autocomplete kubectl commands and options
- switch between Kubernetes clusters and namespaces quickly
- search command history for kubectl commands
- get inline documentation while typing kubectl commands
- fuzzy search kubectl resources

## When to choose
- you use kubectl frequently and want a more productive interactive shell
- you want server-side autocompletion of Kubernetes resources
- you want persistent context and namespace visibility while working

## When to avoid
- you need a tool with active development and recent updates
- you prefer kubectl's built-in completion or tools like k9s
- you don't use Kubernetes

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, developer-tools
- domain: developer-tools
- platform: cli, python, cross-platform
- tags: kubernetes, kubectl, autocomplete, shell, productivity, command-line, devops, containers

## Member repositories
- cloudnativelabs/kube-shell (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:43.324904+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:29.538810+00:00, confidence not recorded.
  - readme: https://github.com/cloudnativelabs/kube-shell (fetched 2026-08-28T04:06:43.324904+00:00, sha 9370339c0b1a)
  - registry_pypi: https://pypi.org/pypi/kube-shell/json (fetched 2026-08-29T10:15:07.110382+00:00, sha 026af98b9c98)
- Data as of 2026-08-30T08:39:29.467469+00:00.
