gemini-config-management

Configure Google Gemini CLI global and project-specific settings.

2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/DTMC-marketplace/governance --skill gemini-config-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-config-management
Source: https://github.com/DTMC-marketplace/governance/tree/main/skills/gemini-config-management
Command: npx skills add https://github.com/DTMC-marketplace/governance --skill gemini-config-management

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert guidance on configuring the Google Gemini CLI, ensuring users can effectively manage settings, security policies, and environment variables for optimal performance and security.

Core Features & Use Cases

  • Settings Management: Configure global (~/.gemini/settings.json) and project-specific (.gemini/settings.json) settings.
  • Security: Manage Trusted Folders and understand their security implications.
  • Policy Engine: Set up and understand Policy Engine rules for execution control.
  • Environment Variables: Configure settings via GEMINI_* environment variables.
  • Use Case: A developer needs to ensure their Gemini CLI project adheres to security best practices by configuring trusted folders and understanding how project-specific settings override global defaults.

Quick Start

Use the gemini-config-management skill to find out how to enable trusted folders in Gemini CLI.

Frequently Asked Questions about gemini-config-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Gemini CLI settings for a specific project?

To configure Gemini CLI settings for a specific project, you need to create and manage a `.gemini/settings.json` file in your project directory, which will override global defaults defined in `~/.gemini/settings.json`.

How do I enable trusted folders in the Gemini CLI?

You can enable and manage trusted folders in the Gemini CLI by configuring your settings files, ensuring the CLI only executes commands within explicitly authorized directories to maintain strict security boundaries.

What is configuration precedence when using GEMINI environment variables?

Configuration precedence in the Gemini CLI determines how `GEMINI_*` environment variables override project-specific and global `settings.json` values, allowing you to troubleshoot unexpected behavior when multiple configuration layers intersect.

How do I set up Policy Engine rules for Gemini CLI execution control?

Setting up Policy Engine rules for Gemini CLI execution control involves defining specific constraints in your configuration files to govern how the CLI operates and manages actions within your environment.

Can I configure UI and telemetry settings globally for Gemini CLI?

Yes, you can configure UI and telemetry settings globally for Gemini CLI by adjusting the preferences within your global `~/.gemini/settings.json` file to customize interface behavior and data collection.

Why are my project-specific Gemini CLI settings not overriding global defaults?

Project-specific Gemini CLI settings in `.gemini/settings.json` might not override global defaults due to configuration precedence rules or `GEMINI_*` environment variables taking priority over your defined file configurations.