AI Shell — AI skill for Claude Code
A local-first, privacy-friendly natural-language Linux/macOS command assistant.
How to install AI Shell
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open zhangroley76/ai-shell and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Shell does
A local-first, privacy-friendly natural-language Linux/macOS command assistant. Ask in plain English or Chinese — it generates, explains, and teaches shell commands with your local LLM (Ollama), Claude/Codex CLI, or any OpenAI-compatible API. Single Rust binary.
Alternatives in AI
- Repomix — 📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file 22.7k ★
- Codeseek — Rust-powered code intelligence CLI for AI coding agents 764 ★
- Codebase Digest — 🗜️ Codebase-digest is your AI-friendly codebase packer and analyzer 375 ★
README
ai-shell
A local-first, privacy-friendly natural-language Linux command assistant.
Ask in plain English (or Chinese). It generates, explains, and teaches shell commands — with your local LLM, no cloud required.
Install · Usage · Backends · Safety · Config · License
English · 简体中文
Why ai-shell?
Most "AI shell" tools send everything to a paid cloud API. **ai-shell runs against a local model by default** (via [Ollama](https://ollama.com)), so your queries never leave your machine — and it's free to run. When you want more power, you can switch to Claude/Codex CLIs or any OpenAI-compatible cloud API with a single flag.
It's not just a command generator — it's a **learning tool**. It reads the *real* `--help`/`man` pages on your machine, so explanations are grounded in your actual system instead of the model's (often outdated) memory.
Features
- 🧠 Understands intent automatically — generate a command, explain a command, break one down, or answer a concept question. No modes to memorize.
- 📖 Grounded explanations — reads real
--help/manoutput on your machine, so even obscure or third-party commands are explained correctly. - 🛡️ Safety first — every command is shown before it runs. Three-tier confirmation: normal (Enter),
sudo(typey), catastrophic likerm -rf /(must typeyes). - 📝 Script generation —
ai script "..."produces a hardened Bash script (set -euo pipefail, quoted vars, dry-run for deletes), runsshellcheck, and warns on any destructive command before saving. Never auto-executes. - 🔀 Multiple backends — local Ollama, Clau
Related Skills
Vouch
See what your AI-agent skills can actually do. Vouch audits every SKILL.md on your machine, explains each skil
Explain Prompt
Explain any AI prompt in plain, beginner-friendly English (eight fixed sections).
Nami Win Linux
Nami for Windows and Linux. This is the Nami AI agent workbench (originally Mac-only) made available on Window
Plain Language Skill
Rewrites convoluted AI output into plain language — separate rule sets for English and Traditional Chinese 把繞口
Nudgy
Native macOS menu bar app that notifies you when AI coding agents (Claude Code) finish tasks, need permissions
Excel Skill
AI agent skill for generating industry-specific Excel templates Finance / FMCG / E-commerce / Internet openpyx
Related Agents
Solana Guide
Educational guide for Solana development concepts. Teaches programming patterns, explains code, creates tutori
Beginner Helper
Explains Pine Script concepts in simple terms. Use when user indicates they're new to coding or Pine Script, o
Ollama Agent
Runs a local model served by Ollama on this machine. One mode - consult (no machine access; the endpoint is a