Vibemode: Supercharge Your AI-Assisted Coding Workflow (+500% Efficiency!)
Tired of clunky workflows when using AI coding assistants? Vibemode bridges the gap between LLMs like ChatGPT and your local codebase. This CLI tool streamlines context packing and change application, massively boosting your productivity. Say goodbye to tedious copy-pasting!
Stop Context Starvation: Pack Relevant Code for Superior AI Results
Most AI coding tools sacrifice context to save on processing costs. Vibemode lets you pack entire files and directories into a structured XML format, ensuring your AI has all the information it needs to provide intelligent suggestions. This rich context translates to more accurate and relevant AI assistance, ultimately saving you time and frustration.
- Interactive Packing: Easily select files and folders using glob patterns and autocomplete.
- .gitignore Aware: Automatically excludes files specified in your
.gitignore
file, keeping your context clean and relevant. - AI-Friendly XML Output: Generates a structured XML representation of your code, optimized for AI consumption.
- Clipboard Integration: Instantly copies the packed XML to your clipboard for seamless pasting into your favorite LLM UI.
From AI Suggestion to Reality: Apply Changes with Ease
Applying AI-generated code changes can be a pain. Vibemode simplifies this process by automatically parsing AI responses and applying the changes directly to your local files, closing the loop in your AI-assisted workflow.
- Automated Patching: Parses AI-generated responses (specifically,
SEARCH/REPLACE
blocks) and intelligently applies the suggested edits. - Error Handling & Retry: Handles partial failures and allows you to retry applying patches, minimizing manual intervention.
- Powered by Gemini: Uses Google's Gemini 2.0 Flash model (API Key required) for precise "Apply Edits" functionality.
Vibemode acts as the "missing glue" in your AI-assisted workflow, saving development time.
Get Started in Seconds: No Installation Required!
Using Vibemode is incredibly simple. No installation is needed! Just run it directly using npx
:
This will launch the tool and display the main menu with two options:
- Pack files: Select files/directories to package into the AI-ready XML format.
- Apply edits: Paste the AI's response, and Vibemode will parse and apply the changes.
Applying Edits: Setting up the Gemini API
To use the "Apply edits" functionality, you need a Gemini API key. Here's how to get it:
-
Obtain a Gemini API Key: Get a free API key from Google AI Studio: https://aistudio.google.com/
-
Set the
GEMINI_KEY
Environment Variable:- Linux/macOS:
export GEMINI_KEY='YOUR_API_KEY_HERE'
- Windows (Command Prompt):
set GEMINI_KEY=YOUR_API_KEY_HERE
- Windows (PowerShell):
$env:GEMINI_KEY = 'YOUR_API_KEY_HERE'
- Linux/macOS:
Now you can use Vibemode to apply targeted AI fixes to your files!
Increase Productivity using LLMs
Vibemode empowers you to leverage the power of LLMs effectively. By streamlining context sharing and change application, it transforms AI-assisted coding from a novelty into a core element of your development process. Embrace the future of coding with Vibemode!
This tool, built as the creator's missing glue, provides an essential bridge between AI and development workflow.