🎭 Vibe Check
Audit code for "vibe coding" — AI-generated code accepted without proper human review. Get a scored report card with specific findings and fix suggestions.
Trigger
Activate when the user mentions any of:
- "vibe check"
- "vibe-check"
- "audit code"
- "code quality"
- "vibe score"
- "check my code"
- "review this code for vibe coding"
- "code review"
- "vibe audit"
Instructions
1. Determine the Target
Ask the user what code to analyze. Accepted inputs:
- Single file:
app.py, src/utils.ts
- Directory:
src/, ., my-project/
- Git diff: last N commits, staged changes, or branch comparison
2. Run the Analysis
# Single file or directory
bash "$SKILL_DIR/scripts/vibe-check.sh" TARGET
# With fix suggestions
bash "$SKILL_DIR/scripts/vibe-check.sh" --fix TARGET
# Git diff (last 3 commits)
bash "$SKILL_DIR/scripts/vibe-check.sh" --diff HEAD~3
# Staged changes with fixes
bash "$SKILL_DIR/scripts/vibe-check.sh" --staged --fix
# Save to file
bash "$SKILL_DIR/scripts/vibe-check.sh" --fix --output report.md TARGET
3. Present the Report
The output is a Markdown report. Present it directly — it's designed to be screenshot-worthy.
Discord v2 Delivery Mode (OpenClaw v2026.2.14+)
When the conversation is happening in a Discord channel:
- Send a compact summary first (grade, score, file count, top 3 findings), then ask if the user wants the full report.
- Keep the first message under ~1200 characters and avoid wide Markdown tables in the first response.
- If Discord components are available, include quick actions:
Show Top Findings
Show Fix Suggestions
Run Diff Mode
- If components are not available, provide the same follow-ups as a numbered list.
- Prefer short follow-up chunks (<=15 lines per message) when sending the full report.
Quick Reference
| Command |
Description |
vibe-check FILE |
Analyze a single file |
vibe-check DIR |
Scan directory recursively |
vibe-check --diff |
Check last commit's changes |
vibe-check --diff HEAD~5 |
Check last 5 commits |
vibe-check --staged |
Check staged changes |
vibe-check --fix DIR |
Include fix suggestions |
vibe-check --output report.md DIR |
Save report to file |
Sin Categories (what it checks)
| Category |
Weight |
What It Catches |
| Error Handling |
20% |
Missing try/catch, bare exceptions, no edge cases |
| Input Validation |
15% |
No type checks, no bounds checks, trusting all input |
| Duplication |
15% |
Copy-pasted logic, DRY violations |
| Dead Code |
10% |
Unused imports, commented-out blocks, unreachable code |
| Magic Values |
10% |
Hardcoded strings/numbers/URLs without constants |
| Test Coverage |
10% |
No test files, no test patterns, no assertions |
| Naming Quality |
10% |
Vague names (data, result, temp, x), misleading names |
| Security |
10% |
eval(), exec(), hardcoded secrets, SQL injection |
Scoring
- A (90-100): Pristine code, minimal issues
- B (80-89): Clean code with minor issues
- C (70-79): Decent but lazy patterns crept in
- D (60-69): Needs human attention
- F (<60): Heavy vibe coding detected
Notes for the Agent
- The report is the star. Present it in full — it's designed to look great.
- After presenting, offer to run
--fix mode if they didn't already.
- Suggest the README badge:

- For large codebases, suggest focusing on specific directories or using
--diff mode.
- If no LLM API key is set, the tool falls back to heuristic analysis (less accurate but still useful).
- Supported languages (v1): Python, TypeScript, JavaScript only.
References
scripts/vibe-check.sh — Main entry point
scripts/analyze.sh — LLM code analysis engine (with heuristic fallback)
scripts/git-diff.sh — Git diff file extractor
scripts/report.sh — Markdown report generator
scripts/common.sh — Shared utilities and constants
Examples
Example 1: Audit a Directory
User: "Vibe check my src directory"
Agent runs:
bash "$SKILL_DIR/scripts/vibe-check.sh" src/
Output: Full scorecard with per-file breakdown, category scores, and top findings.
Example 2: Check with Fixes
User: "Review this code for vibe coding and suggest fixes"
Agent runs:
bash "$SKILL_DIR/scripts/vibe-check.sh" --fix src/
Output: Scorecard + unified diff patches for each finding.
Example 3: Git Diff Mode
User: "Check the code quality of my last 3 commits"
Agent runs:
bash "$SKILL_DIR/scripts/vibe-check.sh" --diff HEAD~3
Output: Scorecard focused only on recently changed files.
1---
2name: vibe-check
3version: 0.1.1
4description: Audit code for "vibe coding sins" — patterns that indicate AI-generated code was accepted without proper review. Produces a scored report card with fix suggestions.
5author: Anvil AI
6tags: [code-quality, code-review, ai-audit, vibe-coding, linting, security, python, typescript, javascript, discord, discord-v2]
7metadata:
8 source: https://skillmd.com/skills/modbender/vibe-check
9---
10
11# 🎭 Vibe Check
12
13Audit code for "vibe coding" — AI-generated code accepted without proper human review. Get a scored report card with specific findings and fix suggestions.
14
15## Trigger
16
17Activate when the user mentions any of:
18- "vibe check"
19- "vibe-check"
20- "audit code"
21- "code quality"
22- "vibe score"
23- "check my code"
24- "review this code for vibe coding"
25- "code review"
26- "vibe audit"
27
28## Instructions
29
30### 1. Determine the Target
31
32Ask the user what code to analyze. Accepted inputs:
33- **Single file:** `app.py`, `src/utils.ts`
34- **Directory:** `src/`, `.`, `my-project/`
35- **Git diff:** last N commits, staged changes, or branch comparison
36
37### 2. Run the Analysis
38
39```bash
40# Single file or directory
41bash "$SKILL_DIR/scripts/vibe-check.sh" TARGET
42
43# With fix suggestions
44bash "$SKILL_DIR/scripts/vibe-check.sh" --fix TARGET
45
46# Git diff (last 3 commits)
47bash "$SKILL_DIR/scripts/vibe-check.sh" --diff HEAD~3
48
49# Staged changes with fixes
50bash "$SKILL_DIR/scripts/vibe-check.sh" --staged --fix
51
52# Save to file
53bash "$SKILL_DIR/scripts/vibe-check.sh" --fix --output report.md TARGET
54```
55
56### 3. Present the Report
57
58The output is a Markdown report. Present it directly — it's designed to be screenshot-worthy.
59
60### Discord v2 Delivery Mode (OpenClaw v2026.2.14+)
61
62When the conversation is happening in a Discord channel:
63
64- Send a compact summary first (grade, score, file count, top 3 findings), then ask if the user wants the full report.
65- Keep the first message under ~1200 characters and avoid wide Markdown tables in the first response.
66- If Discord components are available, include quick actions:
67 - `Show Top Findings`
68 - `Show Fix Suggestions`
69 - `Run Diff Mode`
70- If components are not available, provide the same follow-ups as a numbered list.
71- Prefer short follow-up chunks (<=15 lines per message) when sending the full report.
72
73### Quick Reference
74
75| Command | Description |
76|---------|-------------|
77| `vibe-check FILE` | Analyze a single file |
78| `vibe-check DIR` | Scan directory recursively |
79| `vibe-check --diff` | Check last commit's changes |
80| `vibe-check --diff HEAD~5` | Check last 5 commits |
81| `vibe-check --staged` | Check staged changes |
82| `vibe-check --fix DIR` | Include fix suggestions |
83| `vibe-check --output report.md DIR` | Save report to file |
84
85### Sin Categories (what it checks)
86
87| Category | Weight | What It Catches |
88|----------|:------:|-----------------|
89| Error Handling | 20% | Missing try/catch, bare exceptions, no edge cases |
90| Input Validation | 15% | No type checks, no bounds checks, trusting all input |
91| Duplication | 15% | Copy-pasted logic, DRY violations |
92| Dead Code | 10% | Unused imports, commented-out blocks, unreachable code |
93| Magic Values | 10% | Hardcoded strings/numbers/URLs without constants |
94| Test Coverage | 10% | No test files, no test patterns, no assertions |
95| Naming Quality | 10% | Vague names (data, result, temp, x), misleading names |
96| Security | 10% | eval(), exec(), hardcoded secrets, SQL injection |
97
98### Scoring
99
100- **A (90-100):** Pristine code, minimal issues
101- **B (80-89):** Clean code with minor issues
102- **C (70-79):** Decent but lazy patterns crept in
103- **D (60-69):** Needs human attention
104- **F (<60):** Heavy vibe coding detected
105
106### Notes for the Agent
107
108- **The report is the star.** Present it in full — it's designed to look great.
109- After presenting, offer to run `--fix` mode if they didn't already.
110- Suggest the README badge: ``
111- For large codebases, suggest focusing on specific directories or using `--diff` mode.
112- If no LLM API key is set, the tool falls back to heuristic analysis (less accurate but still useful).
113- **Supported languages (v1):** Python, TypeScript, JavaScript only.
114
115## References
116
117- `scripts/vibe-check.sh` — Main entry point
118- `scripts/analyze.sh` — LLM code analysis engine (with heuristic fallback)
119- `scripts/git-diff.sh` — Git diff file extractor
120- `scripts/report.sh` — Markdown report generator
121- `scripts/common.sh` — Shared utilities and constants
122
123## Examples
124
125### Example 1: Audit a Directory
126
127**User:** "Vibe check my src directory"
128
129**Agent runs:**
130```bash
131bash "$SKILL_DIR/scripts/vibe-check.sh" src/
132```
133
134**Output:** Full scorecard with per-file breakdown, category scores, and top findings.
135
136### Example 2: Check with Fixes
137
138**User:** "Review this code for vibe coding and suggest fixes"
139
140**Agent runs:**
141```bash
142bash "$SKILL_DIR/scripts/vibe-check.sh" --fix src/
143```
144
145**Output:** Scorecard + unified diff patches for each finding.
146
147### Example 3: Git Diff Mode
148
149**User:** "Check the code quality of my last 3 commits"
150
151**Agent runs:**
152```bash
153bash "$SKILL_DIR/scripts/vibe-check.sh" --diff HEAD~3
154```
155
156**Output:** Scorecard focused only on recently changed files.