A practical tip for configuring AI coding agents (Claude Code, Codex) to write throwaway and utility scripts in Ruby instead of Python or bash. The author argues that agents should write in the language the developer knows best, so they remain an active reviewer rather than a rubber stamp. Includes a ready-to-paste CLAUDE.md/AGENTS.md instruction block, guidance on setting it globally vs. per-repo, and a small Ruby gem to automate the setup. Also covers Ruby's backtick syntax for shell commands as a bonus.
Table of contents
A little bit of archaeology/historyRuby is a great fit for any shell scriptConfigure agents to write scripts in RubyOne repo, or every repoThe valueA small note about the futureA gem101 Impressions