跳至內容

Terminal 內的裝置端檢查

適用於 Claude、Codex 及 Cursor 的 AI 內容偵測 CLI

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

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

Download on the App Store
Mac 上的 Slop or Not 命令列設定畫面
binary 已內置於已簽署的 Slop or Not Mac app。
本機執行
文字、圖片、可讀性及清理檢查都會留在你的 Mac 上。
輸出 JSON
當 script 或 agent 需要穩定結果時,請使用 --json。
無限次本機檢查
Pro 會移除每日上限,讓 script 和 agent 可以在本機重複進行文字、圖片、可讀性及清理檢查。

設定

如何安裝 Slop or Not CLI?

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

# 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 圖片

在本機檢查 piped JPEG、PNG、HEIC 或 WebP 圖片 bytes,並可選擇為螢幕截圖加入 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,所以 scripts 和編輯器可以把它當成本機 AI 偵測器 API 使用,無需將文字或圖片上載到雲端 endpoint。它不是託管的 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 subcommand。當你的 MCP client 要求提供指令,或你正在除錯設定時,可以直接執行。

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