Ten AI-powered command-line tools to build with Bun and Claude: a stdin-piping primitive, git-aware commits and code review, scaffolding, regex, and a resumable chat REPL.
BunClaudeTypeScript
What's inside
The terminal is where developers already live, which makes it the perfect home for AI. This free guide is ten command-line tools you can build with Bun and the Anthropic SDK, each small on its own but together turning your terminal into an AI workbench.
The pattern: the four moving parts behind every command (a router, a prompt, a model call, streamed output) and the Bun touches that make them sharp (Bun.$, Bun.stdin, bun build --compile).
Two primitives: ask (one-shot, streamed) and pipe (transform anything you pipe in), the composable base everything else builds on.
Git-aware commands: generate commit messages, review your working diff by severity, and turn commits into release notes.
Understand & generate: explain a file or error, rename symbols, scaffold files from a description, and get a tested regex from plain English.
Go conversational: a persistent, resumable chat REPL, and how to compile it all into a single distributable binary.
Who it's for
Developers who want their terminal to work the way they do. If you use Bun (or want a reason to) and you're ready to turn "ask Claude" into real tooling shaped like your own workflow, this is your starter menu. Free. Grab it and start building.