Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AI DetoxNew to Visual Studio Code? Get it now.
AI Detox

AI Detox

Mohamed Saied

|
2 installs
| (0) | Free
Block dopamine-inducing AI tools.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI Detox Header

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

  1. Open VS Code
  2. Go to the Extensions view (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "AI Detox"
  4. Click Install

📖 Usage

Toggle AI Features

  1. Look for the AI Detox status bar item at the bottom-left of VS Code
  2. 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

  1. Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  2. Type "Preferences: Open Settings"
  3. Search for "AI Detox"
  4. 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

  • Built with VS Code Extension API
  • Inspired by the need for focused, distraction-free coding environments

📧 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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft