install
source · Clone the upstream repo
git clone https://github.com/memovai/memov
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/memovai/memov "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/vibegit" ~/.claude/skills/memovai-memov-vibegit && rm -rf "$T"
manifest:
skills/vibegit/SKILL.mdsource content
VibeGit - AI Coding History
AI-assisted version control using Memov. Track every AI interaction with your codebase.
Prerequisites
This skill requires the
memov Python package which provides the mem CLI command.
Installation Options
Choose one of the following methods:
# Option 1: Official install script (recommended) curl -fsSL https://raw.githubusercontent.com/memovai/memov/main/install.sh | bash
Verify Installation
mem
Initialize in Your Project
cd your-project mem init
How to Use
There are two ways to use VibeGit:
- Skill scripts (this folder): run
to call the local./scripts/*.sh
CLI.mem - MCP tools (Claude Code): use the MCP server tools like
.mcp__mem-mcp__snap
They are related but not identical:
- Skill scripts are a thin wrapper over
CLI.mem - MCP tools may add extra behavior (e.g. auto-track untracked files, auto-sync for RAG features).
Commands
All commands should be run from the skill directory using the scripts provided.
Core Operations
| Script | Description | Usage |
|---|---|---|
| Initialize memov in a project | |
| Track new files | |
| Record a code change | |
| View AI coding history | |
| Show commit details | |
| Check working directory status | |
Navigation
| Script | Description | Usage |
|---|---|---|
| Jump to a specific snapshot | |
| List/create/delete branches | |
| Switch branches | |
Web UI
Before running
mem ui start, confirm where you want to open the UI:
- Which project directory should the UI read from?
- If not sure, run
and usepwd
.--loc <that path>
- If not sure, run
Suggested confirmation prompt:
| Script | Description | Usage |
|---|---|---|
| Start visual history browser | |
| Stop the web server | |
| Check server status | |
Automatic Recording
After every AI coding session, record the interaction:
./scripts/snap.sh \ --files "api.py,tests/test_api.py" \ --prompt "Add authentication endpoint" \ --response "Added /login POST endpoint with JWT token generation"
Parameters
: Comma-separated list of files that were modified--files
or--prompt
: The user's original request-p
or--response
: Summary of what was done-r
or--by-user
: Mark as human edit (vs AI)-u
RAG Features (Optional)
Some features (semantic search, validate, vibe_debug/vibe_search tools) require installing extra dependencies.
- CLI: install with
then runpip install memov[rag]
once.mem sync - MCP: those tools may not appear unless RAG dependencies are installed.
Examples
Record a bug fix
./scripts/snap.sh \ --files "auth.py" \ --prompt "Fix null pointer in login" \ --response "Added null check for user object at L45"
View recent history
./scripts/history.sh --limit 10
Jump to previous state
./scripts/jump.sh a1b2c3d
Direct CLI Usage
You can also use the
mem CLI directly:
# Initialize mem init # Track new files mem track file1.py file2.py -p "Initial tracking" # Snapshot changes mem snap --files file1.py -p "Added feature X" -r "Implemented..." # View history mem history # Show specific commit mem show a1b2c3d # Jump to snapshot mem jump a1b2c3d
What Gets Recorded
Each snapshot captures:
- Prompt: What you asked the AI to do
- Response: What the AI said it did
- Files: Which files were changed
- Diff: Actual code changes
- Timestamp: When it happened
- Source: AI or human
Benefits
- Never lose context: Every AI interaction is recorded
- Time travel: Jump to any point in your coding history
- Understand changes: See not just what changed, but why
Troubleshooting
"memov CLI not found" error
If you see this error when running any script, memov is not installed. Run:
# Quick check ./install.sh # Or install manually pip install memov
Scripts not executable
chmod +x scripts/*.sh install.sh