#705705th of 706 in Skills, plugins and prompts

gemini-cli-extensions/ralph

Gemini CLI extension that reruns the same prompt in a loop until done

Releases and problems feed (RSS)

Stars
326
License
Apache-2.0
Last commit
Feb 2026
Last release
Feb 2026
Language
Shell
Stars, last 29 weeks+33
1 May 2026: 293 stars8 May 2026: 298 stars15 May 2026: 303 stars22 May 2026: 304 stars29 May 2026: 307 stars5 Jun 2026: 310 stars12 Jun 2026: 312 stars19 Jun 2026: 314 stars26 Jun 2026: 316 stars3 Jul 2026: 318 stars10 Jul 2026: 320 stars17 Jul 2026: 321 stars24 Jul 2026: 321 stars31 Jul 2026: 322 stars7 Aug 2026: 322 stars14 Aug 2026: 323 stars21 Aug 2026: 323 stars28 Aug 2026: 324 stars4 Sept 2026: 325 stars11 Sept 2026: 325 stars18 Sept 2026: 326 stars25 Sept 2026: 326 stars2 Oct 2026: 326 stars9 Oct 2026: 326 stars16 Oct 2026: 326 stars23 Oct 2026: 326 stars30 Oct 2026: 326 stars6 Nov 2026: 326 stars13 Nov 2026: 326 stars20 Nov 2026: 326 stars

293 on 1 May 2026326 on 20 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Ralph is a Gemini CLI extension, written in shell, that repeats an agent task across turns. An AfterAgent hook (hooks/stop-hook.sh) catches the end of each turn, clears the previous turn's context and restarts with the original prompt. The loop ends at a max iteration count (default 5) or when the agent prints a completion promise tag. Progress carries over only through files and git history.

Who it is for: Gemini CLI users running long autonomous coding tasks

Strengths

  • Clears chat context each iteration, so the agent works from current file state
  • Hard cap via --max-iterations plus a --completion-promise exit condition
  • /ralph:cancel stops a loop and removes its state files
  • Detects a prompt mismatch and cleans up, so it won't hijack a new task

Weaknesses

  • Requires editing ~/.gemini/settings.json to enable hooks and includeDirectories
  • Uninstalling leaves a settings entry that breaks Gemini CLI startup until removed by hand
  • README recommends YOLO mode (-y), so tool permissions need manual restriction
  • Roadmap items such as progress logs and task lists are not implemented yet

What it needs

  • no GPU
  • Needs Gemini CLI
  • Models: Gemini

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Skills, plugins and prompts

See all 706
Also in Skills, plugins and prompts
RankProjectScore
#701vibekitCLI that runs coding agents in sandboxes with secret redaction1.9k starsMITno commits in a year13 out of 100
#702sudolangPseudocode language for writing structured prompts that LLMs interpret directly1.4k starsMIT12 out of 100
#703codag-visualizerVS Code extension that graphs LLM calls and agent workflows in your code677 starsMIT12 out of 100
#704api2cliClaude Code skill that generates a CLI and a matching skill from API docs456 starsMIT11 out of 100
#706llm-council-skillClaude skill that polls ChatGPT and Gemini, then merges their advice into one plan516 starsMIT7 out of 100