---
name: Anti-Slop Brain
slug: anti-slop-brain
category: Quality
description: Scaffolds and operates an Obsidian vault-based brain that detects and repairs AI slop in prose, code, documentation, and agent output, relying on corpus evidence instead of authorship detection. Use it for quality assurance in AI-generated content.
github: "https://github.com/AgriciDaniel/anti-slop/tree/main/anti-slop-brain"
language: Python
stars: 29
forks: 4
install: "npx degit https://github.com/AgriciDaniel/anti-slop/tree/main/anti-slop-brain ~/.claude/skills/anti-slop-brain"
installs_to: ~/.claude/skills/anti-slop-brain
source_path: anti-slop-brain/SKILL.md
collection_size: 7
category_size: 1354
collection_url: "https://dirskills.com/collections/AgriciDaniel/anti-slop"
added: 2026-08-11T07:21:54.304Z
last_synced: 2026-08-11T07:21:54.304Z
canonical_url: "https://dirskills.com/skills/anti-slop-brain"
---

# Anti-Slop Brain

Scaffolds and operates an Obsidian vault-based brain that detects and repairs AI slop in prose, code, documentation, and agent output, relying on corpus evidence instead of authorship detection. Use it for quality assurance in AI-generated content.

**Install:**

```bash
npx degit https://github.com/AgriciDaniel/anti-slop/tree/main/anti-slop-brain ~/.claude/skills/anti-slop-brain
```

## README

# Anti-Slop Brain

Operate the deployed vault first. Treat `CODEX.md`, `wiki/hot.md`, and
`wiki/index.md` as vault-root-relative paths, where the vault root is the
directory passed to `--vault` or opened in Obsidian. In this repo, the template
vault root is `assets/template-brain/` and the demo vault root is
`examples/sample-vault/`.

Secretary: use `agents/anti-slop-secretary.md` for grounded answers, claim review,
and vault maintenance. That secretary reads the brain first, cites a vault note
and an official URL, and stays advisory and read-only.

## Commands

```bash
/anti-slop-brain new <client-slug> --owner <name>
/anti-slop-brain ingest --vault <path> --file <source>
/anti-slop-brain synthesize --vault <path>
/anti-slop-brain report --vault <path>
/anti-slop-brain visuals --vault <path>
/anti-slop-brain lint --vault <path>
/anti-slop-brain next --vault <path>
```

Source checkout equivalent:

```bash
anti-slop-brain new <client-slug> --owner <name>
anti-slop-brain ingest --vault <path> --file <source>
anti-slop-brain synthesize --vault <path>
anti-slop-brain report --vault <path> --html-only
```

## Required Operating Rules

1. Read `<vault>/CODEX.md`.
2. Read `<vault>/wiki/hot.md`.
3. Read `<vault>/wiki/index.md`.
4. Preserve `.raw/` as immutable source material.
5. Never store credentials in the vault.
6. Never make domain-specific claims without dated trustworthy sources.
7. Keep `hot`, `index`, `overview`, and `log` current.
8. Record research evidence in `references/source-ledger.json`.
9. Record domain adapter completion in `references/adapter-manifest.json`.

## Script Mapping

- `new` -> `python scripts/scaffold_vault.py`
- `ingest` -> `python scripts/ingest_source.py`
- `synthesize` -> `python scripts/synthesize_brain.py`
- `report` -> `python scripts/render_brain_report.py`
- `visuals` -> `python scripts/generate_vault_visuals.py`
- `lint` -> `python scripts/lint_vault.py`
- `next` -> `python scripts/guide_next_action.py`

## Quality Gates

- No authorship verdict, ever; this brain reports defects, not origin
- No hard failure on a stylistic marker alone; markers route to structural tests
- No claim about detector accuracy, marker frequency, or prevalence without a current cited source
- No credentials, tokens, or private operator content in repo artifacts
- No model self-grading as a release gate; deterministic scanners re-run after every repair

Do not call this brain market-ready unless `scripts/audit_brain.py --require
market-ready` passes. A scaffold is not a finished brain.

## Research Refresh

30 days for model-specific marker cohorts and detector claims; 90 days for corpus studies and regulation; before every release for any numeric claim
