x-cmd/x-cmd

Shell Superpowers for AI Agents.

View on GitHub ↗Jump to charts ↓

x-cmd/x-cmd has 4.5k+ stars and 150+ forks on GitHub, is written in Awk, and was last pushed on Oct 14, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 5 minutes ago
Added to GitGenius on September 14th, 2026
Created on October 1st, 2022
Open Issues & Pull Requests: 110 (+0)
GitHub issues: Enabled
Number of forks: 174
Total Stargazers: 4,711 (+0)
Total Subscribers: 20 (+0)

Repository Insights (GitGenius)

Median issue/PR response: N/A
Mean response time: 3.9 hours
90th percentile: 0.1 hours
Tracked items: 298

Maintainer activity

5 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits.

How this project is maintained

About 12% of issues opened in the past year have never received a reply. 40% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. 60% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 49% of issues opened in the past year have been closed. Three people close 68% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 107
New in 7 days: 0
Closed in 7 days: 1
Avg open age: 263 days
Stale 30+ days: 101
Stale 90+ days: 78

Recent activity

Opened in 7 days: 0
Closed in 7 days: 1
Comments in 7 days: 1
Events in 7 days: 2

Top labels

  • bug (149)
  • enhancement (56)
  • feature (44)
  • pkg (6)
  • install (5)
  • documentation (4)
  • question (2)
  • inner-dev (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

x-cmd is a shell toolkit that brings modern programming capabilities and AI integration to POSIX shells like bash and zsh.

The tool addresses the gap between shell scripting's traditional limitations and the capabilities developers expect from modern languages. It accomplishes this through a layered architecture: a core of over 300 modules written in shell and awk that provide standard library functionality comparable to Python's standard library, an on-demand package system delivering over 600 curated CLI tools that can be loaded without system-wide installation, and native integration with AI services including OpenAI, Gemini, DeepSeek, and others accessible through pure shell and curl. The approach emphasizes minimal footprint and compatibility, running on systems as constrained as BusyBox and Alpine Linux.

Developers should consider x-cmd if they work in environments where shell is the primary interface and want access to modern tooling without complex dependency management. It suits projects that need to run on minimal systems, CI/CD pipelines, and scenarios where shell scripting must interact with AI services. The tool is particularly valuable for AI agents where shell's native system integration, tool-chaining flexibility, and lightweight footprint provide advantages over heavier alternatives. The project positions itself as an alternative to traditional package managers and shell frameworks by combining a standard library approach with curated, pre-packaged tools that minimize both download size and system pollution.

Development activity shows consistent module and package expansion, with the project maintaining a broad ecosystem of specialized modules including theme management, shell completions, git hooks integration, and domain-specific tools like Chinese calendar and WeChat integration. The codebase demonstrates active refinement of the core runtime to keep non-interactive load times under 20 milliseconds and interactive usage under 60 milliseconds. The project maintains dual-language documentation and actively develops AI-specific features, suggesting ongoing investment in the agent use case.