ai-content-detection
Detect AI-generated text using rule-based analysis, LLM-as-judge scoring, and optional external APIs. Use when: auditing content for AI authorship, academic integrity checks, editorial review, SEO content audits.
Best use case
ai-content-detection is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Detect AI-generated text using rule-based analysis, LLM-as-judge scoring, and optional external APIs. Use when: auditing content for AI authorship, academic integrity checks, editorial review, SEO content audits.
Teams using ai-content-detection should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ai-content-detection/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How ai-content-detection Compares
| Feature / Agent | ai-content-detection | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Detect AI-generated text using rule-based analysis, LLM-as-judge scoring, and optional external APIs. Use when: auditing content for AI authorship, academic integrity checks, editorial review, SEO content audits.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# AI Content Detection ## Overview Detect whether text was written by a human or generated by AI using a multi-layer approach: 1. **Rule-based analysis** — linguistic patterns and statistical indicators 2. **LLM-as-judge** — use Claude to score content against a detection ruleset 3. **External APIs** — optional GPTZero or Originality.ai for corroboration ## Instructions ### Detection Ruleset When analyzing text, evaluate these signals: **Strong AI Indicators (weight: high)** - Uniform sentence rhythm — sentences consistently similar in length and structure - Hedging overuse — "it's important to note", "furthermore", "additionally" - Perfect paragraph structure — every paragraph follows intro-body-conclusion - Generic examples — abstract or hypothetical, not from real experience - No typos or informal language — unnaturally clean writing - Overuse of em-dashes — especially common in Claude output **Moderate AI Indicators (weight: medium)** - Safe, diplomatic stance — never takes a controversial position - Abstract nouns over verbs — "the utilization of" vs "using" - No sensory details — descriptions lack taste, smell, texture - Temporal vagueness — "in recent years" instead of specific dates **Human Indicators (reduce AI suspicion)** - Typos or self-corrections - Specific dates, names, places from personal experience - Unusual word choices or slang - Strong opinions stated without hedging ### Statistical Signals - **Burstiness** — human text mixes long and short sentences (score > 0.5 = likely human, < 0.3 = likely AI) - **Vocabulary richness** — type-token ratio is lower in AI text - **Perplexity** — AI text has more predictable word choices ### LLM-as-Judge Prompt Use a structured prompt that lists the ruleset above and asks the LLM to return a JSON object with `score` (0-10), `verdict`, `confidence`, `signals_found`, `reasoning`, and `suspicious_phrases`. ### Pipeline 1. Run local analysis (burstiness, AI phrase detection) — free, instant 2. Run LLM analysis with the detection prompt — costs API tokens 3. Optionally call GPTZero or Originality.ai for corroboration 4. Average scores from all sources for a combined verdict ## Examples ### Example 1: Detecting AI-generated blog post A content manager receives a freelance blog post titled "10 Ways to Boost Your Morning Routine". They paste the text into the detection pipeline: ``` Input text (excerpt): "In today's fast-paced world, it's important to note that establishing a morning routine can significantly enhance your productivity. Furthermore, research shows that individuals who wake up early tend to be more successful. Additionally, incorporating mindfulness practices into your morning can yield substantial benefits." Local analysis: Burstiness: 0.18 (low — sentences are uniform length) AI phrases found: ["it's important to note", "furthermore", "additionally", "research shows"] Local score: 5.0 LLM analysis: Score: 8/10 Verdict: "likely_ai" Signals: ["uniform sentence rhythm", "excessive hedging phrases", "temporal vagueness", "no personal anecdotes"] Suspicious phrases: ["In today's fast-paced world", "it's important to note", "can significantly enhance"] Combined score: 6.5/10 — Likely AI. Flagged for human review. ``` ### Example 2: Confirming human-written article An editor checks a personal essay from a regular contributor: ``` Input text (excerpt): "I burned my toast again this morning — third time this week. My neighbor Dave, who's been a barista at Groundwork Coffee on Rose Ave since 2019, once told me the secret is to never trust the 'light' setting. He's wrong, obviously, but I still think about it every time I smell that acrid char." Local analysis: Burstiness: 0.62 (high — varied sentence lengths) AI phrases found: [] Local score: 0.0 LLM analysis: Score: 1/10 Verdict: "human" Signals: ["specific personal anecdote", "named person and place", "informal language", "humor and opinion"] Combined score: 0.5/10 — Human-written. No flag. ``` ## Guidelines - No detection method is 100% accurate — always route flagged content to a human reviewer - Short texts (<200 words) produce unreliable results; skip automated scoring - Non-native English writers may trigger false positives; consider raising thresholds - Paraphrasing tools can fool detectors — use multiple detection layers - AI watermarking (C2PA) is more reliable when available - For batch processing, chunk long documents into ~1500-word sections and average scores
Related Skills
xss-detection
Detect, exploit, and prevent Cross-Site Scripting (XSS) vulnerabilities in web applications. Use when tasks involve testing for reflected, stored, or DOM-based XSS, building XSS payloads, bypassing WAF filters, implementing Content Security Policy, sanitizing user input, or auditing web applications for injection vulnerabilities. Covers detection, exploitation, and remediation.
ssrf-detection
Detect, exploit, and prevent Server-Side Request Forgery (SSRF) vulnerabilities. Use when tasks involve testing for SSRF in web applications, accessing internal services through SSRF, bypassing SSRF filters, implementing SSRF prevention, or auditing applications that fetch external URLs. Covers blind and non-blind SSRF, cloud metadata exploitation, and defense strategies.
social-content
When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms. Also use when the user mentions 'LinkedIn post,' 'Twitter thread,' 'social media,' 'content calendar,' 'social scheduling,' 'engagement,' or 'viral content.' This skill covers content creation, repurposing, and platform-specific strategies.
contentful
You are an expert in Contentful, the API-first content platform for enterprise teams. You help developers integrate Contentful's Content Delivery API (CDN-backed, read), Content Management API (write), and Content Preview API (draft content) into websites and apps — using typed content models, localization, rich text rendering, image transformations, and webhooks for build triggers.
content-writer
Research topics and write content like blog posts, articles, and marketing copy. Use when a user asks to write a blog post, create an article, draft marketing copy, write website content, create a newsletter, produce thought leadership content, or write any long-form or short-form copy.
content-strategy
When the user wants to plan a content strategy, decide what content to create, or figure out what topics to cover. Also use when the user mentions "content strategy," "what should I write about," "content ideas," "blog strategy," "topic clusters," or "content planning." For writing individual pieces, see copywriting. For SEO-specific audits, see seo-audit.
ai-content-monetization
Automate online content creation and monetization with AI — blog posts, videos, social media, affiliate marketing, and digital products. Use when: building passive income streams with AI, automating content marketing, scaling content production.
zustand
You are an expert in Zustand, the small, fast, and scalable state management library for React. You help developers manage global state without boilerplate using Zustand's hook-based stores, selectors for performance, middleware (persist, devtools, immer), computed values, and async actions — replacing Redux complexity with a simple, un-opinionated API in under 1KB.
zoho
Integrate and automate Zoho products. Use when a user asks to work with Zoho CRM, Zoho Books, Zoho Desk, Zoho Projects, Zoho Mail, or Zoho Creator, build custom integrations via Zoho APIs, automate workflows with Deluge scripting, sync data between Zoho apps and external systems, manage leads and deals, automate invoicing, build custom Zoho Creator apps, set up webhooks, or manage Zoho organization settings. Covers Zoho CRM, Books, Desk, Projects, Creator, and cross-product integrations.
zod
You are an expert in Zod, the TypeScript-first schema declaration and validation library. You help developers define schemas that validate data at runtime AND infer TypeScript types at compile time — eliminating the need to write types and validators separately. Used for API input validation, form validation, environment variables, config files, and any data boundary.
zipkin
Deploy and configure Zipkin for distributed tracing and request flow visualization. Use when a user needs to set up trace collection, instrument Java/Spring or other services with Zipkin, analyze service dependencies, or configure storage backends for trace data.
zig
Expert guidance for Zig, the systems programming language focused on performance, safety, and readability. Helps developers write high-performance code with compile-time evaluation, seamless C interop, no hidden control flow, and no garbage collector. Zig is used for game engines, operating systems, networking, and as a C/C++ replacement.