Slop Grader

Rule-based CLI that checks every line against every rule in parallel to catch AI slop and weak writing.

Stars
★ 38
Last updated
26d ago
FARS reviewed
Oct 06, 2026
License
MIT
Primary language
TypeScript

At a glance

How it runs
CLI
Works with
Universal · cross-platform
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Node.js 18+TYPESAFE_API_KEY or OPENROUTER_API_KEYShell / CLINetwork accessLocal filesystem
Typical use
A technical writer checks an AI-assisted draft for empty adverbs, stock phrases, colon reveals, and inflated language before publishing.
Not a fit if
  • Teams that want a ready-made GitHub Action or web UI
  • Teams that cannot send text to a third-party API
Maintenance
Commits in the last 30 dayslast commit 2026-10-29

What does this agent do, and when should you use it?

Slop Grader is an MIT-licensed Node.js CLI that grades text files against Markdown or JSON rulesets using Jev, a System One model available through TypeSafe AI or OpenRouter. It separates line-level checks from document-level checks: line rules are grouped into token-bounded batches and evaluated in parallel with up to ±10 lines of surrounding context, while document rules run in a single request. The tool returns typed probabilities rather than generated prose, so it can test every rule against every line without skimming. Results appear as a human-readable report or structured JSON, with optional execution statistics. It runs locally but sends document text to the selected remote API, and line-level results are cached by content hash and rule criteria for fast incremental re-runs.

The CLI reads a file path or - for stdin, loads built-in or custom rulesets, and parses # Line Rules and # Document Rules sections. It converts each rule into a semantic question and sends line rules in dynamically sized batches to Jev or OpenRouter, including up to ±10 lines of context padding; document rules are sent as one request over the whole text. Responses are checked for answer-to-question parity, and violations above the 0.8 confidence threshold are reported with line numbers. Line results are cached by the hash of the line content and the rule's criteria, so unchanged lines make zero API calls on later runs. Output is either a human-readable report or --json structured JSON, and --stats appends metrics such as rules, lines, questions, API calls, and cache hits.

  1. A technical writer checks an AI-assisted draft for empty adverbs, stock phrases, colon reveals, and inflated language before publishing.
  2. A documentation team uses the tech-docs ruleset to review tutorials and API docs for missing code examples, disorganized steps, or unexplained jargon.
  3. A developer scans a code review diff with custom rules to find swallowed errors, hardcoded secrets, or unjustified type assertions.
  4. A legal or operations team checks contracts, CSV transaction logs, or support transcripts for uncapped indemnity, excessive refunds, or unauthorized promises.
  5. A CI pipeline or editor integration consumes --json output to wire violation lines and document scores into automation or local tooling.
  6. A developer pastes the CLI report into an AI coding agent to generate a line-by-line fix plan, then reviews and applies it manually.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npx @lukstei/slop-grader@latest --list-rulesets
  • npx @lukstei/slop-grader@latest --provider openrouter -r no-ai-slop my-draft.md
  • npx @lukstei/slop-grader@latest -r no-ai-slop -r article-scores my-draft.md
  • npx @lukstei/slop-grader@latest -r no-ai-slop --json --stats my-draft.md
Environment variables
TYPESAFE_API_KEY OPENROUTER_API_KEY
Runtime
Node.js 18+

How do you install or deploy this agent?

You need Node.js 18+ and either TYPESAFE_API_KEY or OPENROUTER_API_KEY. No global install is required; run it through npx:

export TYPESAFE_API_KEY=...
# or
export OPENROUTER_API_KEY=...

npx @lukstei/slop-grader@latest --list-rulesets

To use OpenRouter explicitly:

npx @lukstei/slop-grader@latest --provider openrouter -r no-ai-slop my-draft.md

How do you use this agent?

Grade a file with built-in rulesets:

npx @lukstei/slop-grader@latest -r no-ai-slop -r article-scores my-draft.md

Read from standard input:

cat my-draft.md | npx @lukstei/slop-grader@latest -r no-ai-slop -

Get machine-readable output with --json and --stats:

npx @lukstei/slop-grader@latest -r no-ai-slop --json --stats my-draft.md

Validate a custom Markdown ruleset offline, then grade with it:

npx @lukstei/slop-grader@latest --check -r ./my-rules.md
npx @lukstei/slop-grader@latest -r ./my-rules.md my-draft.md

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Evaluates every line against every rule in parallel, avoiding the skipped lines and missed rules common in single-prompt generative LLM review of long documents.
  • Caches line results by content hash and rule criteria, so edits only re-evaluate changed lines and repeated runs make almost no API calls.
  • Supports both TypeSafe AI's Jev and OpenRouter, and can point at proxies or custom gateways through --base-url.
  • Rulesets are authored in Markdown and can be validated offline with --check; built-in rulesets include no-ai-slop, tech-docs, and grammar checks.
  • Provides human-readable reports, --json structured output, and --stats execution metrics for CI and editor integrations.
Limitations
  • Requires network access to a third-party API and your own TYPESAFE_API_KEY or OPENROUTER_API_KEY; cost scales with rules and lines.
  • An official GitHub Action, web UI, and standalone binaries are still roadmap items, not available today.
  • There is no local model or fully offline mode; document text is sent to the chosen provider.
  • Rule judgments depend on model probabilities, so custom rules need tuning and validation; the default confidence threshold is 0.8.
  • The runtime requires Node.js 18+ and the npm/npx ecosystem.

How does this agent compare with similar options?

Compared with handing a whole document to a generative LLM for a single review, Slop Grader uses a System One model to return typed probabilities for each line and each rule without generating prose, which helps report specific line numbers and reduce missed checks.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Slop Grader This agent 58 · Major gaps CLIFree + model costs ★ 38 26d ago TypeScript —
SkillOpt 54 · Major gaps CLIFree + model costs ★ 19k 1d ago Python Codex · Claude Code · OpenAI API · Claude API
Uni-CLI 83 · Good CLIFree ★ 229 8d ago TypeScript ChatGPT · Codex · Claude Code
OSS Autopilot 80 · Good Agent plugin / skillFree ★ 30 2d ago TypeScript Claude Code · Claude.ai

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
58/ 100 5-point scale 2.9 / 5
Trust 12/29
Reliability 6/14
Adaptability 14/18
Convention 13/18
Effectiveness 10/13
Verifiability 3/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

Trust: The README clearly states that text is sent to TypeSafe AI or OpenRouter and lists TYPESAFE_API_KEY / OPENROUTER_API_KEY, giving some data-flow transparency (data_flow_transparency=2). However, the tool sends user text (potentially contracts, logs, CSV, code diffs) to third-party models, and the README provides no redaction, local-processing, or data-retention policy, so sensitive_data_handling=1. The CLI grades immediately and incurs API calls and cost with no confirmation step or dry-run (--dry-run is still on the roadmap), so user_confirmation=1. Permissions appear limited to reading the target file and writing a cache directory, but least-privilege is not discussed and network/cache access is not scoped, so least_privilege=1. The dependency @typesafe-ai/sdk is pinned as "*", so no locked version or known-vulnerability status can be confirmed statically, dependency_security=1. External effects are API calls and local cache writes with no destructive defaults, external_effects=1. Caching can be bypassed with --no-cache, but no rollback or undo mechanism is described, rollback=1. Source attribution is clear: package.json author, repository URL, MIT license, and LICENSE file agree, source_attribution=2.

Reliability6 / 14 · 2.1/5

Reliability: The README describes batching, context padding, cache invalidation, and answer-to-question parity checks in concrete terms that are consistent with the CLI flags and JSON output example, self_consistency=2. Dependency availability is uncertain because @typesafe-ai/sdk uses "*" and @openrouter/sdk is only a devDependency, so runtime availability of the OpenRouter provider cannot be confirmed from static files, dependency_availability=1. Failure messages are only described as halting execution on dropped questions; no concrete error text, exit codes, or diagnostic format is shown, failure_messages=1.

Adaptability14 / 18 · 3.9/5

Adaptability: The README lists many scenarios (AI writing, tech docs, code diffs, CSV audits, contracts, support transcripts, postmortems) and provides custom-rule examples, audience_and_scenarios=3. Capability boundaries are partly stated (plain text only, granular rules, line vs document scope), but unsupported inputs such as binary, very large files, or non-UTF-8 are not addressed, capability_boundaries=2. Trigger precision is supported by Markdown/JSON rules and offline --check validation, but the confidence threshold is fixed at 0.8 and per-rule thresholds remain on the roadmap, trigger_precision=2. Environment fit requires Node.js 18+ and offers npx, with CI on Node 22/24, but no standalone binaries or Homebrew/APT support, environment_fit=2.

Convention13 / 18 · 3.6/5

Convention: The README is well structured with a table of contents, FAQ, CLI reference, output formats, development, and roadmap, information_architecture=3. Install notes cover Node 18+ and API keys plus npx usage, but omit local npm install details and cache-directory permissions, install_notes=2. Naming is consistent across package name, CLI name, ruleset names, and flags, but the project is still 0.x, limiting naming stability, naming_stability=2. Examples and FAQ are extensive, including terminal screenshots, example documents, an AI fix plan, and multiple rule templates, examples_and_faq=3. Known limitations are only implied by roadmap items; current constraints (plain text only, no dry-run, no stdin) are not consolidated, known_limitations=1. License is MIT and the LICENSE file matches package.json and the README badge, license=3. Versioning and changelog: package.json is 0.3.0 and the README points to docs/CHANGELOG.md with roadmap version links, but the changelog file itself is not in the evidence, versioning_changelog=2. Maintenance responsibility: the author and repository are clear, but support channels, response expectations, and security reporting are not stated, maintenance_responsibility=1.

Effectiveness10 / 13 · 3.8/5

Effectiveness: Output usability is high, with a human-readable report and structured JSON containing line numbers, rule IDs, document scores, and stats suitable for CI and agents, output_usability=3. Marginal value is real (per-line, per-rule parallel evaluation and incremental caching differentiate it from a single LLM prompt), but results depend on Jev model quality and similar text-checking tools exist, marginal_value=2. Cost-benefit is supported by concrete estimates (about $0.0053 for 16 lines, $0.076 for 300 lines) and caching reduces repeat cost, but no comparison to alternatives or retry-cost analysis is provided, cost_benefit=2.

Verifiability3 / 8 · 1.9/5

Verifiability: Cost, question-count, and API-call claims in the README are not backed by reproducible raw logs or benchmark scripts, claim_traceability=1. Cross-source corroboration is limited: README, package.json, CI workflow, and LICENSE agree on package name, version, and license, but core performance and cost claims have no independent corroboration, cross_source_corroboration=1. Fact/inference separation is weak because the README mixes mechanism descriptions with marketing claims such as "No skimming, no missed lines" without distinguishing verified facts from expected outcomes, fact_inference_separation=1.

Risks and how to mitigate them
  • The tool sends graded text to third-party models (TypeSafe AI or OpenRouter); avoid using it on files containing secrets, personal data, or regulated content unless the provider's data handling and retention policies are confirmed.
  • The dependency @typesafe-ai/sdk is pinned as "*", making builds non-reproducible and preventing static confirmation of known vulnerabilities; pin versions and run dependency audits.
  • The CLI immediately makes paid API calls with no confirmation step or dry-run; validate rules with --check and estimate cost before CI or bulk runs.
  • Cost, question-count, and API-call claims in the README lack reproducible logs or benchmark scripts and should not be the sole basis for capacity planning.
  • Publisher identity is not verified by the FollowAgents curated enterprise registry; independently verify the npm package and repository provenance before installation.
Evidence confidence: Low Reviewed Oct 06, 2026 Reviewed revision f2807bc4cf17
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/slop-grader.svg)](https://followagents.com/en/agents/slop-grader)
<a href="https://followagents.com/en/agents/slop-grader"><img src="https://followagents.com/badge/slop-grader.svg" alt="FARS review"></a>

FAQ

How much does it cost to check a file?
The README gives examples: 16 text lines against 53 rules costs roughly $0.0053; 300 lines against 42 rules costs roughly $0.076. Actual cost depends on provider, rule count, and line count; edited documents only pay for changed lines.
What happens if the API response is missing answers to some questions?
Each batch response is checked for complete answer-to-question parity. Any dropped questions halt execution immediately, and incomplete results are not cached.
Can it handle code diffs, CSV files, or contracts?
Yes. Rules ask questions about a single line or the whole document, and the README includes examples for code diffs, CSV transaction logs, contracts, support transcripts, and incident postmortems.
Do custom rulesets require network access to validate?
No. --check validates Markdown rule syntax offline without an API key. Actual grading still calls the model.
Which models and providers are supported?
It defaults to jev-1.13.0 on TypeSafe or typesafe/jev-1.13 on OpenRouter, overridable with --model. Select the provider with --provider or environment variables.
Is Slop Grader open source?
Yes. The source code is on GitHub (lukstei/slop-grader) under the MIT licence.
Is Slop Grader safe to use?
FollowAgents' FARS review (Oct 06, 2026) scored Slop Grader 12/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is Slop Grader still maintained?
Yes. The latest commit on GitHub is from 2026-10-29, within the last 30 days.
Who makes Slop Grader?
Slop Grader is published on GitHub by the account lukstei. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts