jdcodes1

jdcodes1 / claude-sh

Public

Claude Code rewritten as a bash script. ~1500 lines, zero npm packages. Just curl + jq.

81
14
100% credibility
Found Apr 02, 2026 at 81 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Shell
AI Summary

claude.sh is a lightweight bash script that creates a terminal-based coding assistant powered by Claude AI, offering real-time chat, file tools, shell execution, git integration, and session persistence with minimal dependencies.

How It Works

1
🔍 Discover claude.sh

You find this handy coding helper script on a sharing site while looking for simple ways to get AI assistance in your terminal.

2
📥 Bring it home

You download the script to your computer and make it ready to run with a quick permission tweak.

3
🔗 Connect your AI helper

You link it to a smart AI service by sharing a private access code, so it can understand and respond like a coding expert.

4
🚀 Launch your assistant

You start the script and see a welcoming screen with fun animations, ready for your first question about your code.

5
💬 Chat about your project

You type questions or paste code snippets, and watch answers appear word-by-word in real time, feeling like a conversation with a pro coder.

6
🛠️ Use safe tools

The AI offers to read files, run safe commands, or suggest edits— you approve each one, keeping everything under your control.

7
💾 Save your progress

Use simple commands to save your chat session or pick up later, tracking costs and switching ideas effortlessly.

🎉 Code smarter, faster

Your coding sessions become super productive with ongoing AI guidance, git help, and zero hassle setup.

Sign up to see the full architecture

6 more

Sign Up Free

Star Growth

See how this repo grew from 81 to 81 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is claude-sh?

claude-sh is a bash script that delivers a lightweight Claude coding assistant in your terminal, rewriting the core of the massive Claude Code TypeScript app into 1500 lines using just curl and jq. You chat with Claude in a REPL with real-time streaming responses, pipe input for one-offs, and tools for running bash commands, reading or editing files, globbing paths, and grepping codebases. Set your ANTHROPIC_API_KEY and run it anywhere bash works—no installs beyond git clone for claude code download from claude code github.

Why is it gaining traction?

It slashes the bloat: instant startup versus hundreds of milliseconds and 200MB node_modules in the original, with claude code install in seconds and zero npm deps. Developers dig the git-aware context (branch, diffs, commits), CLAUDE.md project instructions, session save/resume via /resume, cost tracking with claude code pricing per turn, and safe permission prompts before risky edits or bash runs. Tool chaining up to 25 calls per turn plus slash commands like /commit for AI git messages hook folks seeking claude github integration without full claude github copilot setups.

Who should use this?

Sysadmins scripting automations, backend devs debugging serverside logic, or solo hackers prototyping CLI tools who want Claude for claude github code review and file tweaks without VS Code plugins. Ideal for claude github connector needs like generating commits from diffs or grepping large repos during pair-programming sessions. Skip if you need polished IDE features or heavy claude github actions workflows.

Verdict

Grab it for quick claude code github experiments—solid docs and features punch above its 81 stars and 1.0% credibility score, but it's early-stage with no tests, so test in sandboxes first. Strong alternative to bloated JS ports if you live in bash.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.