Agent skill

Antivibe

by mohi-devhub in mohi-devhub/antivibe

Code learning and audit framework. An agent skill from mohi-devhub/antivibe.

MITAuto-check passedDevelopment

Install Antivibe

skills CLI
$ npx skills add mohi-devhub/antivibe --skill antivibe -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mohi-devhub/antivibe antivibe --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
antivibe
GitHub stars
1.1k
Token cost
~2.1k tokens
SKILL.md length
983 words
Files
15 (incl. scripts)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Code learning and audit framework. An agent skill from mohi-devhub/antivibe.

  • Works in 6 steps: Apply User Configuration → Identify Code to Analyze → Analyze Code Structure → …
  • The user wants to understand WHAT and WHY behind any code
  • SKILL.md covers Purpose, When to Use, What AntiVibe Produces and Configuration, plus 5 more sections
  • Runs Shell scripts from its folder; calls git

What it does

Antivibe is an agent skill from 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.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 20 other files, including scripts (for example `README.md`, `agents/auditor.md` and `agents/explainer.md`).

It sits in Development. The repository describes itself as: Learn what AI writes, not just accept it. A Claude Code skill that turns AI-generated code into educational deep dives. The licence is MIT.

When your agent uses it

  • The user wants to understand WHAT and WHY behind any code
  • Not just accept it

Example prompts

  • “/antivibe”

Requirements

  • A Bash shell

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Apply User Configuration
  2. Identify Code to Analyze
  3. Analyze Code Structure
  4. Explain Concepts
  5. Find External Resources
  6. Generate Output

What it can do on your machine

Read from SKILL.md and the folder at commit 9991d12. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Antivibe loads about 2.1k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 983 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from mohi-devhub/antivibe at commit 9991d12, republished under its MIT licence (© mohi-devhub). 983 words, ~2,115 tokens.

Download SKILL.mdSave it as .claude/skills/antivibe/SKILL.md (or your agent's skills folder). This skill also uses 14 other files; get the full folder from GitHub.
name
antivibe
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.

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
Show full SKILL.md (382 more words)Show less
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.

© mohi-devhub, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 14 other files (scripts) in the repository root of mohi-devhub/antivibe.

  • SKILL.md
  • .gitignore
  • LICENSE
  • README.md
  • agents/auditor.md
  • agents/explainer.md
  • docs/setup.md
  • hooks/hooks.json
  • reference/language-patterns.md
  • reference/resource-curation.md
  • scripts/analyze-code.sh
  • scripts/capture-phase.sh
  • scripts/find-resources.sh
  • scripts/generate-deep-dive.sh
  • templates/deep-dive.md

Open the folder on GitHubat commit 9991d12

Compare with similar skills

Antivibe next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Antivibe compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Antivibe this skillmohi-devhub/antivibe1.1k—~2.1kAutomated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

Categories

Questions about Antivibe

What does Antivibe do?

Code learning and audit framework. An agent skill from mohi-devhub/antivibe. Antivibe is an agent skill from mohi-devhub/antivibe. Code learning and audit framework.

When should I use Antivibe?

Antivibe fits situations like: the user wants to understand WHAT and WHY behind any code; not just accept it.

How do I install Antivibe in Claude Code?

Run `npx skills add mohi-devhub/antivibe --skill antivibe -a claude-code`. Or copy the skill folder (the mohi-devhub/antivibe repository) into .claude/skills/antivibe in your project. Claude Code loads it when a task matches its description.

How do I install Antivibe in Codex?

Run `npx skills add mohi-devhub/antivibe --skill antivibe -a codex`. Or copy the skill folder (the mohi-devhub/antivibe repository) into .agents/skills/antivibe in your project. Codex loads it when a task matches its description.

Can I use Antivibe in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mohi-devhub/antivibe --skill antivibe -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/antivibe, .gemini/skills/antivibe, .github/skills/antivibe and .opencode/skills/antivibe in your project.

What does Antivibe need to run?

Going by SKILL.md and its folder, Antivibe needs a shell for the scripts in its folder and the command-line tools its instructions call (git). Our summary lists: A Bash shell.

Does Antivibe access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Antivibe safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Antivibe use?

Antivibe is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Antivibe use?

About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Antivibe?

Skills that share tags, products or a category with Antivibe: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Antivibe?

mohi-devhub (a GitHub user) maintains it in mohi-devhub/antivibe, which has 1,120 GitHub stars. The repository was last updated on July 31, 2026.

Source: mohi-devhub/antivibe on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.