跳至內容

Terminal 中的裝置端檢查

Claude、Codex 和 Cursor 的 AI 內容偵測 CLI

slop CLI 可從你的 Mac 終端機執行 Slop or Not 的 AI 文字偵測器、AI 圖片偵測器、原始 OmniAID 圖片評分、可讀性分析器和清理工具。它會回傳 JSON,供 Claude、Codex、Hermes Agent、OpenClaw、Cursor、腳本和編輯器使用。

正在從 ZeroGPT 或 GPTZero 這類雲端偵測器轉過來?把草稿、螢幕截圖或本機檔案用 pipe 傳入。Slop or Not 會在本機評分,而且絕不會上傳。

Download on the App Store
Mac 上的 Slop or Not 命令列設定畫面
二進位檔已內建在簽署過的 Slop or Not Mac app 內。
在本機執行
文字、圖片、可讀性與清理檢查都留在你的 Mac 上。
輸出 JSON
當腳本或代理需要穩定結果時,請使用 --json。
不限次數的本機檢查
Pro 會移除每日上限,讓腳本和代理程式能在本機重複執行文字、圖片、可讀性與清理檢查。

設定

我要如何安裝 Slop or Not CLI?

先開啟一次 Slop or Not for Mac,啟用 Pro,然後前往 Settings > Command Line,讓 app 安裝 CLI。之後,用 app-bundle 二進位檔路徑在 Terminal 驗證。

# In Slop or Not: Settings > Command Line > Install
"/Applications/Slop Or Not.app/Contents/MacOS/slop" status --json

指令參考

Slop or Not CLI 可以做什麼?

命令介面刻意保持精簡:status、text、image、score-image、readability、cleanup 和 MCP。

slop status

檢查安裝狀態

確認 CLI 能找到 app bundle,並回報 Pro 是否已啟用。

查看指令與回應

執行

"/Applications/Slop Or Not.app/Contents/MacOS/slop" status --json

回傳

{
  "localCachePro" : true,
  "pro" : true,
  "version" : "1.0.9"
}
slop text

評分 AI 文字

從 stdin 讀取 UTF-8 文字,並回傳 Mac app 使用的同一套裝置端 AI 機率,以及可讀性指標。

查看指令與回應

執行

pbpaste | "/Applications/Slop Or Not.app/Contents/MacOS/slop" text --json

回傳

{
  "detectedLanguage" : "en",
  "detection" : {
    "result" : {
      "_0" : 0,
      "_1" : { "real" : {} }
    }
  },
  "readability" : {
    "detectedLanguage" : "en",
    "languageConfidence" : 0.9996,
    "scores" : [
      { "kind" : "fleschReadingEase", "direction" : "higherIsEasier", "label" : "<label>", "value" : 75.17 },
      { "kind" : "fleschKincaidGradeLevel", "direction" : "gradeLevel", "value" : 5.51 }
    ],
    "selectedLanguage" : "en",
    "stats" : { "wordCount" : 66, "sentenceCount" : 6, "syllableCount" : 94 },
    "warnings" : []
  },
  "sentenceCount" : 6
}
slop readability

分析可讀性

回傳英文的 Flesch 分數,以及另外六種支援語言的專用公式結果。

查看指令與回應

執行

cat draft.md | "/Applications/Slop Or Not.app/Contents/MacOS/slop" readability --json

回傳

{
  "readability" : {
    "detectedLanguage" : "en",
    "languageConfidence" : 0.9996,
    "scores" : [
      { "kind" : "fleschReadingEase", "direction" : "higherIsEasier", "label" : "<label>", "value" : 88.54 },
      { "kind" : "fleschKincaidGradeLevel", "direction" : "gradeLevel", "value" : 2.65 }
    ],
    "selectedLanguage" : "en",
    "stats" : { "wordCount" : 35, "sentenceCount" : 5, "syllableCount" : 46 },
    "warnings" : []
  }
}
slop cleanup

清理隱藏文字技巧

移除零寬空白、同形異義字、花俏標點,以及其他會影響檢查的格式痕跡。

查看指令與回應

執行

pbpaste | "/Applications/Slop Or Not.app/Contents/MacOS/slop" cleanup --json

回傳

{
  "cleanedText" : "<cleaned_text>",
  "detectedLanguage" : "en",
  "invisibleCounts" : [
    { "count" : 1, "kind" : "<invisible_character>" }
  ],
  "punctuationCounts" : [
    { "count" : 1, "kind" : "<punctuation_replacement>" }
  ],
  "homoglyphCounts" : [],
  "britishMappings" : []
}
slop image

偵測 AI 圖片

在本機檢查透過 pipe 傳入的 JPEG、PNG、HEIC 或 WebP 圖片位元組,並可選擇對螢幕截圖執行 OCR。

查看指令與回應

執行

"/Applications/Slop Or Not.app/Contents/MacOS/slop" image --json < ~/Desktop/screenshot.png

回傳

{
  "detection" : {
    "result" : {
      "_0" : 0.80,
      "_1" : { "most_likely_ai_slop" : {} }
    }
  }
}
slop score-image

使用 OmniAID 為圖片評分

當你需要直接的模型回饋,而不是完整的圖片偵測回應時,會針對管線輸入的圖片回傳原始 OmniAID 模型分數。

查看指令與回應

執行

"/Applications/Slop Or Not.app/Contents/MacOS/slop" score-image --json < ~/Desktop/generated.png

回傳

{
  "rawSlopScore" : 0.690673828125
}
slop mcp

啟動 MCP server

透過 stdio 將 Slop or Not 工具提供給 Claude、Codex、Hermes Agent、OpenClaw、Cursor 和其他 MCP client。

查看指令與回應

執行

"/Applications/Slop Or Not.app/Contents/MacOS/slop" mcp --print-config

回傳

{
  "clients": [
    "Claude Desktop",
    "Claude Code",
    "Codex CLI",
    "Hermes Agent",
    "OpenClaw",
    "Cursor"
  ],
  "tools": [
    "detect_text",
    "analyze_readability",
    "clean_text",
    "detect_image",
    "score_image",
    "slop_status"
  ]
}

快速用法

常見 terminal 工作流程

這些是大多數人最先會用到的指令。每個指令都會讀取本機輸入並印出本機結果。

我要如何從 Terminal 評分 AI 文字?

複製草稿,pipe 到 slop text,然後讀取 JSON 判定。當另一個工具需要穩定輸出時,請加上 --json。

pbpaste | "/Applications/Slop Or Not.app/Contents/MacOS/slop" text --json

我要如何檢查可讀性?

可讀性和 AI 偵測是分開的。當你需要檢查閱讀難度,又不想把文字送到網頁工具時,請使用它。

cat draft.md | "/Applications/Slop Or Not.app/Contents/MacOS/slop" readability --json

我要如何清理隱藏的 AI 指紋?

Text Cleanup 會移除不可見字元、同形異義字和空白技巧。它不會改寫文字。

pbpaste | "/Applications/Slop Or Not.app/Contents/MacOS/slop" cleanup --json

我要如何取得原始 OmniAID 圖片分數?

當圖片生成工作流程需要原始模型訊號,而不是具來源判斷的圖片偵測結果時,請使用 score-image。

"/Applications/Slop Or Not.app/Contents/MacOS/slop" score-image --json < ~/Desktop/generated.png

我要如何檢查圖片檔?

針對螢幕截圖、產品照、交友個人檔案照片,以及其他你想在本機檢查的檔案,請使用 app-bundle CLI 命令。

"/Applications/Slop Or Not.app/Contents/MacOS/slop" image --json < ~/Desktop/screenshot.png

本機 AI 偵測器 API

我可以把 CLI 當成本機 AI 偵測 API 使用嗎?

用於本機自動化的話,可以。CLI 會讀取 stdin 或本機檔案並回傳 JSON,因此腳本和編輯器可以把它當成本機 AI 偵測器 API 使用,不必將文字或圖片上傳到雲端端點。它不是託管式 HTTP API;Mac app 會在呼叫指令的那台機器上執行檢查。

pbpaste | "/Applications/Slop Or Not.app/Contents/MacOS/slop" text --json
"/Applications/Slop Or Not.app/Contents/MacOS/slop" image --json < ~/Desktop/source-photo.png
"/Applications/Slop Or Not.app/Contents/MacOS/slop" score-image --json < ~/Desktop/generated.png

從 CLI 使用 MCP

我要如何從 CLI 啟動 MCP?

MCP server 是 CLI 的子指令。當你的 MCP client 要求提供指令,或你正在偵錯設定時,可以直接執行它。

"/Applications/Slop Or Not.app/Contents/MacOS/slop" mcp