# AI Detect

> Detect if text is AI-generated using matrix.tencent.com

- Skill: `ccsang/ai-detect` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add ccsang/ai-detect`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ccsang/ai-detect/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ccsang (https://skillmd.com/u/ccsang)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/ccsang/ai-detect

---


# `ai-detect`

CLI tool to detect if a text is written by AI using the Tencent Matrix AI Detection tool.

## Usage

```bash
# Detect from a file
ai-detect path/to/article.txt

# Detect from a text string (in quotes)
ai-detect "Some short text to test..."
```

## Options

*   `<input>`: File path or text string to analyze.

## Examples

```bash
# Check a local file
ai-detect ./blog-post.md

# Check specific text
ai-detect "Here is some text generated by ChatGPT to test the detector."
```

## Notes

*   Uses `puppeteer` to automate `https://matrix.tencent.com/ai-detect/`.
*   **Rate Limits:** The website limits free usage (e.g., 5 times/day). If you hit the limit, the tool will exit with an error.
*   **Privacy:** Text is sent to a third-party service (Tencent).

