#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
- Stars
- 326
- License
- Apache-2.0
- Last commit
- Feb 2026
- Last release
- Feb 2026
- Language
- Shell
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| Rank | Project | Score |
|---|---|---|
| #701 | vibekitCLI that runs coding agents in sandboxes with secret redaction | 13 out of 100 |
| #702 | sudolangPseudocode language for writing structured prompts that LLMs interpret directly | 12 out of 100 |
| #703 | codag-visualizerVS Code extension that graphs LLM calls and agent workflows in your code | 12 out of 100 |
| #704 | api2cliClaude Code skill that generates a CLI and a matching skill from API docs | 11 out of 100 |
| #706 | llm-council-skillClaude skill that polls ChatGPT and Gemini, then merges their advice into one plan | 7 out of 100 |