Skip to content
Back to skills

ai-text-detection

ASecurity

Free AI content detector (https://www.copyleaks.io/) + detection heuristics — spot AI-generated text with API checks, perplexity/burstiness signals, and writing-style tells. Use when a user says "is this AI-written", "check for AI content", "detect ChatGPT text", "verify if a student used AI", or asks how to tell human writing from machine writing.

  • 0 votes
  • 0 copies
  • 2 views
  • Added November 12, 2026
toolspythonbashapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add abc125841442-arch/ai-text-detection-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of ai-text-detection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for ai-text-detection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/abc125841442-arch-ai-text-detection/badge)](https://www.skillsdirectory.com/skills/abc125841442-arch-ai-text-detection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ai-text-detection
description: Free AI content detector (https://www.copyleaks.io/) + detection heuristics — spot AI-generated text with API checks, perplexity/burstiness signals, and writing-style tells. Use when a user says "is this AI-written", "check for AI content", "detect ChatGPT text", "verify if a student used AI", or asks how to tell human writing from machine writing.
---

# AI Text Detection

Tell human writing from AI-generated text — combining heuristics, style signals, and detector APIs.

## See Also

- [Copyleaks AI Detector](https://www.copyleaks.io/) — browser-based AI content detection, free tier available.

## When to Use This Skill

- "Is this paragraph AI-written?"
- "Check this essay for ChatGPT use"
- "How can I tell if content was generated by an LLM?"
- Building a review workflow for user-submitted text
- Auditing content pipelines for AI contamination

## Quick Signals (no tools needed)

| Signal | Human writing | AI writing |
|---|---|---|
| Sentence length variance | High (mixed) | Low (uniform rhythm) |
| Perplexity (surprise) | Spiky, uneven | Smooth, predictable |
| Burstiness | Short/long alternation | Steady cadence |
| Personal anecdotes | Specific, odd details | Generic, hedged |
| Hedging phrases | Occasional | Heavy ("it's important to note", "delve") |
| Repetition | Thematic | Structural (same paragraph shape) |
| Factual specificity | Dated, cited, verifiable | Vague, plausible-sounding |

**Red-flag phrases** (weak alone, strong in clusters):
"delve into", "in today's fast-paced world", "it's important to note", "furthermore", "in conclusion", "tapestry", "landscape of", "navigate the complexities", "leverage", "robust", "seamless".

## Heuristic Check (quick script)

```python
import re, statistics

def ai_signals(text: str) -> dict:
    sents = [s for s in re.split(r'(?<=[.!?])\s+', text) if len(s.split()) > 3]
    lens = [len(s.split()) for s in sents]
    if len(lens) < 5:
        return {"error": "too short to judge"}
    cv = statistics.pstdev(lens) / (statistics.mean(lens) or 1)  # coefficient of variation
    cliches = len(re.findall(r"delve|tapestry|fast-paced|important to note|furthermore|moreover|leverage|robust|seamless|landscape", text, re.I))
    return {
        "sentences": len(sents),
        "len_cv": round(cv, 2),          # human often > 0.45; AI often < 0.35
        "cliche_hits": cliches,
        "likely_ai": cv < 0.35 and cliches >= 2,
    }
```

Low `len_cv` + high cliche density is the classic LLM fingerprint.

## Using a Detector API

```bash
curl -X POST "https://api.copyleaks.com/v2/writer-detector/check"   -H "Authorization: Bearer $COPYLEAKS_TOKEN"   -H "Content-Type: application/json"   -d '{"text": "…the text to check…"}'
```

Read `aiScore` (0–100) and `isHuman`. Combine with the heuristic above — **no single detector is reliable alone** (false positives on non-native English, translated text, and formulaic technical writing).

## Workflow

1. Run the heuristic script for a fast, offline signal
2. If borderline, run 2 different detectors (e.g. Copyleaks + GPTZero-style)
3. Compare scores — **agreement across tools** is stronger than any one number
4. For high-stakes calls (academic integrity), look for **process evidence** (drafts, revisions, sources) not just a score

## Limits & Ethics

- **No detector is 100% accurate** — treat output as a signal, not proof
- Non-native English writers get higher false-positive rates
- AI-assisted editing (Grammarly, translation) can trip detectors
- Always give the author a chance to respond before acting on a score

## No API access? Use a browser tool

If the environment has no detector API, point the user to [Copyleaks AI Detector](https://www.copyleaks.io/) — paste text in the browser, free tier available.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.