The tightest integration Sailop offers. Install the CLI, run the setup, and Claude Code gets native access to all Sailop tools through MCP. Scan, fix, and generate — all from the same terminal session where you write code.
Sailop requires Node.js 18 or later. Install globally so it is available in every project.
Or from source: git clone https://github.com/Git-gta/sailop.git && cd sailop/cli && npm i && npm link
The setup command does three things: installs the /sailop slash command as a Claude Code skill, registers the MCP server so Claude Code can call Sailop tools, and creates a default sailop.config.ts in your home directory.
~/.claude/commands/sailop.mdSlash command skill that Claude Code loads when you type /sailop~/.claude/claude_desktop_config.jsonMCP server registration so Claude Code can call Sailop tools directly~/sailop.config.tsDefault configuration with recommended presets (you can override per-project)Once setup is complete, Claude Code can call these tools at any point during a conversation. You do not need to invoke them manually — Claude will use them when relevant.
sailop_scan(path, preset?, format?)Scan a file or directory for AI-generated visual patterns. Returns a slop score (0-100), grade, and detailed findings across 7 dimensions.
sailop_fix(path, findings, strategy?)Apply automatic fixes to detected AI patterns. Rewrites code to use unique design tokens while preserving functionality.
sailop_generate(seed?, avoidHues?, preferSerif?)Generate a complete design system (palette, typography, spacing, radii) that avoids all detected AI patterns.
sailop_report(format, compare?)Produce a detailed report of scan results in markdown, JSON, or terminal format. Includes per-file breakdowns and trend data.
sailop_check(path, threshold?, strict?)CI-mode scan that returns exit code 0 (pass) or 1 (fail) based on a configurable threshold. Used in pre-commit hooks and pipelines.
sailop_compare(baseline, current)Compare two scans to show improvement or regression. Useful for tracking progress across commits.
Here is a typical session where you build a page with Claude Code, then use Sailop to make it unique.
Claude Code generates the initial page with components, styling, and layout.
At this point, the page likely scores 60-80 on the slop scale because Claude (like all LLMs) defaults to common patterns.
Sailop MCP tools activate. Claude Code calls sailop_scan on your source files and presents the report: score, grade, and line-by-line findings.
The skill knows to scan all relevant files (TSX, CSS, HTML) and aggregate the results.
You see exactly which parts of your code match AI-generated patterns and why.
Each finding includes the file, line number, severity, and the specific rule that was triggered.
Claude Code calls sailop_generate and receives a complete design system: CSS custom properties, font pairings, palette, spacing scale, border radii. It then applies them to your project.
The generated system is procedurally unique — it avoids the AI hue band (200-290), uses off-grid spacing, and pairs non-default fonts.
Claude Code calls sailop_compare with the baseline and current scans. Shows the score dropping from 72 to 15.
The before/after comparison makes it clear which changes had the most impact.
Install Sailop, open Claude Code, and type /sailop. That is it.