Skip to content
Back to skills

ai-text-detector-github

ASecurity

Detect whether a passage shows AI-like writing signals and return an explainable risk estimate with confidence, caveats, and next steps.

  • 679 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 13, 2026
ai-agentspythongobashgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned October 13, 2026

npx -y skills add lynote-ai/ai-text-detector --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of ai-text-detector-github?

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

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

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-detector-github
description: Detect whether a passage shows AI-like writing signals and return an explainable risk estimate with confidence, caveats, and next steps.
---

# AI Text Detector Skill

## Overview

This skill wraps the local `ai-detector-skill` analyzer into a reusable open source Codex-style skill.

It is designed for:

- essays
- emails
- articles
- reviews
- forum posts
- other prose where a user asks whether the writing may be AI-generated

This skill returns a risk estimate, not proof of authorship.

## Trigger Conditions

Use this skill when:

- the user asks "is this AI-written?"
- the user asks to detect AI-generated text
- the user pastes a passage and asks whether it sounds machine-written
- the user wants a cautious AI-likeness review for a document or message

## Required Behavior

- Never present the score as proof.
- Never accuse a named person of cheating, fraud, or misconduct.
- Ask for a longer sample when the text is under about 80 words.
- Prefer "AI-like signals are present" over "This was written by AI".
- For high-stakes contexts, recommend human review and comparison with known writing samples.

## Execution Flow

1. Receive the candidate text and check length.
2. If the sample is under about 80 words, explain that the detector will be noisy and ask for a longer sample when possible.
3. Save the text to a file or pipe it through stdin.
4. Run the local detector:

```bash
ai-detect path/to/text.txt --json
```

or:

```bash
python -m aidetect.cli path/to/text.txt --json
```

or from the repository helper:

```bash
python scripts/detect.py path/to/text.txt --json
```

5. Parse the JSON result and validate that it includes:

- `score`
- `confidence`
- `verdict`
- `conclusion`
- `signals`
- `caveats`

6. Respond in this order:

1. One-sentence conclusion with uncertainty.
2. Score and confidence.
3. Strongest evidence signals.
4. Caveats.
5. Next steps only when useful.

## Output Guidance

Good phrasing:

- "AI-like signals are present, but this is not proof."
- "The result is uncertain because the sample is short."
- "This should be reviewed against known writing samples."

Avoid:

- "This was definitely written by AI."
- "The detector proves misconduct."
- Any accusation against a named person.

## Repository Layout

- `SKILL.md`: skill contract and usage rules
- `scripts/detect.py`: repository-local wrapper for the detector
- `scripts/setup.sh`: local environment bootstrap
- `references/api-reference.md`: response contract and CLI reference
- `assets/templates/report.md`: reusable response template

## Development Notes

- Keep the analyzer explainable and lightweight.
- Prefer local heuristics over hidden network calls.
- Update this file whenever behavior or output changes.

Files in this skill

  • AGENTS.md915 B
  • CONTRIBUTING.md1 KB
  • Makefile331 B
  • README.zh-CN.md11.3 KB
  • SECURITY.md728 B
  • SKILL.md2.7 KB
  • assets/hero.svg3.4 KB
  • assets/score-bands.svg2 KB
  • assets/workflow.svg2.9 KB
  • detection-model-pipeline/.env.example380 B
  • detection-model-pipeline/.gitattributes175 B
  • detection-model-pipeline/.gitignore263 B
  • detection-model-pipeline/LICENSE1.1 KB
  • detection-model-pipeline/Makefile7.1 KB
  • detection-model-pipeline/README.md7.4 KB
  • detection-model-pipeline/README.zh-CN.md6.8 KB
  • detection-model-pipeline/manifest.yaml4.4 KB
  • detection-model-pipeline/requirements-model.txt189 B
  • detection-model-pipeline/requirements-test.txt49 B
  • detection-model-pipeline/requirements.txt49 B

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 ai-agents →

Comments

Loading comments…

Newsletter

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