Gemini Cli Security
Securely executes Gemini API calls via CLI, managing authentication, rate limits, and data encryption for enhanced privacy.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add gemini-cli-security npx -- -y @trustedskills/gemini-cli-security
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"gemini-cli-security": {
"command": "npx",
"args": [
"-y",
"@trustedskills/gemini-cli-security"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The gemini-cli-security skill enhances Gemini CLI interactions with security features. It allows for secure file uploads and downloads, ensuring data integrity and confidentiality during transfers. This skill also provides mechanisms to protect sensitive information within command line arguments, preventing exposure in logs or shell history.
When to use it
- Transferring confidential documents (e.g., contracts, financial reports) between systems using the Gemini CLI.
- Executing commands that involve handling Personally Identifiable Information (PII) and requiring secure transmission.
- Automating tasks involving sensitive credentials within a Gemini CLI workflow.
- Protecting API keys or other secrets passed as command-line arguments to Gemini tools.
Key capabilities
- Secure file uploads via the Gemini CLI.
- Secure file downloads via the Gemini CLI.
- Protection of sensitive information in command line arguments.
Example prompts
- "Upload this encrypted document securely using the Gemini CLI."
- "Download the secure log file from the server."
- "Execute this command with the API key hidden from view."
Tips & gotchas
The skill requires a properly configured environment for encryption and decryption. Ensure that your system has the necessary dependencies installed to leverage the full security features offered by gemini-cli-security.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.