# Install Anti-Slop Plugins

Installs and upgrades vendored anti-slop Oxlint plugins while keeping local changes.

- Repository: https://github.com/dmmulroy/anti-slop (5818 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-10-14
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add dmmulroy/anti-slop --skill install-anti-slop -g -a claude-code -y`
Codex: `npx skills add dmmulroy/anti-slop --skill install-anti-slop -g -a codex -y`
Cursor: `npx skills add dmmulroy/anti-slop --skill install-anti-slop -g -a cursor -y`
Gemini CLI: `npx skills add dmmulroy/anti-slop --skill install-anti-slop -g -a gemini-cli -y`

## Description

Install, configure, update, or upgrade vendored anti-slop Oxlint plugins. Use when adding anti-slop, picking up upstream rules or fixes, or migrating an existing installation while preserving local customizations.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Install or update anti-slop

Anti-slop is vendored code: the target repository owns its rules, diagnostics, tests, and configuration. Preserve those choices when bringing in upstream changes.

## Choose the path

Read the repository's agent instructions and `git status`. Identify its package manager, Oxlint/Vite+ configuration, and any existing anti-slop entry points, including renamed or relocated copies referenced by `jsPlugins`.

- **Existing installation, update, upgrade, migrate, or reconfigure:** read [Update a vendored installation](references/update.md) and follow that procedure instead of the fresh-install steps below.
- **No installation, fresh install:** follow the procedure below. If the user requested an update but no installation can be found, confirm the target before installing.

Complete when the operation and target path are established and pre-existing work is identified.

## Fresh install

1. Copy the bundled plugin from this skill. Run from the target repository:

   ```bash
   node <skill-directory>/scripts/install.mjs
   ```

   This creates `tools/oxlint/anti-slop/`. Pass another relative destination as the first argument when the repository has an established tooling layout. The script refuses to replace an existing destination; route existing copies through the update procedure rather than `--force`.

   Preserve the nested `vendor/eslint-stylistic/LICENSE` and `UPSTREAM.md`; they travel with the copied rule. Readability enforcement is self-contained and requires no Stylistic plugin dependency.

   Complete when the files, including vendored license and provenance, exist at the agreed destination without replacing an existing copy.

The rest: https://github.com/dmmulroy/anti-slop/blob/HEAD/skills/install-anti-slop/SKILL.md
