vibe-code-gardener

vibe-code-gardener is a skill for Claude Code, Codex from roedyrustam/vibes-plug. It costs 57 tokens per session (1,854 once invoked), scanned A, original, MIT.

A code-cleanup skill for projects built through many AI-assisted coding sessions.

In plain words
What is it for?
It helps review and simplify codebases whose features have become difficult to understand or extend.
Why use it?
It helps find duplicated logic, dead code, unnecessary abstractions, inconsistent patterns, brittle tests, and architectural decay.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps review and simplify codebases whose features have become difficult to understand or extend.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/vibe-code-gardener
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add roedyrustam/vibes-plug --skill vibe-code-gardener
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vibe-code-gardener

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/vibe-code-gardener.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/vibe-code-gardener)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/vibe-code-gardener"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/vibe-code-gardener.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,854 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 90
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 91
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01854
Opus 5 $0.00028 $0.00927
Sonnet 5 $0.00011 $0.00371
Haiku 4.5 $0.00006 $0.00185

Measured 4d ago against content hash 62010c135917, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

vibe-code-gardener scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/vibe-code-gardener/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Vibe Code Gardener (2026 Edition)

English | Bahasa Indonesia


English

Description

Detects and purges AI-generated code quality issues — AI slop, code bloat, context drift, duplicated logic, dead code, misaligned patterns, and architectural decay in projects that have been heavily vibe-coded.

Trigger Conditions

  • Codebase has grown out of control after many AI-assisted coding sessions.
  • Duplication, inconsistent patterns, or unexplained abstractions detected.
  • Features are getting harder to add or understand.
  • Tests are brittle or missing entirely.
  • The codebase has "AI smell" — overly verbose comments, unnecessary defensive code, duplicate utilities.

AI Slop Detection Heuristics (2026)

These are the most common AI-generated code quality issues to look for:

1. The "Just In Case" Over-Engineering

AI models often add features or abstractions "for extensibility" that are never needed:

// 🔴 AI SLOP: Factory pattern for something that will never change
const createUserRepository = (type: 'postgres' | 'mysql' | 'sqlite') => {
  if (type === 'postgres') return new PostgresUserRepo();
  // ...never switches in practice
};

// ✅ CLEAN: Just use the implementation
const userRepo = new PostgresUserRepo();
2. The "Belt and Suspenders" Duplicate Guards

AI adds null checks and validations at every layer unnecessarily:

// 🔴 AI SLOP: Triple-validated (already validated by Zod + DB schema + here)
if (!user || !user.id || user.id === undefined || user.id === null || typeof user.id !== 'string') { ... }

// ✅ CLEAN: Trust your types
if (!user.id) { ... }
3. The "Graveyard of Dead Utilities"

AI-generated helper files with functions that are defined but never used:

  • Search for exported functions with 0 usages: grep -r "export function" --include="*.ts" | while read...
  • Remove entire files of dead utilities.
4. Context Drift — Style Inconsistency

Different sessions produce different coding styles in the same codebase:

  • Some files use async/await, others use .then() chains.
  • Some use const arrow functions, others use function declarations.
  • Mixed naming: userId, user_id, UserID in the same project.
  • Fix: Run a style unification pass with Prettier + ESLint rules.

Read the full file on GitHub · 182 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 182 lines · 57 tokens per session scan A 62010c135917

Subscribe to this mod's changes

vibe-code-gardener is a skill published in the GitHub repository roedyrustam/vibes-plug (49 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 1,854 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

doubt-driven-development

Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production, security-sensitive logic, irreversible operations), or any time a confident output would be cheaper to verify now…

addyosmani/agent-skills · 67 tokens

polish-code

Stage, format, lint, test, review, smoke test, and re-run itself until stable. Use when the user asks to "polish code", "refine code", "iterate on code quality", "review loop", "clean up, test, and review loop", or "run the polish loop".

tobihagemann/turbo · 67 tokens

simplify-code

Run a multi-agent review of changed files for scope, reuse, quality, efficiency, clarity, and altitude issues followed by fixes. Use when the user asks to "simplify code", "review changed code", "check for code reuse", "review code quality", "review efficiency", "simplify changes", "clean up code", "refactor changes"…

tobihagemann/turbo · 81 tokens

silent-failure-hunter

Use when reviewing code changes to detect silent failures, weak error handling, and unsafe fallback behavior.

kyto64/codex-pr-review-toolkit-minimal · 25 tokens

plankton-code-quality

Write-time code quality enforcement using Plankton — auto-formatting, linting, and AI-powered fixes on every file edit via hooks.

Jamkris/everything-gemini-code · 34 tokens

performance-optimization

Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.

addyosmani/agent-skills · 59 tokens