GPTZero

GPTZero — OpenClaw detector for AI-like text

Readme

GPTZero (OpenClaw plugin)

GPTZero runs local, deterministic heuristics over text: lexical diversity, sentence-length variation, common “template” phrases in English and Chinese, repetition, and list-like formatting. It returns a 0–1 aiLikelihood score and a verdict label.

This is not forensic proof of authorship. The plugin does not call external APIs or hosted ML models by default.

Install

bash
openclaw plugins install /path/to/GPTZero

Publish to a registry with openclaw.plugin.json at the package root.

Config

json
{
  "thresholdLikelyAi": 0.62,
  "thresholdLikelyHuman": 0.38,
  "minChars": 120,
  "debug": false
}
  • thresholdLikelyAi / thresholdLikelyHuman: scores outside the middle band map to likely_ai / likely_human; between them → uncertain.
  • minChars: shorter input returns uncertain with reason: insufficient_text.
  • debug: logs a single JSON line with verdict and score.

Input / output

Input

json
{ "text": "…passage to analyze…" }

Output (example)

json
{
  "aiLikelihood": 0.71,
  "verdict": "likely_ai",
  "confidence": "medium",
  "charCount": 842,
  "wordCount": 120,
  "sentenceCount": 6,
  "signals": {
    "lexicalAiTilt": 0.52,
    "burstinessAiTilt": 0.48,
    "phraseAiTilt": 0.82,
    "structureAiTilt": 0.5,
    "listFormattingAiTilt": 0.5
  },
  "thresholds": { "thresholdLikelyAi": 0.62, "thresholdLikelyHuman": 0.38, "minChars": 120 },
  "disclaimer": "Heuristic stylistic analysis only. …"
}

Insufficient length:

json
{
  "aiLikelihood": null,
  "verdict": "uncertain",
  "confidence": "low",
  "reason": "insufficient_text",
  "charCount": 12,
  "minChars": 120,
  "signals": {},
  "disclaimer": "…"
}

Privacy

All analysis happens in-process; no network calls unless you extend GPTZero yourself.