gptzero
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "gptzero" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-1cf41f5a13bb2afb24ea5f47bfe10c4b0c5f51d669182f241040c53a0aa1e54f. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Integrates the GPTZero API for AI content detection, including text scanning, file uploads, batch processing, and per-sentence probability scoring. Suitable for programmatic AI content scans, academic integrity tools, and content moderation pipelines.
Introduction source: third_party · TerminalSkills · 1.0.0 Reference
SkillPi interpretation
- Testing
- Not tested
Browse files
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.
- API base URL:
https://api.gptzero.me/v2 - Auth:
x-api-keyheader - Docs: https://gptzero.me/docs
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-generatedaverage_generated_prob(0-1) — average AI probability across sentencesoverall_burstiness— burstiness score (low = more AI-like)sentences[]— per-sentence objects withgenerated_prob,perplexity, andhighlight_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
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 AI 内容检测能力,适用于学术诚信、内容审核等明确场景
- 集成 GPTZero API,支持文本扫描、文件上传、批量处理、逐句概率评分
Highlights
- 触发词精准完整,覆盖程序化 AI 内容扫描、学术诚信工具、内容审核流水线等多种场景
Highlights
- 文档结构完整,包含认证、API 调用、示例、指南等章节
- 提供端到端示例,步骤清晰,frontmatter 完整
Highlights
- API 认证方式明确,请求格式和响应结构详细说明
- 覆盖主要异常处理(速率限制、配额超限)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 23, 30, 68
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- api.gptzero.me
- gptzero.me
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.