--- layout: post title: An agent skill to audit vibecoded repositories permalink: /2026/vibe-audit-skill/ image: /images/2026/vibe-audit-hero.png excerpt: |

vibe-audit is an open-source agent skill that reads a repository built with Lovable, Bolt, Cursor, Claude Code or v0, and writes down what the product does, what can go wrong, and a phased plan to make it safer to change.

tags: - ai - open-source - security - supabase --- I have been **working remotely** for more than eight years now, and I still enjoy networking and meeting **real people** around where I live. That's why you can find me at the meetups of [Montacchiello.dev](https://montacchiello.dev), [SheTech](https://shetechitaly.org) Pisa and the [Lucca Linux User Group](https://luccalug.it). Lately a lot of the people I meet there are **enthusiastic** about Claude Code, Lovable, Bolt, Cursor, v0 and similar tools. Anyone can build a web app, and every engineer is now a 10x engineer. Some of those apps, built by people who are not developers, end up with real users and real money flowing through them. That's when the same question keeps coming up in these chats, because somebody has to look at the repository and answer it. **What does this do**, and **how risky is it** to keep changing it? I published [vibe-audit](https://github.com/gionn/vibe-audit-skill) to help with that first look. It's an **agent skill** in the open [Agent Skills](https://agentskills.io) format, so it works with any agent that loads `SKILL.md` folders, not only Claude Code. It's MIT licensed. ## The missing basics These repositories usually lack the **standard tooling** every software team takes for granted, such as pre-commit hooks, a linter, a static analyzer, a CI pipeline, and at least some **automated tests** running in that pipeline on every change. A coding agent will happily set all of this up, but only **if you ask** for it. If you keep asking for "add this new feature" or "fix this bug", it will add the feature and fix the bug, and it will never mention that nothing checks its work. The app keeps growing, every change is a small gamble, and the person who built it has no way to know what they are missing, because nobody told them it was there to be had. That's the gap vibe-audit tries to make visible, in words the maintainer can follow. ## What it does You start your agent at the root of the repository and ask it to run the skill. It reads the code, **read-only**, and writes two files. - `AUDIT_NOTES.md` is for the auditor. It explains what the product does, who uses it, how features map to code, and where money and data flow. - `AUDIT_EVALUATION.md` is for the person who built the app. It starts with what is already good, explains the risks in **plain language**, and ends with a phased roadmap. The first phase is a safety net that takes days, the last one is hardening. The audit **states facts**, what is configured and what is missing, and digs up dangerous patterns at a concrete `file:line` that no default tool would flag. It deliberately **runs nothing**. No lint, no typecheck, no tests, and no connections to databases, deployed apps or third-party APIs, apart from read-only GitHub metadata through `gh`. Once CI and strict checks exist, they will produce the error counts on their own, so the audit doesn't spend time on them. Critical findings, like a committed live secret or a table open to anyone, go to the terminal **as soon as** they are found, not only into the files. ## What it covers - Pre-commit hooks and CI - Static analysis and linters, with a **TypeScript deep dive** on compiler settings and type discipline - Dependency updates - Unit tests, with the best first candidates to test - Integration and end-to-end tests, around the three user journeys that must never break - Security, from secrets and client-only authorization to payment webhooks, edge functions, LLM endpoints and uploads When the repo uses Supabase, the security part becomes a **full Supabase review**. It looks at RLS together with API grants, at SECURITY DEFINER functions judged by who can actually call them, and at storage buckets. It also hands the maintainer a block of verification SQL to run in the SQL Editor, to settle whatever the repository alone can't show. The TypeScript and Supabase references load only when the repo needs them. The Supabase checks are adapted from [raroque/vibe-security-skill](https://github.com/raroque/vibe-security-skill), also MIT licensed. ## Install The skill needs the [humanizer](https://github.com/blader/humanizer) skill, which it uses for a last pass over both files, and the standard `grep`, `awk` and `sort`. I also recommend installing the [pimp-my-repo](https://github.com/Alfresco/alfresco-build-tools/tree/master/.github/skills/pimp-my-repo) skill from alfresco-build-tools. The audit compares the repo against its sections, and the roadmap points to them, so most of the **missing basics** can then be added one pull request at a time by asking your agent to run pimp-my-repo on the repository. Put all three skills in the folder your agent loads skills from. pimp-my-repo is a single `SKILL.md`, so a download is enough: ```sh git clone https://github.com/gionn/vibe-audit-skill.git /vibe-audit git clone https://github.com/blader/humanizer.git /humanizer curl -fsSL --create-dirs -o /pimp-my-repo/SKILL.md \ https://raw.githubusercontent.com/Alfresco/alfresco-build-tools/master/.github/skills/pimp-my-repo/SKILL.md ``` For Claude Code that's `~/.claude/skills`, or `.claude/skills` inside a single project. The GitHub CLI and a secret scanner (gitleaks, trufflehog or git-secrets) are optional, and the audit uses them when they are already installed. Then ask your agent to run the vibe-audit skill, or type `/vibe-audit` if it exposes skills as slash commands. If you build apps this way, or you are the person who gets asked to look at them, [give it a try](https://github.com/gionn/vibe-audit-skill) and open an issue when it gets something wrong.