brianbell-x/codehygiene

A tiny system one model for code readability and hygiene.

What it solves

Codehygiene flags hard-to-read, messy code shapes like deep nesting, dense lines, cramped layouts, duplicate blocks, repetitive structures, and comment echoes without caring about variable names or spelling.

How it works

It reads source code as a grid of bytes rather than words using an offline model made of an 8 KB file of programmed ternary weights running on NumPy, completely ignoring naming and spelling while supporting over 20 languages.

Who it’s for

Developers and AI coding agents looking to lint newly written or changed code for readability issues rather than bugs, type errors, or security flaws.

Highlights

  • Operates offline across 20+ programming languages
  • Extremely lightweight with an 8 KB weight file and NumPy-based execution
  • Fast performance, processing small files in milliseconds
  • Available as a command-line tool, an agent skill, or as a Python and JavaScript library supporting browsers and Node

Related

  • Project
  • Project
  • Project
  • Project