jpskill.com
🛠️ 開発・MCP コミュニティ

gptzero

GPTZero APIと連携し、テキストやファイルをAIが生成したコンテンツかどうかを判定し、文章ごとの確率も算出することで、学術的な不正利用の検出やコンテンツの品質管理を効率化するSkill。

📜 元の英語説明(参考)

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.

🇯🇵 日本人クリエイター向け解説

一言でいうと

GPTZero APIと連携し、テキストやファイルをAIが生成したコンテンツかどうかを判定し、文章ごとの確率も算出することで、学術的な不正利用の検出やコンテンツの品質管理を効率化するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o gptzero.zip https://jpskill.com/download/14956.zip && unzip -o gptzero.zip && rm gptzero.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/14956.zip -OutFile "$d\gptzero.zip"; Expand-Archive "$d\gptzero.zip" -DestinationPath $d -Force; ri "$d\gptzero.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して gptzero.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → gptzero フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

GPTZero API 連携

概要

GPTZero は、ドキュメントごとおよび文ごとの AI 確率スコアを提供する、特化した AI コンテンツ検出サービスです。GPT-family、Claude、Gemini、その他の LLM からの出力を検出します。

  • API ベース URL: https://api.gptzero.me/v2
  • 認証: x-api-key ヘッダー
  • ドキュメント: https://gptzero.me/docs

手順

認証

環境変数に GPTZERO_API_KEY を設定し、すべてのリクエストの x-api-key ヘッダーで使用します。

単一テキスト分析 — POST /v2/predict/text

{ "document": "<text>" } を JSON として送信します。以下のレスポンスが返されます。

  • completely_generated_prob (0-1) — ドキュメント全体が AI によって生成された確率
  • average_generated_prob (0-1) — 文全体の AI 確率の平均
  • overall_burstiness — バーストネススコア (低いほど AI らしい)
  • sentences[] — 文ごとのオブジェクト。generated_probperplexityhighlight_sentence_for_ai を含む

スコアの解釈

completely_generated_prob 意味
> 0.80 AI によって生成された可能性が非常に高い
0.50 - 0.80 混合 / 不確実
< 0.50 人間によって書かれた可能性が高い

ファイルアップロード — POST /v2/predict/files

multipart フォームデータを使用して、PDF、DOCX、または TXT ファイルをアップロードします。テキスト分析と同じドキュメント構造を返します。

バッチ処理

GPTZero の無料プランでは、約 10 リクエスト/分が可能です。大量のスキャンを行う場合は、同時実行制御 (例: 3 つの同時リクエストとバッチ間に 300ms の遅延) を使用してバッチで処理します。

フラグが立てられた文

highlight_sentence_for_ai === true である sentences をフィルタリングして、GPTZero が AI によって生成されたと見なす特定の文を抽出します。

例 1: 学生のエッセイのスキャン

大学のティーチングアシスタントが、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 によって生成 (確率 89%)。3 つの文すべてにフラグが立てられました。

例 2: ジャーナリストの草稿の検証

編集者が、ニュース記事の草稿を公開前にチェックします。

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: 人間によって書かれた (確率 8%)。文にフラグは立てられていません。

ガイドライン

  • 信頼できる結果を得るための最小テキスト長: 約 250 文字
  • 英語のテキストで最高の精度が得られます。他の言語もサポートされていますが、信頼性は低くなります。
  • 言い換えられたり、軽く編集された AI テキストは、生の AI 出力よりも低いスコアになる場合があります。
  • AI によって生成された画像やコードは検出されません。
  • 無料プラン: 約 10,000 語/月、約 10 リクエスト/分。有料プランについては、https://gptzero.me/pricing を確認してください。
  • HTTP 429 (レート制限) は 60 秒待機し、HTTP 402 (クォータ超過) はプランを確認して処理してください。
  • フラグが立てられたコンテンツは常に人間のレビューに回してください — 100% 正確な検出器はありません。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

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