A collection of ready-to-use Gemini CLI agent templates for business workflows. Quickly bootstrap new projects with best-practice agent settings and documentation.
Check your installation:
node -v
npm -vBefore installing the Gemini CLI, ensure you have Node.js (v16+ recommended) installed on your system. You can install it via your system's package manager or directly from the Node.js website.
Install the Gemini CLI globally using npm or yarn:
npm install -g @google/gemini-cli
# Or with yarn:
yarn global add @google/gemini-cli-
Install Node.js (if not already installed): Using Chocolatey (recommended package manager for Windows):
choco install nodejs-lts -y
Alternatively, download the installer from the Node.js website.
-
Install Gemini CLI: Open PowerShell or Command Prompt as an administrator and run:
elevate npm install -g @google/gemini-cli
(The
elevatecommand is often available if you have Chocolatey installed, or you can manually run your terminal as administrator.)
To use the Gemini CLI, you need a Gemini API key.
- Go to Google AI Studio and sign in with your Google account.
- Create or view your Gemini API key.
- Set the API key as an environment variable in your shell (preferred method):
Or follow the CLI's instructions for configuring the API key if different.
export GEMINI_API_KEY=your-api-key-here
Keep your API key secure and do not share it publicly.
Follow these steps to create a new project using a Gemini CLI assistant template:
-
Clone this repository somewhere outside your target project:
git clone https://github.com/devkindhq/gemini-cli-assistants cd gemini-cli-assistantsAlternative: Download Manually (No Git) If you don't have Git installed or prefer not to use it, you can download the repository as a ZIP file:
- Go to the Gemini CLI Assistants GitHub page.
- Click the green
<> Codebutton. - Select
Download ZIP. - Extract the contents of the ZIP file to a location on your computer (e.g.,
~/Downloads/gemini-cli-assistants-main). - Navigate into the extracted directory:
cd ~/Downloads/gemini-cli-assistants-main
Then, proceed with the rest of the setup steps, adjusting paths as necessary.
-
Create a folder for your Gemini CLI projects (if you don't have one):
mkdir -p ../gemini-cli-projects cd ../gemini-cli-projects -
Create a new project folder (e.g.,
shopify-redesign-proposal):mkdir shopify-redesign-proposal cd shopify-redesign-proposal -
Use an agent template
- The agent templates are already located in their respective folders under
assistants/. - To use an agent, simply navigate to its folder (e.g.,
assistants/sales-strategy/) and run thegeminicommand from there. - If you modify an agent's
GEMINI.mdor.gemini/settings.jsonfile, you may need to close and reopen the Gemini CLI for the changes to take effect. projects/: A folder where users can store project-specific information, documents, or data that the agents can reference. This folder is ignored by Git.
- The agent templates are already located in their respective folders under
After navigating into an agent's directory (e.g., assistants/sales-strategy/), your project structure will look like this:
assistants/
└── sales-strategy/
├── GEMINI.md
└── .gemini/
└── settings.json
GEMINI.md: The agent's system prompt and documentation..gemini/settings.json: The configuration file for the Gemini CLI assistant, including tool definitions.
Once set up, run the Gemini CLI in your project directory to interact with your chosen assistant:
gemini- Press the Up Arrow in the terminal to quickly access your previous Gemini CLI conversations.
- You can ask Gemini to write information directly into files, so you don’t have to copy-paste content manually.
- Type
/mcpin the Gemini CLI to check which MCPs (Multi-Command Plugins) are available. - Press Ctrl+T in the Gemini CLI to view details about each MCP—helpful for discovering what’s available and what’s working.
If you have any environment variable that matches CI at the start of its name (e.g., CI_TOKEN, CI_BUILD), the Gemini CLI might interpret this as running in a Continuous Integration (CI) environment and disable its interactive prompt interface. To temporarily enable the prompt interface, unset such a variable for the specific command. For example:
env -u CI_BUILD geminiTo check if you have any CI related environment variables set, you can use:
env | grep ^CIHere's a list of the pre-configured Gemini CLI agent templates available in this repository:
Description: A senior AI assistant designed to drive sales and identify new opportunities by proactively hunting for leads, analyzing strategic gaps, and delivering action-oriented outputs.
Description: A senior AI research analyst and strategic partner for the engineering team. Its purpose is to execute technical research with rigor, precision, and speed, transforming ad-hoc research into a disciplined, data-driven process.
Gemini CLI Assistants are versatile and can be used for a variety of collaboration and workflow scenarios:
- Engineering, DevOps, QA, UI/UX, and more:
- Collaborate on technical projects, automate workflows, and streamline team communication.
- Advanced: Initialize a git repository in your project folder to track changes, share knowledge, and collaborate with your team:
git init git add . git commit -m "Initial commit"
- Marketing, Sales, Project Management, etc.:
- For non-technical teams, simply place your project folder inside a shared drive (Google Drive, OneDrive, Dropbox, etc.).
- Use the Gemini CLI from your desktop in that folder—no technical setup required. Desktop app versions of these drive services are available for easy access.
For more information on Model Context Protocols and how they extend the capabilities of the Gemini CLI, refer to the MCP README.
Understanding how large language models are prompted is crucial for effective interaction and for developing robust AI applications. This section provides resources on leaked prompts and publicly available system prompts, offering insights into real-world prompting strategies.
- Zed.dev Leaked Prompts
- Collection of Leaked System Prompts (GitHub)
- A List of Leaked System Prompts (mattrickard.com)
- FULL v0, Cursor, Manus, Same.dev, Lovable, Devin, Replit Agent, Windsurf Agent, VSCode Agent, Dia Browser, Xcode, Trae AI & Cluely (And other Open Sourced) System Prompts, Tools & AI Models (GitHub)
- Collection of extracted System Prompts from popular chatbots like ChatGPT, Claude & Gemini (GitHub)
Contributions are welcome! Please open issues or pull requests for improvements or new agent templates.
This project is licensed under the MIT License. See LICENSE for details.