Agent skill

AI Text Detector GitHub

by lynote-ai in lynote-ai/ai-text-detector

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

MITAuto-check passed

Install AI Text Detector GitHub

skills CLI
$ npx skills add lynote-ai/ai-text-detector --skill ai-text-detector-github -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lynote-ai/ai-text-detector ai-text-detector-github --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ai-text-detector-github
GitHub stars
447
Token cost
~695 tokens
SKILL.md length
344 words
Files
104 (incl. scripts, references, assets)
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 4 steps: Receive the candidate text and check… → If the sample is under about 80 words,… → Save the text to a file or pipe it… → …
  • SKILL.md covers Overview, Trigger Conditions, Required Behavior and Execution Flow, plus 3 more sections
  • Calls python

What it does

AI Text Detector GitHub is an agent skill from lynote-ai/ai-text-detector. Detect whether a passage shows AI-like writing signals and return an explainable risk estimate with confidence, caveats, and next steps.

Its SKILL.md is about 700 tokens, which your agent loads only when the skill is triggered. The skill folder holds 108 other files, including scripts, reference files and assets (for example `.github/workflows/ci.yml`, `AGENTS.md` and `CONTRIBUTING.md`).

It works with GitHub and Python. The repository describes itself as: Open-source AI text detector: explainable 0-100 risk scores for AI-generated content, plus a trained document- and sentence-level model (human / AI / mixed / paraphrased)… The licence is MIT.

Example prompts

  • “/ai-text-detector-github”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit f7db1e4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

AI Text Detector GitHub loads about 695 tokens when it runs, and up to ~961 if it reads all its reference files. Until then it costs about 40 tokens; SKILL.md has 344 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~695
With references · SKILL.md plus every file in references/, read only if the agent opens them
~961

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from lynote-ai/ai-text-detector at commit f7db1e4, republished under its MIT licence (© lynote-ai). 344 words, ~695 tokens.

Download SKILL.mdSave it as .claude/skills/ai-text-detector-github/SKILL.md (or your agent's skills folder). This skill also uses 103 other files; get the full folder from GitHub.
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
  1. Parse the JSON result and validate that it includes:
  • score
  • confidence
  • verdict
  • conclusion
  • signals
  • caveats
  1. Respond in this order:

  2. One-sentence conclusion with uncertainty.

  3. Score and confidence.

  4. Strongest evidence signals.

  5. Caveats.

  6. 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.

© lynote-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 103 other files (scripts, references, assets) in the repository root of lynote-ai/ai-text-detector.

  • SKILL.md
  • .claude/skills
  • .gitattributes
  • .github/workflows/ci.yml
  • AGENTS.md
  • CONTRIBUTING.md
  • LICENSE
  • Makefile
  • README.md
  • README.zh-CN.md
  • SECURITY.md
  • assets/hero.svg
  • assets/score-bands.svg
  • assets/templates/report.md
  • assets/workflow.svg
  • detection-model-pipeline
  • … and 88 more

Open the folder on GitHubat commit f7db1e4

Compare with similar skills

AI Text Detector GitHub next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

AI Text Detector GitHub compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AI Text Detector GitHub this skilllynote-ai/ai-text-detector447—~695Automated safety check: PassMIT
GitHub Deep Researchbytedance/deer-flow84k4 repos~1.3kAutomated safety check: PassMIT
Update V8 Versionopeninterpreter/openinterpreter69k2 repos~845Automated safety check: PassApache-2.0
Last30daysmvanhorn/last30days-skill64k—~7.9kAutomated safety check: NotesMIT
Merge Dependabot PRsonyx-dot-app/onyx32k1 repos~2.2kAutomated safety check: PassMIT
Summarise Ecosystem Resultsastral-sh/ruff50k—~2.2kAutomated safety check: PassMIT

Similar skills

  • GitHub Deep Research

    bytedance/deer-flow

    Researches a GitHub repository over four rounds using the GitHub API and web search, then writes a structured markdown report with timeline, metrics and Mermaid diagrams.

    84k GitHub starsUsed in 4 repos~1.3k tokens
    Research & ScienceAuto-check passed
  • Update V8 Version

    openinterpreter/openinterpreter

    Bumps the pinned v8 and rusty_v8 versions in Codex, validates the release-candidate path with the v8-canary check, and traces failures to upstream build changes.

    69k GitHub starsUsed in 2 repos~845 tokens
    DevOps & CloudAuto-check passed
  • Last30days

    mvanhorn/last30days-skill

    Research what people actually say about any topic in the last 30 days.

    64k GitHub stars~7.9k tokensUpdated today
    Research & ScienceAuto-check: notes
  • Merge Dependabot PRs

    onyx-dot-app/onyx

    Triages and lands a batch of open Dependabot PRs in the Onyx repo, where main is gated exclusively by GitHub's merge queue: approves and enqueues green PRs, closes superseded duplicates, fixes…

    32k GitHub starsUsed in 1 repo~2.2k tokens
    DevelopmentAuto-check passed
  • Official

    A skill your agent uses when a user says "summarise ecosystem results", "summarize this ty ecosystem report", "what changed in this ecosystem run?", or asks to summarise or summarize ty ecosystem…

    50k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Create a CUDA Python pull request from an approved personal or organization-owned fork, including the GitHub CLI GraphQL fallback for renamed organization-owned forks.

    3.4k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed

More from lynote-ai/ai-text-detector

  • AI Detector

    lynote-ai/ai-text-detector

    Evidence-based AI-generated text risk analysis for essays, emails, reviews, articles, messages, and other prose samples.

    447 GitHub stars~318 tokensUpdated yesterday
    Auto-check passed

Works with

Questions about AI Text Detector GitHub

What does AI Text Detector GitHub do?

Detect whether a passage shows AI-like writing signals and return an explainable risk estimate with confidence, caveats, and next steps. AI Text Detector GitHub is an agent skill from lynote-ai/ai-text-detector. Detect whether a passage shows AI-like writing signals and return an explainable risk estimate with confidence, caveats, and next steps.

How do I install AI Text Detector GitHub in Claude Code?

Run `npx skills add lynote-ai/ai-text-detector --skill ai-text-detector-github -a claude-code`. Or copy the skill folder (the lynote-ai/ai-text-detector repository) into .claude/skills/ai-text-detector-github in your project. Claude Code loads it when a task matches its description.

How do I install AI Text Detector GitHub in Codex?

Run `npx skills add lynote-ai/ai-text-detector --skill ai-text-detector-github -a codex`. Or copy the skill folder (the lynote-ai/ai-text-detector repository) into .agents/skills/ai-text-detector-github in your project. Codex loads it when a task matches its description.

Can I use AI Text Detector GitHub in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lynote-ai/ai-text-detector --skill ai-text-detector-github -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ai-text-detector-github, .gemini/skills/ai-text-detector-github, .github/skills/ai-text-detector-github and .opencode/skills/ai-text-detector-github in your project.

What does AI Text Detector GitHub need to run?

Going by SKILL.md and its folder, AI Text Detector GitHub needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does AI Text Detector GitHub access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is AI Text Detector GitHub safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does AI Text Detector GitHub use?

AI Text Detector GitHub is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does AI Text Detector GitHub use?

About 695 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 266 tokens, read only when the agent opens those files.

What are the alternatives to AI Text Detector GitHub?

Skills that share tags, products or a category with AI Text Detector GitHub: GitHub Deep Research (bytedance/deer-flow, 84k stars), Update V8 Version (openinterpreter/openinterpreter, 69k stars), Last30days (mvanhorn/last30days-skill, 64k stars) and Merge Dependabot PRs (onyx-dot-app/onyx, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AI Text Detector GitHub?

lynote-ai (a GitHub organization) maintains it in lynote-ai/ai-text-detector, which has 447 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 8, 2026.

Source: lynote-ai/ai-text-detector on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.