# AISlop, a CLI for catching AI generated code smells

Hi, I’m Kenny, I’ve been building aislop. I starting working on this after using Claude Code, codex and opencode several times and noticing some slops. They aren’t syntax and passes most tests, they are patterns like empty catch blocks, useless comments, duplicated helpers, dead code and many more.…

- **Page:** https://magpie.gallery/i/aislop-a-cli-for-catching-ai-generated-code-smells-3fpa
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Tags:** code-quality, linting, ai-code, cli, hooks

## Source

Web · Heavykenny: AISlop, a CLI for catching AI generated code smells

- **Original:** https://news.ycombinator.com/item?id=48322956

> Hi, I’m Kenny, I’ve been building aislop. I starting working on this after using Claude Code, codex and opencode several times and noticing some slops. They aren’t syntax and passes most tests, they are patterns like empty catch blocks, useless comments, duplicated helpers, dead code and many more. So I built a tool to scan and check for these patterns and wired it into hooks so after each tool call, the agent checks for the slops. You can try it out with npx aislop scan. It’s all local and no code is transferred. Thank you. https://github.com/scanaislop/aislop

## GitHub projects

- https://github.com/scanaislop/aislop

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
