# Antivibe

Code learning and audit framework.

- Repository: https://github.com/mohi-devhub/antivibe (1131 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-07-31
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add mohi-devhub/antivibe --skill antivibe -g -a claude-code -y`
Codex: `npx skills add mohi-devhub/antivibe --skill antivibe -g -a codex -y`
Cursor: `npx skills add mohi-devhub/antivibe --skill antivibe -g -a cursor -y`
Gemini CLI: `npx skills add mohi-devhub/antivibe --skill antivibe -g -a gemini-cli -y`

## Description

Code learning and audit framework. Analyze any codebase, new, legacy, or AI-generated, and produce educational explanations or architectural audits. Use when the user wants to understand WHAT and WHY behind any code, not just accept it.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# AntiVibe - Code Learning & Audit Framework

## Purpose

AntiVibe generates **learning-focused explanations or architectural audits** of any code, AI-generated, legacy, or otherwise. It helps developers understand:
- **What** the code does (functionality)
- **Why** it was written this way (design decisions)
- **When** to use these patterns (context)
- **What alternatives** exist (broader knowledge)

Works on any codebase, you don't need recent git history or AI-authored files.

## When to Use

Use AntiVibe when:
1. **Manual invocation**: User types `/antivibe` or "deep dive"
2. **Post-task learning**: After a feature/phase completes, user wants to learn from it
3. **Legacy codebases**: User wants to understand existing code they didn't write
4. **Proactive**: User says "explain what AI wrote", "walk me through", "audit this", or points at a file/directory

## What AntiVibe Produces

Output saved to `deep-dive/` folder as markdown:

```
deep-dive/
├── auth-system-2026-01-15.md
├── api-layer-2026-01-15.md
└── database-models-2026-01-15.md
```

The exact sections depend on the output mode (see [Output Mode](#output-mode)):

| Section | `compact` (default) | `full` |
|---------|:---:|:---:|
| **Overview**, what the code does and why it exists | ✅ | ✅ |
| **Key Components / Concepts**, design patterns, algorithms, CS concepts used | ✅ | ✅ |
| **Code Walkthrough**, file-by-file, line-by-line notes |, | ✅ |
| **Learning Resources**, curated docs, tutorials, videos |, | ✅ |
| **Related Code**, links to other files in the codebase |, | ✅ |

## Configuration

### Known Concepts (Skip List)

Concepts listed here will not be explained in full, the explainer will only note that they were used and in what context. Edit this list to match your current knowledge.

```yaml
known_concepts:
  - async/await
  - React hooks
  - REST APIs
```

### Output Mode

Controls how much detail is generated per run. Default is `compact` to keep token costs low.

The rest: https://github.com/mohi-devhub/antivibe/blob/HEAD//SKILL.md
