Logo vun Antivibe

Antivibe

CommunautéitBeléift
mohi-devhub
antivibe

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.

Iwwersiicht

Editeurmohi-devhub
Repositoryantivibe
Skill-Nummantivibe
Stären
1.1K
Forks
79
Matgeliwwert Fichieren
11
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 11 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum mohi-devhub op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Antivibe an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/mohi-devhub/antivibe/tree/main
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mohi-devhub/antivibe.git \
  .claude/skills/antivibe
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Antivibe an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Antivibe automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Antivibe net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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):

Sectioncompact (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.

yaml
output_mode: compact
ModeWhat's included
compact (default)Overview, key components (function-level, one line each), concepts (what + why only). No resources. No line-by-line. Max 5 files.
fullEverything in compact, plus: line-by-line walkthrough, prerequisites, curated resources, Next Steps.

Override inline in your request:

  • "/antivibe full", "full deep dive", "include resources" → full mode
  • Default: compact

Default Skill Level

Sets the explanation depth when no level is specified in the request. Options: junior, mid, senior. Default: mid.

yaml
default_level: mid
LevelBehavior
juniorDefine all terms. Use analogies. Explain language features. Show full code snippets with inline comments.
midSkip basics. Focus on design decisions and trade-offs. Brief code references only.
seniorSkip obvious patterns. Focus only on non-obvious choices, edge cases, and architectural trade-offs.

Level can also be specified inline in the request:

  • "explain for a junior", "I'm new to this" → junior
  • "I know the basics", "mid level" → mid
  • "senior mode", "skip the basics", "just the trade-offs" → senior

Workflow

Step 0: Apply User Configuration

Before analyzing, read the configuration above:

  • Load the known_concepts skip list. Any concept in this list will be acknowledged in one sentence instead of fully explained.
  • Detect the skill level: check the user's request first (inline phrases take priority), then fall back to default_level. Apply this level consistently throughout the entire output.
  • If level = senior, route to agents/auditor.md instead of continuing this workflow.

Step 1: Identify Code to Analyze

Use the first applicable mode:

  1. Explicit — User named specific files, a directory, or a module in their request → use those directly. No git needed. Example: "explain src/auth/" or "walk me through api/routes.py".

  2. Recent — No explicit target given, project is a git repo, and git diff HEAD has output → use those changed files (current behavior for post-AI-task learning).

  3. Scan — No explicit target, no usable git diff (legacy project, no recent changes, or not a git repo) → ask the user: "Which file, directory, or module would you like to analyze?" Do not attempt to guess.

The code does not need to be AI-generated. AntiVibe analyzes any code.

Step 2: Analyze Code Structure

For each file:

  • Identify main purpose and responsibilities
  • Note key functions, classes, modules
  • Identify design patterns used (factory, singleton, observer, etc.)
  • Find any complex logic or algorithms

Step 3: Explain Concepts

For each concept/pattern found:

  • What: Plain-language explanation
  • Why: Why this approach was chosen over alternatives
  • When: When to use this pattern (with context)
  • Alternatives: Other approaches and trade-offs
  • Prerequisites: 2–4 foundational concepts the developer must understand first (e.g., "To understand JWT, you need: HTTP request/response, Base64 encoding, cryptographic signing")

Step 4: Find External Resources

Only run this step in full mode. Skip entirely in compact mode.

Search for and include:

  • Official documentation for libraries/frameworks used
  • Quality tutorials or blog posts
  • Video resources (if available)
  • Related concepts for further learning

Step 5: Generate Output

Create markdown file in deep-dive/ folder:

  • Name format: [component]-[timestamp].md
  • Detect output mode from the request or output_mode config (default: compact)
  • Compact mode: Use the compact template. No line-by-line, no resources, no Next Steps. Max 5 files — if more are in scope, summarize extras in one line each and offer to go deeper.
  • Full mode: Use the full template from templates/deep-dive.md. Include all sections. No 5-file limit — analyze every file in scope; for very large inputs, split the output across multiple deep-dive files rather than truncating.
  • Make it educational, not just descriptive

Auto-Trigger Configuration

AntiVibe can be configured to auto-trigger via hooks:

  • SubagentStop: After a Task completes a feature
  • Stop: At session end

To enable auto-trigger, configure hooks in your project (see hooks/hooks.json).

Principles

  1. Why over what - Always explain design decisions
  2. Context matters - Explain when/why to use patterns
  3. Curated resources - Quality links, not random Google results
  4. Phase-aware - Group by implementation phase
  5. Learning path - Suggest next steps for deeper study
  6. Concept mapping - Connect code to underlying CS concepts

Dependencies

Optional scripts in scripts/ folder:

  • capture-phase.sh - Detect implementation phase boundaries
  • analyze-code.sh - Parse code structure
  • find-resources.sh - Search for external resources
  • generate-deep-dive.sh - Create markdown output

These are helpers - you can also do everything via direct code analysis.

Examples

Input: "Explain the auth system Claude wrote" (recent AI code) → Mode: Recent (git diff). Output: deep-dive/auth-system-2026-01-15.md

Input: "Walk me through src/payments/" (explicit target — legacy codebase) → Mode: Explicit. Analyzes files in that directory directly, no git needed.

Input: "Deep dive" (no target, legacy project with no recent changes) → Mode: Scan. Asks: "Which file or module would you like to analyze?"

Input: "Audit this, just the trade-offs" (senior mode) → Routes to agents/auditor.md. Produces architectural audit, not an explanation.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Antivibe?

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.

Firwat Antivibe op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Antivibe besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Antivibe an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/mohi-devhub/antivibe/tree/main an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Antivibe benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Antivibe benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Antivibe domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Antivibe gratis?

Jo. De Skill gëtt vum mohi-devhub ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇