/iblai-vibe:iblai-vibe-deslopfrom ibl.ai vibe
Audits and hardens AI-generated or vibe-coded codebases for production readiness. Runs a multi-pass audit producing AUDIT.md, then applies systematic fixes in safety-tiered order without changing business logic.
Ships in ibl.ai vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Systematically audit and harden an existing codebase for production. Designed for AI-generated ("vibe coded") codebases that work superficially but are fragile, sloppy, or insecure under real-world conditions.
This skill operates in two strict phases. Never mix them.
Phase 1: AUDIT → produces AUDIT.md (human-reviewable, machine-parseable)
Phase 2: FIX → consumes AUDIT.md → applies fixes in safety order
The user provides a codebase (directory path or repo). They may specify focus areas, exclusions, or constraints. If not specified, audit everything.
MANDATORY before starting: Read the full audit checklist and format spec (bundled with this skill):
references/checklist.md
references/audit-format.md
The audit runs five sequential passes. Each pass builds on the previous. Never skip a pass — thoroughness matters more than speed.
Map the codebase before judging anything. Do NOT write findings yet.
find . -type f | head -500 or equivalent. Understand the shape.grep -rn "import\|require\|from\|include" or language-specific tooling..eslintrc, pyproject.toml, tsconfig.json, .prettierrc, Makefile, CI configs, etc.npx eslint . --format json 2>/dev/null or npx tsc --noEmit 2>&1python -m pylint **/*.py --output-format=json 2>/dev/null or python -m flake8 . 2>&1go vet ./... 2>&1cargo clippy --message-format=json 2>/dev/nullAUDIT.md:
Output of Pass 0: The "Codebase Overview" section of AUDIT.md. No findings yet.
Scan for mechanical quality issues that don't require deep semantic understanding. Process file-by-file, prioritizing high-coupling modules first (from Pass 0's dependency map).
What to scan (categories 8-14 from the checklist):
Chunking strategy for large files (>500 lines): Read in function/class-sized chunks. Never split in the middle of a function. When analyzing a chunk, re-read the file's import header for context.
For each finding: Write it to AUDIT.md using the format from the audit-format reference.
Trace critical paths through the code. This pass requires cross-file context.
Start from entry points identified in Pass 0. For each critical path:
What to scan (categories 2-4 from the checklist):
CRITICAL: Do NOT flag business logic as "wrong" unless it's clearly a bug. The goal is resilience, not redesign. If you're unsure whether something is intentional behavior or a bug, flag it as [NEEDS_CLARIFICATION] and describe the concern.
What to scan (categories 1, 7 from the checklist):
Use OWASP Top 10 as the mental framework. For each finding, note the CWE number if applicable.
After all passes complete:
Deduplicate: Some findings may appear in multiple passes. Merge them, keeping the most severe classification.
Cross-reference: A DRY violation might also be a security concern (divergent validation logic). Link related findings.
Classify severity for every finding:
Assign fix tier (from the fix-playbook reference):
Write the executive summary at the top of AUDIT.md:
Present AUDIT.md to the user. Ask if they want to proceed to Phase 2, adjust priorities, or exclude anything.
MANDATORY before starting: Read the fix playbook (bundled with this skill):
references/fix-playbook.md
NEVER start Phase 2 without user confirmation on the audit. The user must review AUDIT.md first.
Process findings in this exact order:
For every fix:
SEC-003) so the user can cross-reference AUDIT.md.AUDIT.md: Mark the finding as [FIXED] with a one-line description of what changed.NEVER do any of these during fixes:
[NEEDS_CLARIFICATION] and move onALWAYS do these:
AUDIT.md with a final status section showing: fixed count, skipped count, needs-clarification count, needs-human-review count.For codebases with 50+ files or 10,000+ lines:
scripts/) to accelerate Pass 1 findings:
bash scripts/scan_dead_code.sh
bash scripts/scan_patterns.sh
Review their output rather than manually grepping every file.bash scripts/scan_dependencies.sh during Pass 0 to build the dependency graph automatically.The skill should ask the user questions in these situations:
[path]. Any areas to focus on or exclude?"[NEEDS_CLARIFICATION] in the audit file and batch all clarification questions for the user between Pass 2 and Pass 3.Never ask about Tier 1 fixes — just do them. They're safe by definition.
The single goal: make the existing codebase more robust, maintainable, and production-ready without changing what it does.
examples/AUDIT-claude-researcher.md (opens in a new tab)references/audit-format.md (opens in a new tab)references/checklist.md (opens in a new tab)references/fix-playbook.md (opens in a new tab)scripts/scan_dead_code.sh (opens in a new tab)scripts/scan_dependencies.sh (opens in a new tab)scripts/scan_patterns.sh (opens in a new tab)third-party-notices.txt (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub iblai/base --plugin iblai-vibe166 skills in this plugin
/iblai-api-agent-accessManage role-based access to an ibl.ai agent via the platform API — list role policies, search users/groups, and grant/revoke editor, chat, or analytics_viewer roles for users, groups, and emails. Use when controlling who can edit, chat with, or view analytics for an agent./iblai-api-agent-auditRead an ibl.ai agent's audit log via the platform API — a who-changed-what trail filterable by action, actor email, and date range. Read-only. Use when investigating configuration changes to an agent./iblai-api-agent-chatSet up live chat with a deployed ibl.ai agent by wiring the hosted iblai-api-agent-chat MCP server into the project (.mcp.json / claude mcp add) using the .env Api-Token and a chosen agent's unique id, or by signing in from claude.ai, ChatGPT or Claude Desktop with only the URL. Use to enable runtime conversations with an agent, and to list or disconnect the apps a user has connected. The actual chatting then happens through the MCP server's tools.Other plugins' skills for the same job