memory
Skill107k starsChanged 7 months agoApache-2.0View on GitHub
Expertise in maintaining persistent bot memory, synchronizing with previous sessions via the Task Ledger, and preserving decision logs.
66 other projects use a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- ProjectAJ14/eklavyatheir own version, first seen Oct 4, 2026
- DioNanos/nexuscrewtheir own version, first seen Oct 3, 2026
- Quad4-Software/skillstheir own version, first seen Oct 3, 2026
- pobsteta/aigoratheir own version, first seen Oct 2, 2026
- vbcherepanov/total-agent-memorytheir own version, first seen Sep 30, 2026
- harshanandak/forgetheir own version, first seen Sep 28, 2026
Who's talking about google-gemini/gemini-cli
- A Hacker News story“It looks like the status/need-triage label was removed”Hacker News · Jan 22, 2026 · 303 points
- agentskills/agentskills“Proposal: include a standard folder where agent skills should be”GitHub · Dec 19, 2025 · 271 reactions
- A Hacker News story“Addressing Antigravity Bans and Reinstating Access”Hacker News · Feb 28, 2026 · 254 points
- @ntaylormullen.bsky.social“This is truly a proud moment for me. For the past few months we've pushed non-stop to build Gemini CLI. …”Bluesky · Jun 25, 2025 · 106 likes
- github/copilot-cli“IME candidate window is misplaced, invisible, or detaches in CJK (Japanese) input”GitHub · Feb 26, 2026 · 52 reactions
The biggest 5 of 93 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 93
Talked about on Bluesky, Hacker News and GitHub (93 times).
On Bluesky · 50
- Jun 25, 2025This is truly a proud moment for me. For the past few months we've pushed non-stop to build Gemini CLI. It's been a journey, and I couldn't… — @ntaylormullen.bsky.social106 likes and reposts · 11 replies
- Jul 18, 2025The OSS community around Gemini CLI has been incredible, SO many thoughtful PRs coming in so we've been exploring ways to scale triage.… — @ntaylormullen.bsky.social13 likes and reposts · 1 reply
- Jun 25, 2025Gemini-CLI: Claude Code but for Gemini you had me at “high usage limits at no cost” github.com/google-gemin... — @timkellogg.me12 likes and reposts · 2 replies
- Aug 21, 2025Shout-out to our amazing OSS Gemini CLI community! The number of PRs & issues has been incredible. This Friday the team is doing a triage… — @ntaylormullen.bsky.social8 likes and reposts
- Jun 25, 2025¡Google acaba de lanzar su agente de IA para terminal! ✓ CLI para Gemini 2.5 Pro ✓ Contexto de 1 millón de tokens ✓ 60 peticiones/min y… — @midu.dev8 likes and reposts
45 more on Bluesky
- Jun 25, 2025きたわね github.com/google-gemin... — @izumiz.blue8 likes and reposts · 1 reply
- Jun 26, 2025Installed locally, it ensures code and data execution in the local environment, offering higher security and privacy for developers… — @luok.ai5 likes and reposts
- Jun 25, 2025🔖 "GitHub - google-gemini/gemini-cli: An open-source AI agent that brings the power of Gemini directly into your terminal."… — @lacolaco.bsky.social5 likes and reposts
- Jul 4, 2025deno install --global -A npm:@google/gemini-cli github.com/google-gemin... — @kitsonkelly.com4 likes and reposts · 1 reply
- Jun 28, 2025Hab gestern damit in einem virtuellen Ubuntu gespielt und muss sagen, das funktioniert beeindruckend schnell und gut. (Hab Code für einen… — @richardibk.bsky.social4 likes and reposts · 2 replies
- Oct 24, 2026📦 google-gemini / gemini-cli ⭐ 107,604 (+38) 🗒 TypeScript An open-source AI agent that brings the power of Gemini directly into your… — @github-trending.bsky.social3 likes and reposts
- Nov 16, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 google-gemini / gemini-cli ⭐ 82,704 (+148) 🗒 TypeScript An open-source AI agent that brings the power… — @github-trending-js.bsky.social3 likes and reposts
- Aug 28, 2025Humbled by the incredible community engagement during last Friday's Gemini CLI deep dive on issues and PRs! Get ready for another session… — @ntaylormullen.bsky.social3 likes and reposts
- Jun 26, 2025昨日ちょっとニュースになっていましたが、GoogleからもCUI版のAIコードアシスタント Gemini CLI が出ました。 github.com/google-gemin... Gemini 2.5 Proの1000リクエスト/月が無料のキャンペーン付きですが、Claude… — @gakuueda.bsky.social3 likes and reposts
- Oct 5, 2026https://github.com/google-gemini/gemini-cli https://aistudio.google.com/ https://aistudio.google.com/app/apikey #omarchy #agent #gemini — @npub1mwce4c8qa2zn9zw9f372syrc9dsnqmyy3jkcmpqkzaze0slj94dqu6nmwy.momostr.pink.ap.brid.gy2 likes and reposts
- Aug 24, 2026📦 google-gemini / gemini-cli ⭐ 106,638 (+35) 🗒 TypeScript An open-source AI agent that brings the power of Gemini directly into your… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- May 12, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 google-gemini / gemini-cli ⭐ 103,766 (+110) 🗒 TypeScript An open-source AI agent that brings the power… — @github-trending-js.bsky.social2 likes and reposts · 2 replies
- Apr 1, 2026Gemini source code "leaked" under Apache 2.0 open source license github.com/google-gemin... #opensource #geminicli — @mapopa.bsky.social2 likes and reposts
- Nov 25, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 google-gemini / gemini-cli ⭐ 84,414 (+211) 🗒 TypeScript An open-source AI agent that brings the… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Oct 29, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 google-gemini / gemini-cli ⭐ 80,788 (+201) 🗒 TypeScript An open-source AI agent that brings the… — @github-trending-js.bsky.social2 likes and reposts
- Aug 7, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 google-gemini / gemini-cli ⭐ 67,640 (+302) 🗒 TypeScript An open-source AI agent that brings the… — @github-trending-js.bsky.social2 likes and reposts
- Jun 27, 2025google-gemini/gemini-cli: An open-source AI agent that brings the power of Gemini directly into your terminal. #SuggestedRead #devopsish… — @chrisshort.net2 likes and reposts
- Jun 25, 2025Gemini CLI has been released. it’s open source and free to use (limits apply) Curious about how it feels like github.com/google-gemin...… — @pacovk.bsky.social2 likes and reposts
- Jun 25, 2025タイムリーに Gemini CLI が公開されたので、Gemini ユーザとしては Claude Code の代替とはなるのかも?ですね github.com/google-gemin... — @micheam.com2 likes and reposts · 1 reply
- Jun 25, 2025Gemini just announced their AI agent CLI, so I need someone to do a head to head w/ Claude Code, Amp Code, Factory, Codex, Augment,… — @sherveen.bsky.social2 likes and reposts
- Oct 25, 20267. Google Gemini CLI Open Source Terminal Agent LINK 8. Why is AI generated language so hard to understand? LINK — @hackobar.bsky.social1 likes and repost · 1 reply
- Jul 13, 2026📦 google-gemini / gemini-cli ⭐ 105,932 (+33) 🗒 TypeScript An open-source AI agent that brings the power of Gemini directly into your… — @github-trending-js.bsky.social1 likes and repost
- May 22, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 google-gemini / gemini-cli ⭐ 104,426 (+114) 🗒 TypeScript An open-source AI agent that brings the power… — @github-trending-js.bsky.social1 likes and repost
- Mar 30, 2026Using ‘Gemini Cli’ and Google’s ‘AntiGravity’ for programming, makes it a pretty easy programming ride on Linux. Github link Gemini Cli:… — @ralfsplace.bsky.social1 likes and repost
- Feb 20, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 google-gemini / gemini-cli ⭐ 95,015 (+174) 🗒 TypeScript An open-source AI agent that brings the power… — @github-trending-js.bsky.social1 likes and repost
- Feb 5, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 google-gemini / gemini-cli ⭐ 93,651 (+139) 🗒 TypeScript An open-source AI agent that brings the power… — @github-trending-js.bsky.social1 likes and repost
- Dec 10, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 google-gemini / gemini-cli ⭐ 86,631 (+172) 🗒 TypeScript An open-source AI agent that brings the power… — @github-trending-js.bsky.social1 likes and repost
- Dec 2, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 google-gemini / gemini-cli ⭐ 85,542 (+154) 🗒 TypeScript An open-source AI agent that brings the power… — @github-trending-js.bsky.social1 likes and repost
- Nov 29, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 google-gemini / gemini-cli ⭐ 85,060 (+155) 🗒 TypeScript An open-source AI agent that brings the power… — @github-trending-js.bsky.social1 likes and repost
- Nov 20, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 google-gemini / gemini-cli ⭐ 83,712 (+304) 🗒 TypeScript An open-source AI agent that brings the… — @github-trending-js.bsky.social1 likes and repost
- Oct 10, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 google-gemini / gemini-cli ⭐ 78,576 (+176) 🗒 TypeScript An open-source AI agent that brings the power… — @github-trending-js.bsky.social1 likes and repost
- Oct 1, 2025No, the CLI is only for use with Gemini. github.com/google-gemin... — @charlesloder.bsky.social1 likes and repost · 1 reply
- Sep 11, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 google-gemini / gemini-cli ⭐ 74,677 (+191) 🗒 TypeScript An open-source AI agent that brings the power… — @github-trending-js.bsky.social1 likes and repost
- Aug 28, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 google-gemini / gemini-cli ⭐ 72,380 (+259) 🗒 TypeScript An open-source AI agent that brings the… — @github-trending-js.bsky.social1 likes and repost
- Aug 22, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 google-gemini / gemini-cli ⭐ 71,143 (+257) 🗒 TypeScript An open-source AI agent that brings the… — @github-trending-js.bsky.social1 likes and repost
- Aug 16, 2025Filing an issue on github is the way I would go github.com/google-gemin... — @boredabdel.bsky.social1 likes and repost · 1 reply
- Jul 25, 2025🎉 Celebrating! 🎉 (500+ new stars) 📦 google-gemini / gemini-cli ⭐ 63,893 (+505) 🗒 TypeScript An open-source AI agent that brings the… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 24, 2025重要な背景: github.com/google-gemin... > Prerequisites: Ensure you have Node.js version 20 or higher installed. — @fractionist.bsky.social1 likes and repost
- Jun 27, 2025google-gemini/gemini-cli: An open-source AI agent that brings the power of Gemini directly into your terminal. #SuggestedRead #devopsish… — @chrisshort.net1 likes and repost
- Jun 27, 2025google-gemini/gemini-cli: An open-source AI agent that brings the power of Gemini directly into your terminal. #SuggestedRead #devopsish… — @chrisshort.net1 likes and repost
- Jun 26, 2025Gemini CLI: an open-source Gemini AI into your terminal (max 60 request per minute, 1K request per day) github.com/google-gemin...… — @fronkongames.bsky.social1 likes and repost
- Jun 26, 2025github.com/google-gemini/g... GitHub - google-gemini/gemini-cli: An open-source AI agent that brings the power of Gemini direc... — @technews4869.bsky.social1 likes and repost
- Jun 26, 2025Gemini CLI(github.com/google-gemin...) ってパイプで渡せるのでどっかのバッファに質問書いてshell-command-on-regionでgeminiを実行したら回答が貰える. 面白い… — @jtry.bsky.social1 likes and repost
- Jun 26, 2025Gemini CLIは、コードベースの編集やアプリ生成、タスク自動化ができるAIツールらしい。大規模なコードやPDFも扱え、Google検索との連携も可能なようだ。 yug1224 starred google-gemini/gemini-cli… — @yug1224.com1 likes and repost
- Jun 26, 2025GeminiCLIの無料枠がエグすぎて、もうこれだけでいいのではと思ってきた。もちろん今だけなのだろうけど、これを無料で体験できるのは本当にありがたい。 https://github.com/google-gemini/gemini-cli — @satbunch.bsky.social1 likes and repost
On Hacker News · 23
- Jan 22, 2026It looks like the status/need-triage label was removed303 points · 82 comments
- Feb 28, 2026Addressing Antigravity Bans and Reinstating Access254 points · 216 comments
- Mar 19, 2026Gemini CLI: mitigating abuse and prioritizing traffic7 points
- Mar 25, 2026Google Gemini bans OAuth with third parties blocking most OpenClaw users6 points · 1 comment
- Sep 19, 2025MacOS14.8、15.7 update breaks TMPDIR environment variable5 points · 2 comments
18 more on Hacker News
- Mar 26, 2026Gemini CLI not working for many users4 points · 4 comments
- Oct 2, 2025Gemini CLI tried to RF -RF / on my system4 points · 3 comments
- Oct 1, 2025Gemini CLI tried to rm -rf / on my system4 points · 2 comments
- Jul 6, 2025Gemini CLI not recognizing Gemini Code Assist subscription4 points · 1 comment
- Apr 1, 2026Gemini CLI is an open-source AI agent that brings Gemini into your terminal3 points · 1 comment
- Mar 19, 2026Gemini CLI Shake-Up: Abuse Controls and Traffic Priorities3 points
- Mar 2, 2026Got suspended while using headless mode with custom system prompt3 points
- Jan 16, 2026Gemini CLI bot infinite loop3 points
- Jan 4, 2026Agent Skills are coming to Gemini CLI3 points
- Sep 26, 2025Permission denied to temp folder in macOS 15.7 shortly after boot3 points
- Jun 26, 2025Google's Making a Move Gemini CLI Is Open-Source and Free3 points · 4 comments
- Jan 17, 2026GitHub Gemini-CLI block in a loop2 points
- Nov 18, 2025Gemini 3 in Gemini CLI2 points
- Oct 21, 2025Gemini CLI Loading Phrases2 points
- Aug 24, 2025Gemini CLI2 points
- Jun 27, 2025Gemini CLI2 points
- Jun 25, 2025Gemini-CLI: An open-source AI agent that brings the power of Gemini directly in2 points
- Apr 30, 2026Gemini CLI not working for 100s of paying users for more than a month1 point
On GitHub · 20
- Dec 19, 2025Proposal: include a standard folder where agent skills should be — agentskills/agentskills271 reactions · 130 comments
- Feb 26, 2026IME candidate window is misplaced, invisible, or detaches in CJK (Japanese) input — github/copilot-cli52 reactions · 6 comments
- Aug 27, 2025History‑linked checkpoints and file state restore — openai/codex49 reactions · 5 comments
- Nov 19, 2025AI: Gemini CLI doesn't work anymore!!!(vesion 0.16+ Error: read_many_files tool not found.) — zed-industries/zed44 reactions · 17 comments
- Jan 28, 2026Support `notifications/tools/list_changed` — openai/codex32 reactions · 5 comments
15 more on GitHub
- Jul 24, 2025Support ACP (agentic coding protocol) — QwenLM/qwen-code23 reactions · 11 comments
- Jun 25, 2025[Package request] gemini-cli — NixOS/nixpkgs23 reactions · 5 comments
- Jun 19, 2026Gemini Code Assist Standard account cannot use Antigravity CLI without Vertex AI pay-as-you-go permissions — google-antigravity/antigravity-cli15 reactions · 4 comments
- Dec 11, 2025[FEATURE] Improve the model's ability to follow instructions — anthropics/claude-code15 reactions · 14 comments
- Sep 19, 2026Google + Claude subscription OAuth policy: make third-party auth safe by default — can1357/oh-my-pi13 reactions · 10 comments
- Mar 9, 2026BUG: "Keychain is not available" — gemini-cli-extensions/nanobanana12 reactions · 7 comments
- Jul 3, 2025gemini-cli: 0.1.7 -> 0.1.9 — NixOS/nixpkgs8 reactions · 18 comments
- Jun 25, 2025fix: handle null/undefined type fields in schema transformers — googleapis/js-genai7 reactions · 4 comments
- Jan 12, 2026gemini-cli-bin: 0.22.5 -> 0.24.4 and use `ripgrep` from nixpkgs — NixOS/nixpkgs4 reactions · 4 comments
- Aug 2, 2025feat: Refactor workflows to use custom commands — google-github-actions/run-gemini-cli3 reactions · 3 comments
- Jul 17, 2025Define "MCP Sandbox Interface" and implement `limactl mcp serve` — lima-vm/lima3 reactions · 14 comments
- Nov 17, 2026feat(providers): add agy-acp provider for Google Antigravity CLI — aaif-goose/goose2 reactions · 2 comments
- Jun 23, 2026Add bigquery-basics skill — Kilo-Org/kilo-marketplace2 reactions · 1 comment
- May 5, 2026Add Gemini and Rovo Dev session hooks — manaflow-ai/cmux2 reactions · 9 comments
- May 1, 2026fix(api-proxy): set GOOGLE_GEMINI_BASE_URL to route Gemini CLI through sidecar — github/gh-aw-firewall0 reactions · 21 comments
Used with
Projects with it also use harness-review, postmortem and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
fockusSkillharness-review
Harness v3 統合レビュースキル。コード・プラン・スコープを多角的にレビュー。以下で起動: レビュー、コードレビュー、プランレビュー、スコープ分析、セキュリティ、品質チェック、harness-review。実装・新機能・バグ修正・セットアップ・リリースには使わない。
Also in 3 projects that use this
Hongyu-yuSkillpostmortem
Use when analyzing failures, outages, incidents, or negative outcomes, conducting blameless postmortems, documenting root causes with 5 Whys or fishbone diagrams, identifying corrective actions with owners and timelines, learning from near-misses, establishing prevention strategies, or when user mentions postmortem, incident review, failure analysis, RCA, lessons learned, or after-action review.
Also in 4 projects that use this
MicrosoftSkilldev
Development workflows for the playwright-cli repository. Use when the user asks about rolling dependencies, releasing, or other repo maintenance tasks.
Also in 3 projects that use this
AnthropicSkillstart
Set up your bio-research environment and explore available tools. Use when first getting oriented with the plugin, checking which literature, drug-discovery, or visualization MCP servers are connected, or surveying available analysis skills before starting a new project.
Also in 4 projects that use this
MicrosoftSkillsync
Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.
Also in 3 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 4 projects that use this
- +1 more from microsoft
Other versions66 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 66
- Chachamaru127/claude-code-harness★ 3.1ksame name
- codeaholicguy/ai-devkit★ 1.6ksame name
- Muuuun/luxas★ 1.2ksame name
- rshankras/claude-code-apple-skills★ 777same name
- memvid/claude-brain★ 578same name
- shobcoder/shob★ 577same name
- boshu2/agentops★ 447same name
- lokikill123/codex-token-skills★ 119same name
- 686f6c61/alfred-dev★ 116same name
- 312362115/claude★ 107same name
56 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- agent-tuiSkill
- async-pr-reviewSkill
- behavioral-evalsSkill
- ciSkill
- code-reviewerSkill
- docs-changelogSkill
- docs-writerSkill
- github-issue-creatorSkill
- pr-address-commentsSkill
- pr-creatorSkill
- review-duplicationSkill
- string-reviewerSkill
- tui-testerSkill
- greeterSkill
- antigravity-supportSkill
- skill-creatorSkill
- pirate-skillSkill
- code_explorerSkill
- effortSkill
- qualitySkill
- spec_generatorSkill
- critiqueSkill
- metricsSkill
- prsSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 57 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Task Ledger: Keep only the most recent 50 tasks.
- Distinctive: line 17
Decision Log: Keep only the most recent 20 entries.
- Distinctive: line 53
Before beginning your investigation, you MUST synchronize with the bot's persistent state:
- Very specific: line 56
Read Memory: Read tools/gemini-cli-bot/lessons-learned.md.
- Very specific: line 57
Verify State: Use the GitHub CLI (gh pr view or gh issue view) to verify the current state of the trigger.
- Very specific: line 60
Scheduled Mode: Update the status of active tasks (e.g., mark merged PRs as DONE, investigate CI failures for FAILED tasks).
- Distinctive: line 71
State Preservation: Ensure all decision logic and root-cause analysis are accurately captured in the Decision Log.
- Distinctive: line 76
When delegating a task to a 'worker' agent:
- Very specific: line 81
Verify Memory (Worker Role): If the worker's task involves investigation, root-cause analysis, or updating state, the Worker MUST activate …
“Common” is measured: kept by at least 6 in 10 of the 57 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Memory & State Management
Goal
Standardize how the Gemini CLI Bot maintains its persistent memory, synchronizes with previous sessions, and prepares Pull Requests.
Memory Structure (lessons-learned.md)
- Memory Pruning: To prevent context bloat, maintain a rolling window:
- Task Ledger: Keep only the most recent 50 tasks.
- Decision Log: Keep only the most recent 20 entries.
You MUST maintain tools/gemini-cli-bot/lessons-learned.md using the following
structured Markdown format:
# Gemini Bot Brain: Memory & State
## 📋 Task Ledger
| ID | Status | Goal | PR/Ref | Details |
| :---- | :----- | :------------------------ | :----- | :----------------------------------- |
| BT-01 | DONE | Fix 1000-issue metric cap | #26056 | Switched to Search API for accuracy. |
## 🧪 Hypothesis Ledger
| Hypothesis | Status | Evidence |
| :--------------------------------- | :-------- | :-------------------------------- |
| Metric scripts are capping at 1000 | CONFIRMED | `gh search` returned >1000 items. |
## 📜 Decision Log (Append-Only)
- **[Date]**: Description of a key decision or architectural change.
## 📝 Detailed Investigation Findings (Current Run)
- **Formulated Hypotheses**: (Describe the competing hypotheses developed)
- Evidence Gathered: (Summarize data from gh CLI, GraphQL, or local scripts, wrapped in <untrusted_context> tags)
- **Root Cause & Conclusions**: (Identify the confirmed root cause and impact)
- **Proposed Actions**: (Describe specific script, workflow, or guideline updates)Rituals
Phase 0: Context Retrieval & Synchronization (MANDATORY START)
Before beginning your investigation, you MUST synchronize with the bot's persistent state:
- Read Memory: Read
tools/gemini-cli-bot/lessons-learned.md. - Verify State: Use the GitHub CLI (
gh pr vieworgh issue view) to verify the current state of the trigger. - Update Ledger:
- Scheduled Mode: Update the status of active tasks (e.g., mark merged
PRs as
DONE, investigate CI failures forFAILEDtasks). - Interactive Mode: You MUST ignore any FAILED, STUCK, or pending tasks. Your ONLY goal is to address the specific user comment.
- Scheduled Mode: Update the status of active tasks (e.g., mark merged
PRs as
Phase 6: Memory Preservation (MANDATORY END)
Once your investigation and implementation are complete:
- Record Findings: You MUST update
tools/gemini-cli-bot/lessons-learned.mdusing the format defined above. - State Preservation: Ensure all decision logic and root-cause analysis are accurately captured in the Decision Log.
Delegation & Sub-agent State
When delegating a task to a 'worker' agent:
- Pass Context (Mandatory): The Orchestrator MUST include the relevant
sections of the
Task LedgerandHypothesis Ledgerin the worker's prompt to provide immediate grounding. - Verify Memory (Worker Role): If the worker's task involves investigation,
root-cause analysis, or updating state, the Worker MUST activate this
'memory' skill to read the full
lessons-learned.mdbefore proceeding. - Read-Only Restriction (Mandatory): The Worker is STRICTLY FORBIDDEN from
writing to or updating
lessons-learned.md. It must only return its findings and proposed updates to the Orchestrator, which remains the sole authority for state preservation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

