gptzero

集成 GPTZero API 以执行 AI 内容检测,包括文本扫描、文件上传、批量处理和逐句概率评分。适用于程序化 AI 内容扫描、学术诚信检测和内容审核流水线等场景。

仓库最近推送
GitHub Stars
219
Forks
38
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "gptzero":https://skillpi.com/zh/skills/deepskill-1cf41f5a13bb2afb24ea5f47bfe10c4b0c5f51d669182f241040c53a0aa1e54f。安装前核对上游来源和版本:https://github.com/TerminalSkills/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

集成 GPTZero API 以执行 AI 内容检测,包括文本扫描、文件上传、批量处理和逐句概率评分。适用于程序化 AI 内容扫描、学术诚信检测和内容审核流水线等场景。

0 下载

介绍来源: third_party · TerminalSkills · 1.0.0 参考来源

SkillPi 解读

实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: gptzero
description: >-
  Integrate GPTZero API for AI content detection — text scanning, file upload,
  batch processing, per-sentence probability scores. Use when: programmatic AI
  content scanning, academic integrity tools, content moderation pipelines.
license: Apache-2.0
compatibility: "Requires Node.js 18+ with native fetch"
metadata:
  author: terminal-skills
  version: "1.0.0"
  category: data-ai
  tags: ["ai-detection", "gptzero", "content-moderation", "text-analysis"]

GPTZero API Integration

Overview

GPTZero is a specialized AI content detection service providing per-document and per-sentence AI probability scores. It detects output from GPT-family, Claude, Gemini, and other LLMs.

Instructions

Authentication

Set GPTZERO_API_KEY in your environment, then use it in the x-api-key header for all requests.

Single Text Analysis — POST /v2/predict/text

Send { "document": "<text>" } as JSON. Returns a response with:

  • completely_generated_prob (0-1) — probability the entire document is AI-generated
  • average_generated_prob (0-1) — average AI probability across sentences
  • overall_burstiness — burstiness score (low = more AI-like)
  • sentences[] — per-sentence objects with generated_prob, perplexity, and highlight_sentence_for_ai

Score Interpretation

completely_generated_prob Meaning
> 0.80 Very likely AI-generated
0.50 - 0.80 Mixed / uncertain
< 0.50 Likely human-written

File Upload — POST /v2/predict/files

Upload PDF, DOCX, or TXT files using multipart form data. Returns the same document structure as text analysis.

Batch Processing

GPTZero free tier allows ~10 req/min. For bulk scanning, process in batches with concurrency control (e.g., 3 concurrent requests with 300ms delay between batches).

Flagged Sentences

Filter sentences where highlight_sentence_for_ai === true to extract the specific sentences GPTZero considers AI-generated.

Examples

Example 1: Scanning a student essay

A university teaching assistant checks a submitted essay using the GPTZero API:

POST https://api.gptzero.me/v2/predict/text
Headers: { "x-api-key": "gz-abc123...", "Content-Type": "application/json" }
Body: { "document": "The Industrial Revolution fundamentally transformed Western society in numerous ways. It is worth noting that the shift from agrarian economies to industrial manufacturing created unprecedented urbanization. Furthermore, the development of steam power and mechanized production significantly altered labor dynamics and social structures across Europe and North America." }

Response:
{
  "documents": [{
    "completely_generated_prob": 0.89,
    "average_generated_prob": 0.85,
    "overall_burstiness": 0.12,
    "sentences": [
      { "sentence": "The Industrial Revolution fundamentally transformed Western society in numerous ways.", "generated_prob": 0.78, "highlight_sentence_for_ai": true },
      { "sentence": "It is worth noting that the shift from agrarian economies...", "generated_prob": 0.95, "highlight_sentence_for_ai": true },
      { "sentence": "Furthermore, the development of steam power...", "generated_prob": 0.91, "highlight_sentence_for_ai": true }
    ]
  }]
}

Verdict: AI-generated (89% probability). All 3 sentences flagged.

Example 2: Verifying a journalist's draft

An editor checks a news article draft before publication:

POST https://api.gptzero.me/v2/predict/text
Body: { "document": "At 3:47 AM on Tuesday, a pipe burst in the basement of Mel's Diner on Crenshaw Blvd, flooding the kitchen where owner Melinda Torres had just finished prepping 40 pounds of brisket for the lunch rush. 'I heard it pop and I just stood there watching the water come up,' Torres said. 'Twenty-two years in this spot and nothing like this has happened.' The city's Department of Water and Power dispatched a crew by 5 AM." }

Response:
{
  "documents": [{
    "completely_generated_prob": 0.08,
    "average_generated_prob": 0.11,
    "overall_burstiness": 0.67,
    "sentences": [
      { "sentence": "At 3:47 AM on Tuesday, a pipe burst...", "generated_prob": 0.05, "highlight_sentence_for_ai": false },
      { "sentence": "'I heard it pop and I just stood there...'", "generated_prob": 0.03, "highlight_sentence_for_ai": false },
      { "sentence": "The city's Department of Water and Power...", "generated_prob": 0.12, "highlight_sentence_for_ai": false }
    ]
  }]
}

Verdict: Human-written (8% probability). No sentences flagged.

Guidelines

  • Minimum text length: ~250 characters for reliable results
  • Best accuracy on English text; other languages are supported but less reliable
  • Paraphrased or lightly edited AI text may score lower than raw AI output
  • Does not detect AI-generated images or code
  • Free tier: ~10,000 words/month, ~10 req/min; check https://gptzero.me/pricing for paid plans
  • Handle HTTP 429 (rate limit) by waiting 60s and HTTP 402 (quota exceeded) by checking your plan
  • Always route flagged content to human review — no detector is 100% accurate

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值78/100

亮点

  • 提供 AI 内容检测能力,适用于学术诚信、内容审核等明确场景
  • 集成 GPTZero API,支持文本扫描、文件上传、批量处理、逐句概率评分
触发精准88/100

亮点

  • 触发词精准完整,覆盖程序化 AI 内容扫描、学术诚信工具、内容审核流水线等多种场景
结构规范92/100

亮点

  • 文档结构完整,包含认证、API 调用、示例、指南等章节
  • 提供端到端示例,步骤清晰,frontmatter 完整
执行可靠85/100

亮点

  • API 认证方式明确,请求格式和响应结构详细说明
  • 覆盖主要异常处理(速率限制、配额超限)
证据可验 (前四项均值)86/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 23, 30, 68 行
文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • api.gptzero.me
  • gptzero.me

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。