
AI Detox
A VS Code extension that helps you focus by blocking dopamine-inducing AI tools. Take control of your coding workflow and build your skills through manual coding.
📋 Description
Block dopamine-inducing AI tools.
AI Detox is a simple yet powerful VS Code extension designed to help you break free from the constant pull of AI-assisted coding. Modern AI tools can create a dopamine-driven feedback loop that makes it harder to develop deep coding skills and maintain focus. This extension gives you the power to instantly disable AI features with a single click, allowing you to:
- Build genuine coding skills through hands-on practice
- Maintain deep focus without AI distractions
- Reduce dependency on AI assistance
- Improve problem-solving abilities by working through challenges yourself
Take back control of your development workflow and rediscover the satisfaction of writing code yourself.
🎯 Overview
AI Detox is designed to help developers maintain focus and improve their coding skills by providing an easy way to disable AI-assisted features in VS Code. When enabled, it blocks AI features that might distract you from deep, focused work.
✨ Features
- One-Click Toggle: Quickly enable or disable AI features with a single click from the status bar
- Visual Status Indicator: Clear visual feedback showing whether AI features are currently blocked
- Focus Mode: Configure focus sessions to automatically disable AI assistance
- Activity Bar View: Dedicated view in the activity bar for managing your focus sessions
- Welcome View: Get notified when focus mode is active
🚀 Installation
From VS Code Marketplace
- Open VS Code
- Go to the Extensions view (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "AI Detox"
- Click Install
📖 Usage
Toggle AI Features
- Look for the AI Detox status bar item at the bottom-left of VS Code
- Click the status bar item to toggle AI features on/off
- $(debug-disconnect) AI Detox - AI features are disabled
- $(debug-connected) AI Detox - AI features are enabled
Using Focus Mode
- Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
- Type "Preferences: Open Settings"
- Search for "AI Detox"
- Enable "AI Detox: Focus Mode" to automatically disable AI features
⚙️ Configuration
The extension provides the following configuration options:
aiDetox.focusMode
- Type:
boolean
- Default:
false
- Description: When enabled, AI features are automatically disabled. This setting controls the focus mode state.
You can configure this in your VS Code settings:
{
"aiDetox.focusMode": true
}
📝 How It Works
AI Detox works by toggling VS Code's built-in chat.disableAIFeatures setting. When you enable AI Detox:
- The extension sets
chat.disableAIFeatures to true
- AI-assisted features in VS Code are disabled
- The status bar indicator shows that AI is blocked
When you disable AI Detox:
- The extension sets
chat.disableAIFeatures to false
- AI-assisted features are re-enabled
- The status bar indicator shows that AI is available
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
📧 Support
For issues, feature requests, or questions, please open an issue on the GitHub repository.
Focus on your code. Build your skills. Stay in the flow.