# x-cmd/x-cmd

Shell Superpowers for AI Agents.

Repository: https://github.com/x-cmd/x-cmd
Canonical: https://ross.abutalabs.com/products/x-cmd
Homepage: https://x-cmd.com
Language: Awk
License: Apache-2.0
License Family: permissive
Topics: cloud, cli, agent, ai, bash, zsh, shell
Last push: 2026-08-26T13:08:11+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 1432, "days_push": 7, "days_rel": 7, "gap_med": 0, "n_releases_24m": 104}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4589, forks 162 (observed 2026-08-28T04:08:54.642281+00:00)

## What it is
X-CMD is a POSIX shell (bash/zsh/ash/dash) toolkit offering 300+ shell/awk modules and a 600+ curated CLI package system, installable without root. It positions itself as an agent-native shell toolbox, providing pure-shell AI agent capabilities, skill management for coding agents like Claude Code and Codex, and IM-to-agent bridges.

## Use cases
- give my shell a modern standard library without root
- install jq/ripgrep/fd consistently across apt, brew, and alpine
- run an AI coding agent from a lightweight shell environment
- manage Claude Code / Codex skills from the command line
- wake local AI agents from WeChat or Telegram messages
- add shell completions and themes across bash and zsh
- bootstrap dev tools on BusyBox or Alpine containers

## When to choose
- you live in POSIX shells and want portable, dependency-free tooling
- you need a lightweight (<2MB) agent runtime on legacy or minimal systems
- you want one consistent install command across many OSes and package managers
- you're building AI agent workflows that benefit from shell tool-chaining

## When to avoid
- you need a GUI or non-CLI workflow
- you prefer native package managers and don't want a shell bootstrap script
- you need heavy Python/Node-based agent frameworks with rich SDK ecosystems
- you work exclusively in non-POSIX shells like fish or nushell without a bash shim

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, cli, agent-framework, llm-inference, package-manager, chatbot, workflow-automation
- domain: developer-tools, large-language-models
- platform: windows, bsd, cli, cross-platform
- tags: shell, posix-shell, bash, zsh, awk, agent-native, package-management, ai-skills, mcp, terminal, command-line, ai-agents, automation, linux, macos

## Member repositories
- x-cmd/x-cmd (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:54.642281+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-29T18:19:51.410624+00:00, confidence not recorded.
  - readme: https://github.com/x-cmd/x-cmd (fetched 2026-08-28T04:08:54.642281+00:00, sha a25b96e199f1)
  - homepage: https://x-cmd.com (fetched 2026-08-29T09:05:16.516680+00:00, sha 633578a4f025)
  - site_page: https://www.x-cmd.com/install/jq (fetched 2026-08-29T09:05:16.534345+00:00, sha 86fd43a449c5)
  - site_page: https://www.x-cmd.com/install/rg (fetched 2026-08-29T09:05:16.536249+00:00, sha 733ad10264eb)
  - site_page: https://www.x-cmd.com/install/fd (fetched 2026-08-29T09:05:16.538355+00:00, sha 3771314ab682)
  - site_page: https://www.x-cmd.com/install/contribute (fetched 2026-08-29T09:05:16.523283+00:00, sha cfd51582d419)
  - site_page: https://www.x-cmd.com/install (fetched 2026-08-29T09:05:16.525295+00:00, sha 433ded7b3f58)
  - site_page: https://www.x-cmd.com/start/installation (fetched 2026-08-29T09:05:16.532499+00:00, sha e9c429c65491)
  - site_page: https://hub.x-cmd.com/pricing (fetched 2026-08-29T09:05:16.530604+00:00, sha 0046d17e6d30)
  - site_page: https://www.x-cmd.com/v/0.10.6 (fetched 2026-08-29T09:05:16.527953+00:00, sha a6387c1a02a8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
