agentleFS
nc9nc9/skills/ai-writing-detector/SKILL.md

ai-writing-detector

Skill4 starsChanged 54 days agoMITView on GitHub

Detect AI-generated text and check plagiarism using the Pangram API. Use when asked to check if text is AI-written, verify human authorship, or run a plagiarism check on a file.

  • Reads credentials

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

AI Writing Detector

Pangram API wrapper for AI-text detection and plagiarism checking.

Requirements

Commands

./scripts/detect detect <file> [options]
./scripts/detect plagiarism <file> [options]

Options

OptionDescription
-k, --api-keyOverrides env
-s, --shortShort prediction, 512-token limit (detect only)
-o, --outputjson (default) or table
-i, --input-formattext, markdown, html — auto-detected from extension

Output

JSON. detect: fraction_ai, fraction_ai_assisted, fraction_human, num_ai_segments, windows[]. With -s: just ai_likelihood. plagiarism: plagiarism_detected, percent_plagiarized, plagiarized_sentences, plagiarized_content[].

Gotchas

  • -o/--output selects the output format (json | table), not a file path — -o report.json is rejected as an invalid value. Redirect stdout to write a file.
  • Input is a file path only; there is no stdin or inline-text mode.
  • Markdown input is stripped to prose before sending: frontmatter title/excerpt/description/summary are prepended, code blocks, images, links and formatting are removed. HTML input is reduced to visible text. So scores describe the prose, not the raw file.

Examples

./scripts/detect detect post.md
./scripts/detect detect article.txt -i markdown   # force md parsing on .txt
./scripts/detect detect essay.txt -o table > report.txt

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.