Zsh Claude Code Shell
Description
Zsh plugin that integrates Claude Code CLI into your shell. Chat with Claude and execute AI-generated commands directly from your terminal prompt
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
zsh-claude-code-shell
An oh-my-zsh plugin that translates natural language comments into shell commands using [Claude Code](https://claude.ai/claude-code).
Demo
# find all js files larger than 100kb modified in the last week and show their sizes
Press Enter, and the line becomes:
find . -name "*.js" -size +100k -mtime -7 -exec ls -lh {} \;
Review the command, press Enter again to execute.
Another example:
# recursively find and delete all node_modules folders
Becomes:
find . -type d -name "node_modules" -prune -exec rm -rf {} +
Prerequisites
- Claude Code CLI installed and authenticated
- zsh shell
- oh-my-zsh (optional, for easiest installation)
Installation
oh-my-zsh
Clone to your custom plugins directory:
git clone https://github.com/ArielTM/zsh-claude-code-shell ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-claude-code-shell
Add to your `~/.zshrc`:
plugins=(... zsh-claude-code-shell)
Restart your shell or run `source ~/.zshrc`.
Manual
Clone the repository and source the plugin:
git clone https://github.com/ArielTM/zsh-claude-code-shell ~/zsh-claude-code-shell
echo 'source ~/zsh-claude-code-shell/zsh-claude-code-shell.plugin.zsh' >> ~/.zshrc
zinit
zinit light ArielTM/zsh-claude-code-shell
zplug
zplug "ArielTM/zsh-claude-code-shell"
Usage
- Type a comment starting with
#followed by what you want to do - Press Enter
- The comment is replaced with the generated command
- Review the command, press Enter to execute (or edit it first)
Examples
# find all TODO comments in typescript files
# becomes: grep -rn "TODO" --include="*.ts" .
# show top 10 largest files in current directory recursively
# becomes: find . -type f -exec du -h {} + | sort -rh | head -10
# kill all processes matching "node"
# becomes: pkill -f node
# compress all l
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI