Overview Version History Q & A Rating & Review
GhostTrack Code Intelligence
Enterprise AI Code Intelligence - Claude Code monitoring, cost tracking, model comparison, and real-time collaboration powered by the GhostTrack engine.
Features
🔍 Real-time Code Analysis
Instant Feedback : Analyze code as you type with real-time diagnostics
Multi-language Support : JavaScript, TypeScript, Python, Rust, Java, Go, C, C++, C#
Smart Caching : Efficient caching for fast response times
💰 Claude Code Bridge Integration
Real-time Monitoring : Track Claude Code changes in real-time
Session Tracking : Monitor Claude coding sessions and modifications
Change Detection : Instant notifications for AI-generated code changes
Pattern Analysis : Identify common AI coding patterns and improvements
📊 AI Cost Tracking & Optimization
Real-time Cost Monitoring : Track API costs across all AI providers
Cost Breakdowns : Detailed breakdowns by model, time period, and usage
Alert Thresholds : Set daily/monthly cost alerts to prevent overages
Optimization Recommendations : Get suggestions to reduce AI costs
🔄 AI Model Comparison
Multi-Model Testing : Compare responses from Claude, GPT-4, Gemini, and more
Performance Metrics : Response time, token usage, and cost analysis
Quality Comparison : Side-by-side output comparison for decision making
Rate Limit Monitoring : Check API limits across all providers
📊 Quality Metrics
Complexity Analysis : Cyclomatic and cognitive complexity metrics
Maintainability Scoring : Code maintainability and readability scores
Business Impact Assessment : Risk and criticality analysis
Security Scanning : Identify vulnerabilities with CWE mapping
Performance Analysis : Find performance bottlenecks and optimization opportunities
Technical Debt Tracking : Measure and prioritize technical debt
🤖 AI-Powered Insights
Smart Recommendations : AI-powered improvement suggestions
Refactoring Guidance : Intelligent refactoring recommendations
Best Practices : Code best practice enforcement
Architecture Insights : Design pattern recognition and architectural analysis
👥 Real-time Collaboration
WebSocket Integration : Real-time sync with team members
Session Management : Persistent sessions with automatic recovery
Shared Analysis : Share code insights across your team
Live Updates : See team member's analysis results instantly
📈 Rich Visualizations
Interactive Dashboard : Real-time engine statistics and metrics
Tree View Panels : Code health and AI insights in the sidebar
Hover Information : Detailed metrics on hover
Status Bar Integration : At-a-glance code quality indicators
GhostTrack Shell : Interactive REPL for advanced operations
Prerequisites
VS Code 1.74.0 or higher
GhostTrack Rust Engine (included in the GhostTrack platform)
Anthropic Claude API key (for AI analysis)
Installation
Install the extension from the VS Code marketplace
Configure your API key: Ctrl+Shift+P
→ "Preferences: Open Settings" → Search for "ghosttrack"
Set your Anthropic API key in the ghosttrack.apiKey
setting
Start the GhostTrack engine using the command palette: Ctrl+Shift+P
→ "GhostTrack: Start Engine"
Quick Start
Start the Engine : Use Ctrl+Shift+P
→ "GhostTrack: Start Engine"
Analyze Code : Right-click on any file → "Analyze with GhostTrack"
View Results : Check the GhostTrack sidebar panels for insights
Dashboard : Use Ctrl+Shift+P
→ "GhostTrack: Show Dashboard"
Configuration
Extension Settings
Setting
Description
Default
ghosttrack.engineUrl
GhostTrack Engine server URL
http://localhost:8080
ghosttrack.apiKey
API key for AI provider
""
ghosttrack.provider
AI provider (anthropic/openai)
anthropic
ghosttrack.enableRealTimeAnalysis
Enable real-time analysis on save
true
ghosttrack.enableInlineDiagnostics
Show inline diagnostics
true
ghosttrack.complexityThreshold
Complexity threshold for warnings
10
ghosttrack.autoStartEngine
Auto-start engine on activation
false
ghosttrack.enginePath
Path to engine binary
""
API Key Setup
Get your Anthropic Claude API key from console.anthropic.com
Open VS Code settings: Ctrl+,
Search for "ghosttrack"
Set your API key in the ghosttrack.apiKey
field
Commands
Core Analysis
Command
Description
GhostTrack: Analyze
Analyze current file or selection
GhostTrack: Analyze Current File
Analyze the active file
GhostTrack: Analyze Entire Project
Analyze the entire workspace
GhostTrack: Show Dashboard
Open the analysis dashboard
Engine Management
Command
Description
GhostTrack: Start Engine
Start the GhostTrack engine
GhostTrack: Stop Engine
Stop the GhostTrack engine
GhostTrack: Restart Engine
Restart the GhostTrack engine
GhostTrack: Show Engine Status
Display engine health and metrics
Claude Code Bridge
Command
Description
GhostTrack: Start Claude Code Monitoring
Begin tracking Claude Code changes
GhostTrack: Stop Claude Code Monitoring
Stop tracking Claude Code changes
GhostTrack: Claude Code Monitor Status
Show monitoring status
GhostTrack: View Recent Claude Changes
View recent AI-generated changes
Cost Management
Command
Description
GhostTrack: Show Today's AI Costs
View today's API costs
GhostTrack: AI Cost Breakdown
Detailed cost analysis by model and time
GhostTrack: Set Cost Alert Threshold
Configure daily cost alerts
Model Comparison
Command
Description
GhostTrack: Compare AI Models
Compare multiple AI model responses
GhostTrack: Check API Rate Limits
View rate limit status for all providers
Collaboration & Sessions
Command
Description
GhostTrack: Show AI Chat
Open AI-powered chat interface
GhostTrack: Show Session Statistics
View session metrics and history
GhostTrack: Create New Session
Start a new analysis session
GhostTrack: Show WebSocket Status
Check real-time connection status
Interactive Shell
Command
Description
GhostTrack: Open GhostTrack Shell
Launch interactive REPL environment
Views
Code Health Panel
Quality Metrics : Overall code quality scores
Issues : Bugs, code smells, and anti-patterns
Security : Security vulnerabilities by severity
Performance : Performance issues and bottlenecks
Technical Debt : Debt analysis and refactoring priorities
AI Insights Panel
Recommendations : AI-powered improvement suggestions
Refactoring : Code refactoring opportunities
Best Practices : Best practice violations and suggestions
Optimization : Performance optimization opportunities
Architecture : Design patterns and architectural insights
How It Works
Code Parsing : The Rust engine parses your code using Tree-sitter
Analysis : Static analysis identifies issues, complexity, and patterns
AI Processing : Code is analyzed by AI for semantic insights
Visualization : Results are displayed in VS Code with rich UI
Caching : Results are cached for performance
Fast Analysis : Rust engine provides millisecond response times
Smart Caching : LRU cache reduces API calls and costs
Incremental Updates : Only analyze changed files
Background Processing : Non-blocking analysis execution
Supported Languages
JavaScript/TypeScript
Python
Rust
Java
Go
C/C++
C#
Troubleshooting
Engine Connection Issues
Ensure the GhostTrack engine is running
Check the engine URL in settings
Verify firewall/network connectivity
API Key Issues
Verify your Anthropic API key is correct
Check your API quota and billing
Ensure the key has proper permissions
Check the engine's memory usage
Adjust analysis frequency settings
Review file size limits
Contributing
This extension is part of the GhostTrack platform. For issues and contributions:
Check the GitHub repository
Submit issues with detailed reproduction steps
Follow the contribution guidelines
License
MIT License - see LICENSE file for details
Support
Documentation : Visit the GhostTrack documentation
Issues : Report bugs on GitHub
Community : Join our Discord server
Enterprise : Contact us for enterprise support
Made with ❤️ by the GhostTrack team