rickbot-adk: Instructions file for Gemini CLI

GEMINI.md

rickbot-adk GEMINI.md is an instructions file for Gemini CLI from derailed-dash/rickbot-adk. It costs 1,452 tokens per session, scanned A, original, MIT.

Project instructions for Rickbot-ADK, an application with several chatbot personalities, built with Google's Agent Development Kit. They describe setup, project details, and how to run it.

In plain words
What is it for?
They are for configuring the environment, understanding the project's structure and dependencies, and building or running the application.
Why use it?
They help the coding agent use the correct Google Cloud project and avoid setup-related test and development failures.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md. Also seen: mentions Gemini CLI.

This is derailed-dash/rickbot-adk's own configuration. It tells Gemini CLI how to work on rickbot-adk itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rickbot-adk configures →

Reuse

Borrowing it

Nothing to install: this file belongs to derailed-dash/rickbot-adk. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/derailed-dash/rickbot-adk/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/derailed-dash/rickbot-adk

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rickbot-adk GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/derailed-dash/rickbot-adk/gemini-md/github.svg)](https://agentmods.dev/instructions/derailed-dash/rickbot-adk/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/derailed-dash/rickbot-adk/gemini-md"><img src="https://agentmods.dev/badge/instructions/derailed-dash/rickbot-adk/gemini-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rickbot-adk GEMINI.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/derailed-dash/rickbot-adk/gemini-md"><img src="https://agentmods.dev/badge/instructions/derailed-dash/rickbot-adk/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,452 This file is loaded in full into every session.
When invoked 1,452 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01452 $0.01452
Opus 5.5 $0.00581 $0.00581
Sonnet 5.5 $0.00290 $0.00290
Haiku 4.5 $0.00145 $0.00145

Measured 2mo ago against content hash 756cde717f78, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rickbot-adk GEMINI.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

GEMINI.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Project: Rickbot-ADK


IMPORTANT: Run this check at the start of EVERY session!

Google Cloud configuration is achieved through a combination of .env and the scripts/setup-env.sh script. Note that .env is encrypted in the repo using git-encrypt.

Before providing your FIRST response in any conversation, you MUST perform the following steps:

  1. Run printenv GOOGLE_CLOUD_PROJECT to check the environment variable.
  2. Based only on the output of that command, state whether the variable is set.
  3. If it is not set, run scripts/setup-env.sh before resuming the conversation.
  4. Note that the GOOGLE_CLOUD_PROJECT must be set to a value that includes "rickbot". E.g. "rickbot-adk-dev". If it is not, then you are using an incorrect project and will likely encounter errors.

The presence of this environment variable indicates that the script has been run. The absence of this variable indicates that the script has NOT been run.

Note that failures with Google Cloud are likely if this script has not been run. For example, tests will fail. If tests are failing, we should check if the script has been run.

Project Overview

This project is "Rickbot-ADK" a multi-personality chatbot built using Google Gemini and the Agent Development Kit (ADK). It is an evolution of the original Rickbot, aiming to leverage the ADK for more advanced capabilities. The chatbot can adopt various personalities, such as Rick Sanchez, Yoda, and others.

Project Plan

  • The TODO.md captures the overall plan for this project.

Building and Running

Dependencies

  • uv: Python package manager
  • Google Cloud SDK: For interacting with GCP services
  • Terraform: For infrastructure as code
  • make: For running common development tasks

Project dependencies are managed in pyproject.toml and can be installed using uv. The make commands streamline many uv and adk commands.

Deployment

The application is designed for deployment to Google Cloud's Vertex AI Agent Engine. The deployment process is managed via Terraform and Google Cloud Build.

Read the full file on GitHub · 94 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 94 lines · 1,452 tokens per session scan A 756cde717f78

Subscribe to this mod's changes

rickbot-adk GEMINI.md is an instructions file published in the GitHub repository derailed-dash/rickbot-adk (20 stars, last pushed 4mo ago), licensed MIT. It adds 1,452 tokens to every session, about $0.0058 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

rickbot-adk GEMINI.md compared with instructions from other repositories

rickbot-adk GEMINI.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rickbot-adk GEMINI.mdderailed-dash/rickbot-adkInstructions file204mo agoMITA1,452Gemini CLI
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode