| name | slop-cop-check |
|---|---|
| description | Run slop-cop over a file or the current selection and show the violations report. Usage: /slop-cop-check [path] |
Run slop-cop check over the target prose and summarise the findings. Does
not rewrite the text. For a self-review + revise loop, rely on the
slop-cop-prose skill instead.
/slop-cop-check: check the open file or the current selection./slop-cop-check <path>: check the file at<path>./slop-cop-check -: read the target text from stdin (useful for piping).
-
Resolve the binary. Use
${CLAUDE_PLUGIN_ROOT:-${CURSOR_PLUGIN_ROOT:-}}/bin/slop-cop, the committed wrapper that execs the release pinned inbin/slop-cop.binrun, and fall back toslop-copon$PATHwhen neither plugin root is set. Verify it with"$SLOP_COP" --version: one bare version line. A binary that answersunknown flag: --versionis stale; discard it and resolve again. Never take a binary from a plugin data directory such as~/.claude/plugins/data/<plugin>/bin, and never hardcode a discovered absolute path into a later command or a memory note; that includes the report'sbinary_path. -
Pick the target. In order of preference:
$ARGUMENTSif the user supplied a path or-.- The current editor selection if any is non-empty.
- The focused file otherwise.
-
Invoke. Run
"$SLOP_COP" check --format=compact <target>. slop-cop picks the input language from the extension (.md,.html,.jsx,.tsx,.ts,.js) and masks non-prose regions before running detectors. Pass--lang=<mode>to override, such as--lang=texton a code file to see every regex hit, or--lang=markdownwhen reading from stdin. Add--no-llmwhen the user wants the answer in under a second; the sentence tier adds about 10s. -
Confirm it ran. Compact output ends in a
countsline, and a clean run is that line alone; nocountsline, or empty output, means a killed run to repeat, never clean text. -
Summarise. Present each
ruleId<TAB>line:col<TAB>matchedTextline as a short bullet, then thecountstotals. For a rule ID that needs explaining, re-run without--format=compactand read therulessidecar'stip, plus anyexplanationorsuggestedChangeon the violation. Close with: "Run/slop-cop-checkagain after edits, or ask for a revision through theslop-cop-proseskill."
Do not rewrite the file from this command. This is a report-only tool.