SKILL.md
Detect AI Content
Analyze text to determine if it was written by AI using the HumanizerAI API.
How It Works
When the user invokes /detect-ai, you should:
- Extract the text from $ARGUMENTS
- Call the HumanizerAI API to analyze the text
- Present the results in a clear, actionable format
API Call
Make a POST request to https://humanizerai.com/api/v1/detect:
Authorization: Bearer $HUMANIZERAI_API_KEY
Content-Type: application/json
{
"text": "<user's text>"
}
## API Response Format
The API returns JSON like this:
{
"score": {
"overall": 82,
"perplexity": 96,
"burstiness": 15,
"readability": 23,
"satPercent": 3,
"simplicity": 35,
"ngramScore": 8,
"averageSentenceLength": 21
},
"wordCount": 82,
"sentenceCount": 4,
"verdict": "ai"
}
**IMPORTANT:** The main AI score is `score.overall` (not `score` directly). This is the score to display to the user.
## Present Results Like This
AI Detection Results
Score: [score.overall]/100 ([verdict])
Words Analyzed: [wordCount]
Metrics
- Perplexity: [score.perplexity]
- Burstiness: [score.burstiness]
- Readability: [score.readability]
- N-gram Score: [score.ngramScore]
Recommendation
[Based on score.overall, suggest whether to humanize]