{"id":"1d8e8846-12d5-4925-bbd7-6cc85efd7a7b","shortId":"7Xb2tJ","kind":"skill","title":"detect-ai","tagline":"Analyze text to detect if it was written by AI. Returns a score from 0-100 with detailed metrics. Use when checking content before publishing or submitting.","description":"# Detect AI Content\n\nAnalyze text to determine if it was written by AI using the HumanizerAI API.\n\n## How It Works\n\nWhen the user invokes `/detect-ai`, you should:\n\n1. Extract the text from $ARGUMENTS\n2. Call the HumanizerAI API to analyze the text\n3. Present the results in a clear, actionable format\n\n## API Call\n\nMake a POST request to `https://humanizerai.com/api/v1/detect`:\n\n```\nAuthorization: Bearer $HUMANIZERAI_API_KEY\nContent-Type: application/json\n\n{\n  \"text\": \"<user's text>\"\n}\n```\n\n## API Response Format\n\nThe API returns JSON like this:\n\n```json\n{\n  \"score\": {\n    \"overall\": 82,\n    \"perplexity\": 96,\n    \"burstiness\": 15,\n    \"readability\": 23,\n    \"satPercent\": 3,\n    \"simplicity\": 35,\n    \"ngramScore\": 8,\n    \"averageSentenceLength\": 21\n  },\n  \"wordCount\": 82,\n  \"sentenceCount\": 4,\n  \"verdict\": \"ai\"\n}\n```\n\n**IMPORTANT:** The main AI score is `score.overall` (not `score` directly). This is the score to display to the user.\n\n## Present Results Like This\n\n```\n## AI Detection Results\n\n**Score:** [score.overall]/100 ([verdict])\n**Words Analyzed:** [wordCount]\n\n### Metrics\n- Perplexity: [score.perplexity]\n- Burstiness: [score.burstiness]\n- Readability: [score.readability]\n- N-gram Score: [score.ngramScore]\n\n### Recommendation\n[Based on score.overall, suggest whether to humanize]\n```\n\n## Score Interpretation (use score.overall)\n\n- 0-20: Human-written content\n- 21-40: Likely human, minor AI patterns\n- 41-60: Mixed signals, could be either\n- 61-80: Likely AI-generated\n- 81-100: Highly likely AI-generated\n\n## Error Handling\n\nIf the API call fails:\n1. Check if HUMANIZERAI_API_KEY is set\n2. Suggest the user get an API key at https://humanizerai.com\n3. Provide the error message for debugging","tags":["detect","agent","skills","humanizerai","agent-skills","agentic","claude-code","codex","dete","humanize","humanizer"],"capabilities":["skill","source-humanizerai","skill-detect-ai","topic-agent","topic-agent-skills","topic-agentic","topic-claude-code","topic-codex","topic-dete","topic-humanize","topic-humanizer","topic-skills"],"categories":["agent-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/humanizerai/agent-skills/detect-ai","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add humanizerai/agent-skills","source_repo":"https://github.com/humanizerai/agent-skills","install_from":"skills.sh"}},"qualityScore":"0.457","qualityRationale":"deterministic score 0.46 from registry signals: · indexed on github topic:agent-skills · 14 github stars · SKILL.md body (1,717 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T01:02:17.307Z","embedding":null,"createdAt":"2026-04-19T00:40:32.314Z","updatedAt":"2026-04-22T01:02:17.307Z","lastSeenAt":"2026-04-22T01:02:17.307Z","tsv":"'-100':19,222 '-20':196 '-40':202 '-60':209 '-80':216 '/100':166 '/api/v1/detect':91 '/detect-ai':55 '0':18,195 '1':58,235 '15':121 '2':64,243 '21':131,201 '23':123 '3':73,125,253 '35':127 '4':135 '41':208 '61':215 '8':129 '81':221 '82':117,133 '96':119 'action':80 'ai':3,13,32,43,137,141,161,206,219,226 'ai-gener':218,225 'analyz':4,34,70,169 'api':47,68,82,95,105,109,232,239,249 'application/json':100 'argument':63 'author':92 'averagesentencelength':130 'base':184 'bearer':93 'bursti':120,174 'call':65,83,233 'check':25,236 'clear':79 'content':26,33,98,200 'content-typ':97 'could':212 'debug':259 'detail':21 'detect':2,7,31,162 'detect-ai':1 'determin':37 'direct':147 'display':153 'either':214 'error':228,256 'extract':59 'fail':234 'format':81,107 'generat':220,227 'get':247 'gram':180 'handl':229 'high':223 'human':190,198,204 'human-written':197 'humanizerai':46,67,94,238 'humanizerai.com':90,252 'humanizerai.com/api/v1/detect':89 'import':138 'interpret':192 'invok':54 'json':111,114 'key':96,240,250 'like':112,159,203,217,224 'main':140 'make':84 'messag':257 'metric':22,171 'minor':205 'mix':210 'n':179 'n-gram':178 'ngramscor':128 'overal':116 'pattern':207 'perplex':118,172 'post':86 'present':74,157 'provid':254 'publish':28 'readabl':122,176 'recommend':183 'request':87 'respons':106 'result':76,158,163 'return':14,110 'satperc':124 'score':16,115,142,146,151,164,181,191 'score.burstiness':175 'score.ngramscore':182 'score.overall':144,165,186,194 'score.perplexity':173 'score.readability':177 'sentencecount':134 'set':242 'signal':211 'simplic':126 'skill' 'skill-detect-ai' 'source-humanizerai' 'submit':30 'suggest':187,244 'text':5,35,61,72,101,104 'topic-agent' 'topic-agent-skills' 'topic-agentic' 'topic-claude-code' 'topic-codex' 'topic-dete' 'topic-humanize' 'topic-humanizer' 'topic-skills' 'type':99 'use':23,44,193 'user':53,102,156,246 'verdict':136,167 'whether':188 'word':168 'wordcount':132,170 'work':50 'written':11,41,199","prices":[{"id":"29cc5e52-41b6-4d80-b93f-06fe702d8755","listingId":"1d8e8846-12d5-4925-bbd7-6cc85efd7a7b","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"humanizerai","category":"agent-skills","install_from":"skills.sh"},"createdAt":"2026-04-19T00:40:32.314Z"}],"sources":[{"listingId":"1d8e8846-12d5-4925-bbd7-6cc85efd7a7b","source":"github","sourceId":"humanizerai/agent-skills/detect-ai","sourceUrl":"https://github.com/humanizerai/agent-skills/tree/main/skills/detect-ai","isPrimary":false,"firstSeenAt":"2026-04-19T00:40:32.314Z","lastSeenAt":"2026-04-22T01:02:17.307Z"}],"details":{"listingId":"1d8e8846-12d5-4925-bbd7-6cc85efd7a7b","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"humanizerai","slug":"detect-ai","github":{"repo":"humanizerai/agent-skills","stars":14,"topics":["agent","agent-skills","agentic","ai","claude-code","codex","dete","humanize","humanizer","skills"],"license":"mit","html_url":"https://github.com/humanizerai/agent-skills","pushed_at":"2026-02-05T14:19:04Z","description":"HumanizerAI Agent Skills for Claude Code and Codex - AI detection and text humanization","skill_md_sha":"7c744129bc968bc8f4985adc821ee53cf0273feb","skill_md_path":"skills/detect-ai/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/humanizerai/agent-skills/tree/main/skills/detect-ai"},"layout":"multi","source":"github","category":"agent-skills","frontmatter":{"name":"detect-ai","description":"Analyze text to detect if it was written by AI. Returns a score from 0-100 with detailed metrics. Use when checking content before publishing or submitting."},"skills_sh_url":"https://skills.sh/humanizerai/agent-skills/detect-ai"},"updatedAt":"2026-04-22T01:02:17.307Z"}}