Hung Jobs Fail Quietly — Wrapping a Scheduled Gemini Call With a Timeout, an Empty-Output Check, and a Lock
An outer shell script that protects a cron-driven `gemini -p` call from three quiet failures: hanging on a response, exiting 0 with empty output, and overlapping with the previous run. Includes exit codes and timings measured with stand-in commands, and how far `timeout` reaches into child processes.
Stop Re-Reading Every Crash Report: Grep a Known-Bug Table First and Keep Only an Index in GEMINI.md
A routine for investigating app crash reports without making the model read every past bug in full: a one-line-per-bug lookup table, what belongs in GEMINI.md, and a grep helper you can paste in.
Gemini CLI Kept Saying 'API key not valid' After I Gave It a New Key — It Was Reading an Old One From a Third Place
I switched Gemini CLI from Google login to a paid API key, and the 400 'API key not valid' error would not go away. The key can come from four places — the shell, a project .env, a home .env, and settings.json — and a short script that lights them up in order narrows the cause to one.
The approval rules I had written never matched once — auditing my Gemini CLI policies
A deny rule I trusted for half a year had never matched. The pattern was tested against a JSON string, the folder I kept my rules in is not read, and ask_user turns into deny the moment nobody is watching. Here is the audit, and the script I wrote to keep doing it.
A Week Using Gemini CLI for iOS App Development: An Indie Dev's Honest Report
An indie developer with 50M+ app downloads shares a week-long experiment integrating Gemini CLI into iOS development. Covers translation, release notes, code review, and an honest comparison with Claude Code.
Sharpening Gemini CLI and Code Assist Context with .geminiignore — A
Use .geminiignore to clean up the context window for Gemini CLI and Code Assist, improving answer quality and cutting token usage at the same time.
Gemini CLI × A2A Protocol — Remote Agent Integration
Master Gemini CLI's A2A (Agent-to-Agent) protocol for remote agent integration. From agent definition files to HTTP authentication and production deployment on Cloud Run.
Gemini CLI vs Claude Code: A Hands-On AI Coding Agent Comparison for 2026
A comprehensive 2026 comparison of Gemini CLI and Claude Code covering speed, code quality, cost, context window, and real-world performance to help you choose the right AI coding agent.