Show HN: Claude Code rewritten as a bash script (github.com) AI

The GitHub project “claude-sh” ports Claude Code’s functionality to a ~1,500-line bash script, relying only on curl and jq (optional ripgrep/python3). It supports streamed output, tool use (Bash, Read/Edit/Write/Glob/Grep), permission prompts for non-safe commands, CLAUDE.md project instruction loading, git-aware context, session save/resume, and basic rate-limit retry and cost tracking. The README also documents installation, environment variables, and command-line/slash commands like /help, /cost, /commit, and /diff.

April 01, 2026 17:54 Source: Hacker News