brainstorming
Structured design dialogue that validates ideas before implementation begins.
gemini-workspace-bridge
Central authority for Claude-Gemini shared workspace architecture. Defines directory structure, artifact exchange, and file naming conventions. Use when setting up dual-CLI workflows, deciding where to store AI artifacts, or managing cross-CLI file exchange.
Full skill instructions
Documentation Source: For authoritative workspace patterns and current conventions, query
gemini-cli-docsskill. This skill provides integration guidance;gemini-cli-docsprovides official Gemini CLI documentation.
This skill defines the hybrid workspace architecture for Claude Code and Gemini CLI collaboration. It establishes conventions for file storage, artifact exchange, and cross-CLI communication.
Keywords: workspace structure, artifact storage, cross-cli, shared files, gemini artifacts, claude artifacts, file locations, where to store
Use this skill when:
The workspace uses a hybrid strategy:
project-root/
├── CLAUDE.md # Source of truth (tracked)
├── GEMINI.md # Points to CLAUDE.md + overrides (tracked)
│
├── .claude/
│ ├── settings.json # Claude Code configuration
│ └── temp/ # (gitignored) Session artifacts
│ └── gemini-results/ # Parsed Gemini outputs
│
├── .gemini/
│ ├── settings.json # Gemini CLI configuration
│ └── temp/ # (gitignored) Gemini session state
│
└── docs/ # (tracked) Persistent AI artifacts
└── ai-artifacts/ # Version-controlled reports
├── explorations/ # Codebase exploration reports
└── plans/ # Implementation plans
Is this artifact valuable long-term?
├── YES: Should others see it in git history?
│ ├── YES → docs/ai-artifacts/
│ └── NO → .claude/temp/ or .gemini/temp/
└── NO: Is it session-specific?
├── YES → .claude/temp/ or .gemini/temp/
└── NO → Consider not storing it
| Artifact Type | Location | Tracked? | Rationale |
|---|---|---|---|
| Memory/context | CLAUDE.md, GEMINI.md | Yes | Core project knowledge |
| Implementation plans | docs/ai-artifacts/plans/ | Yes | Want to see evolution |
| Exploration reports | docs/ai-artifacts/explorations/ | Yes | Reference material |
| Session results | .claude/temp/gemini-results/ | No | Transient |
| Second opinions | .claude/temp/gemini-results/ | No | Transient |
| Checkpoints | ~/.gemini/history/<hash>/ | No | System-managed |
| Sync state | .claude/temp/sync-state.json | No | Internal tracking |
Add to project .gitignore:
# AI session artifacts (transient)
.claude/temp/
.gemini/temp/
# System-managed
.gemini/history/
# Keep these tracked:
# CLAUDE.md
# GEMINI.md
# docs/ai-artifacts/
Format: {type}-{scope}-{timestamp}.md
# Exploration reports
exploration-architecture-2025-11-30T12-00-00Z.md
exploration-dependencies-2025-11-30T14-30-00Z.md
# Implementation plans
plan-add-auth-2025-11-30T12-00-00Z.md
plan-refactor-db-2025-11-30T14-30-00Z.md
Format: {operation}-{timestamp}.{json|md}
# Raw Gemini results
query-2025-11-30T12-00-00Z.json
analysis-2025-11-30T12-00-00Z.json
# Processed results
analysis-summary-2025-11-30T12-00-00Z.md
# Create directory structure
mkdir -p .claude/temp/gemini-results
mkdir -p .gemini/temp
mkdir -p docs/ai-artifacts/explorations
mkdir -p docs/ai-artifacts/plans
# Create GEMINI.md if not exists
if [ ! -f "GEMINI.md" ]; then
cat > GEMINI.md << 'EOF'
# GEMINI.md
@CLAUDE.md
## Gemini-Specific Overrides
You are Gemini CLI. You have access to:
- Large context window (exceeds typical LLM limits)
- Interactive PTY shell (vim, git rebase -i)
- Checkpointing with instant rollback
- Policy engine for tool control
When working with this codebase, prioritize bulk analysis
and exploration tasks that benefit from your large context.
EOF
fi
# Update .gitignore
grep -q ".claude/temp/" .gitignore 2>/dev/null || echo ".claude/temp/" >> .gitignore
grep -q ".gemini/temp/" .gitignore 2>/dev/null || echo ".gemini/temp/" >> .gitignore
# Claude prepares context
cat CLAUDE.md relevant-files/* > .claude/temp/context-bundle.txt
# Gemini consumes
cat .claude/temp/context-bundle.txt | gemini "Analyze this context"
# Gemini produces result
gemini "Explore architecture" --output-format json > .claude/temp/gemini-results/exploration.json
# Claude parses result
cat .claude/temp/gemini-results/exploration.json | jq -r '.response'
# For valuable artifacts that should be tracked
result=$(gemini "Create implementation plan" --output-format json)
echo "$result" | jq -r '.response' > docs/ai-artifacts/plans/plan-feature-$(date -u +%Y-%m-%dT%H-%M-%SZ).md
# Clean artifacts older than 7 days
find .claude/temp/gemini-results -type f -mtime +7 -delete
find .gemini/temp -type f -mtime +7 -delete
# Clear all session artifacts
rm -rf .claude/temp/*
rm -rf .gemini/temp/*
# Keep recent, delete old
find .claude/temp/gemini-results -name "*.json" -mtime +3 -delete
CLAUDE.md is the authoritative memory fileGEMINI.md imports from CLAUDE.md and adds overridesdocs/ai-artifacts/docs/ai-artifacts/ should be trackedgemini-memory-sync - CLAUDE.md ↔ GEMINI.md synchronizationgemini-exploration-patterns - Exploration output standardsgemini-context-bridge - Legacy context sharing patterns/sync-context - Synchronize memory files/gemini-explore - Generates exploration reports/gemini-plan - Generates implementation plansQuery: "How do I set up a project for Claude and Gemini collaboration?" Expected Behavior:
Query: "Where should I store Gemini exploration results?" Expected Behavior:
Query: "How do I pass context from Claude to Gemini?" Expected Behavior:
Structured design dialogue that validates ideas before implementation begins.
Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.
Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.
Introduction to the obra skills system with mandatory skill invocation rules and best practices.
Execute a written implementation plan with critical review and task checkpoints.
Delegate independent tasks to specialized agents working concurrently with isolated context.
Isolated git worktrees with smart directory selection and safety verification.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
The world's fastest calendar for remote work
Capture, organize, and utilize your knowledge effortlessly.
Instant Summaries of Audio & Video Interviews with AnySummary
Transform PDFs into engaging mind maps.
Chat with any PDF instantly
Create an optimal daily plan using your voice
A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.
AskYourPDF Pricing Plans: Tailored to Your Needs