A powerful VSCode extension that integrates ChatGPT o3/o3-mini and Claude Code for enhanced AI-powered coding collaboration.
- ChatGPT o3/o3-mini support via OpenAI API
- Claude Code terminal integration
- GitHub Copilot compatibility
- Easy model switching and configuration
- Repomix Integration - Convert entire repositories to AI-friendly format
- Private Repository Support - No need to make repos public
- Configurable Patterns - Include/exclude specific file types
- Security Scanning - Built-in sensitive data detection
- File Context Sharing - Add individual files to AI context
- Selection Context - Share specific code selections
- Token Management - Automatic context size optimization
- Cross-Model Sharing - Share context between different AI models
- One-Click Actions - Package, share, and interact with AI models
- Split-Screen Support - Work with multiple AI models simultaneously
- Command Palette Integration - Access all features via Ctrl+Shift+P
- Dashboard View - Visual overview of all AI integrations
- VSCode 1.85.0 or higher
- Node.js 18+ (for Repomix)
- OpenAI API key (for ChatGPT features)
# Install Repomix globally
npm install -g repomix
# Install Claude Code (optional)
# Follow instructions at https://docs.anthropic.com/claude-code
- Download the
.vsix
file from releases - Open VSCode
- Go to Extensions view (Ctrl+Shift+X)
- Click the "..." menu and select "Install from VSIX"
- Select the downloaded
.vsix
file
- Open Command Palette (Ctrl+Shift+P)
- Run "AI Code Buddy: Configure AI Models"
- Enter your OpenAI API key
- Select your preferred default model
- Right-click on a folder in Explorer
- Select "Package Repository for AI"
- Choose file patterns to include/exclude
- Repository will be packaged into AI-friendly format
- Open any file or make a selection
- Run "AI Code Buddy: AI Context Manager"
- Choose "Add current file to context" or "Add current selection to context"
- Share context with ChatGPT or Claude Code
- ChatGPT: Run "AI Code Buddy: Open ChatGPT o3/o3-mini"
- Claude Code: Run "AI Code Buddy: Open Claude Code Terminal"
- Dashboard: Run "AI Code Buddy: Show Dashboard" for overview
Command | Description | Shortcut |
---|---|---|
aicodeBuddy.packageRepo |
Package repository for AI | - |
aicodeBuddy.openChatGPT |
Open ChatGPT o3/o3-mini | - |
aicodeBuddy.openClaudeCode |
Open Claude Code terminal | - |
aicodeBuddy.contextManager |
AI Context Manager | Ctrl+Shift+C |
aicodeBuddy.showDashboard |
Show dashboard | - |
aicodeBuddy.configureModels |
Configure AI models | - |
aicodeBuddy.openaiApiKey
- OpenAI API keyaicodeBuddy.defaultModel
- Default AI model to useaicodeBuddy.repomixIncludePatterns
- File patterns to includeaicodeBuddy.repomixIgnorePatterns
- File patterns to ignoreaicodeBuddy.autoContextSharing
- Auto-share context between models
{
"aicodeBuddy.defaultModel": "o3-mini",
"aicodeBuddy.repomixIncludePatterns": [
"*.py",
"*.js",
"*.ts",
"*.md",
"*.json"
],
"aicodeBuddy.repomixIgnorePatterns": [
"node_modules/*",
"dist/*",
"*.pyc",
"__pycache__/*"
],
"aicodeBuddy.autoContextSharing": true
}
# Package your repository
AI Code Buddy: Package Repository for AI
# Share with ChatGPT for review
AI Code Buddy: Open ChatGPT o3/o3-mini
# Paste the generated XML content
# Get detailed analysis and suggestions
# Start with ChatGPT for planning
AI Code Buddy: Open ChatGPT o3/o3-mini
# Switch to Claude Code for implementation
AI Code Buddy: Open Claude Code Terminal
# Share context between models
AI Code Buddy: AI Context Manager
# Your private repository stays private
# Repomix processes everything locally
# Generate AI-friendly package
AI Code Buddy: Package Repository for AI
# Share with any AI model
# No data leaves your machine until you choose to share
- β GPT-4o
- β o3-mini
- β o3 (when available)
- β Claude 3.5 Sonnet (via Claude Code)
- β Claude Sonnet 4 (via Claude Code)
- β GitHub Copilot (native integration)
- β Any ChatGPT-compatible API
- Local Processing - Repomix runs on your machine
- No Auto-Upload - You control what gets shared
- API Key Security - Stored in VSCode secure settings
- Sensitive Data Detection - Built-in security scanning
- Review generated packages before sharing
- Use ignore patterns for sensitive files
- Regularly rotate API keys
- Monitor API usage and costs
"Repomix command not found"
npm install -g repomix
"OpenAI API key not configured"
- Run "AI Code Buddy: Configure AI Models"
- Enter valid OpenAI API key
"Claude Code not found"
- Install Claude Code CLI
- Follow setup instructions at https://docs.anthropic.com/claude-code
"Context size exceeded"
- Use more specific file patterns
- Remove old context items
- Use selections instead of full files
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
MIT License - See LICENSE file for details
- π Bug Reports: Open an issue on GitHub
- π‘ Feature Requests: Open an issue with "enhancement" label
- π Documentation: Check the Wiki
- π¬ Discussions: Use GitHub Discussions
- Initial release
- Multi-model AI integration
- Repomix repository packaging
- Context management system
- Dashboard interface
- OpenAI API integration
- Claude Code terminal integration
Made with β€οΈ for the AI coding community