You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gemini.md to teach Claude to use google's gemini cli as his tool
Using Gemini CLI for Large Codebase Analysis
When analyzing large codebases or multiple files that might exceed context limits, use the Gemini CLI with its massive context window. Use gemini -p to leverage Google Gemini's large context capacity.
File and Directory Inclusion Syntax
Use the @ syntax to include files and directories in your Gemini prompts. The paths should be relative to WHERE you run the gemini command:
A Model Context Protocol (MCP) server that integrates Google's Gemini AI for code review, technical consultation, and AI-assisted development workflows. This server provides seamless integration with Claude Code and other MCP-compatible clients.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compare gemini and codex. What are the key technical differences between the two? Which is better?
Excellent. This is a fantastic comparison task. Let's break down the technical differences between Gemini CLI and Codex CLI based on their file structures and documentation, and then determine which one might be "better" for different use cases.
At a Glance: Gemini CLI vs. Codex CLI
Feature
Gemini CLI
Codex CLI
Core Language
TypeScript (Node.js)
Hybrid: Rust & TypeScript
Architecture
Client/Server (both in TypeScript)
Hybrid: Rust core/TUI with a parallel JS/React TUI
Sandboxing
Docker/Podman or macOS Seatbelt
Rust-based execpolicy engine, macOS Seatbelt, Linux Landlock
Generate multiple Mermaid diagrams for large codebases.
I have a large codebase that I want to understand better through visual architecture diagrams. Please analyze the project structure and create comprehensive Mermaid diagrams that help me understand the codebase at different levels of detail.
📋 Required Analysis
First, explore the codebase to understand:
Project structure - root directories, main modules, configuration files
Dependencies - internal dependencies between modules/packages
Architecture patterns - layered architecture, microservices, monolith, etc.
Key systems - core functionality areas (UI, backend, database, API, etc.)
Technology stack - frameworks, languages, tools used
Universal prompt for Claude Code to generate interactive multi-level dependency graphs for any codebase. Creates beautiful D3.js visualizations with 3 zoom levels: system overview (40k ft), module view (10k ft), and full dependency graph. Works with Rust, JavaScript, Python, Go, Java, and more.
Analyze this codebase and create a multi-level interactive dependency graph visualization as a single HTML file.
Level 1 - System Overview (40,000ft view):
Show only top-level directories/subsystems
Group by: Frontend, Backend, Core, Database, Tests, Tools, External
Display as large nodes with # of files and primary language
Date: June 19, 2025 Platform: MacOS Project: TikAPI_MCP Environment:/Users/tengjizhang/projects/flashbots_x/TikAPI_MCP
Problem Statement
The TikAPI MCP server was experiencing failures when making requests to the TikAPI service, with empty error messages: "An error occurred while requesting TikAPI: ". This prevented the /resources/read and search functionality from working properly.
Whether you’rejuggling multiple windows and panes across nested tmux sessions, having a single, ergonomic shortcut to switch and zoom panes can save you valuable time. This snippet extends your outer tmux configuration to bind <prefix> g for a seamless, two-step pane selection: un-zoom the current pane, display a long-lasting pane number overlay, and automatically zoom the pane you choose—all in one intuitive command.
Use this snippet in your ~/.ubertmux to bind <prefix> g so it:
Works whether the current pane is zoomed or not
Displays pane numbers overlay for up to 600 seconds (10 minutes)
Allows you to select any pane (including the same one) and zoom it automatically
Claude Code // Persona Driven Development Principle
Claude Best Practices for Multi-Persona Development
This document outlines the structured development workflow that ensures quality, consistency, and efficiency when using Claude for software development projects.
Core Philosophy: Test-First, Context-Aware, Persona-Driven Development
Our workflow is built on three fundamental principles:
Context-Before-Code: Always understand the full context before implementing
Test-First Development: Tests illuminate the path; they don't define the destination
Persona-Driven Development: Distinct roles with enforced transitions ensure quality at every stage