Install
openclaw skills install text-detectionAnalyzes text using NLP, GPT pattern detection, and regex matching to identify AI-generated content with configurable accuracy and speed.
openclaw skills install text-detectionSkills for analyzing and detecting AI-generated text content.
Skill ID: nlp-toolkit
Purpose: Advanced natural language processing for text analysis
Features:
Installation:
npm install @clawhub/nlp-toolkit
Configuration:
{
"skill": "nlp-toolkit",
"settings": {
"models": ["perplexity", "entity", "language"],
"cacheResults": true,
"timeout": 5000
}
}
Usage:
import { analyzeText } from '@clawhub/nlp-toolkit';
const result = await analyzeText(content);
// {
// perplexity: 45.2,
// burstiness: 0.65,
// entities: ['GPT', 'AI'],
// language: 'en',
// complexity: 'medium'
// }
Use Cases:
Troubleshooting:
Related Skills: pattern-matcher, gpt-analyzer
Skill ID: gpt-analyzer
Purpose: Detect GPT-specific writing patterns
Features:
Installation:
npm install @clawhub/gpt-analyzer
Configuration:
{
"skill": "gpt-analyzer",
"settings": {
"models": ["gpt-3.5", "gpt-4"],
"strictMode": false,
"minConfidence": 0.7
}
}
Usage:
import { detectGPT } from '@clawhub/gpt-analyzer';
const result = await detectGPT(text);
// {
// isGPT: true,
// confidence: 0.85,
// modelVersion: 'gpt-3.5',
// patterns: ['uniform-length', 'formal-tone']
// }
Use Cases:
Troubleshooting:
Related Skills: nlp-toolkit, pattern-matcher
Skill ID: pattern-matcher
Purpose: Fast pattern-based detection
Features:
Installation:
npm install @clawhub/pattern-matcher
Configuration:
{
"skill": "pattern-matcher",
"settings": {
"patterns": [
"repetitive-starts",
"uniform-length",
"formal-markers"
],
"threshold": 3
}
}
Usage:
import { matchPatterns } from '@clawhub/pattern-matcher';
const result = matchPatterns(text);
// {
// matched: 5,
// patterns: ['repetitive-starts', 'uniform-length'],
// confidence: 0.65
// }
Use Cases:
Troubleshooting:
Related Skills: nlp-toolkit, gpt-analyzer
Skill ID: text-classifier
Purpose: ML-based text classification
Features:
Installation:
npm install @clawhub/text-classifier
Use Cases:
Related Skills: nlp-toolkit
Skill ID: hash-toolkit
Purpose: Fast content fingerprinting and deduplication
Features:
Installation:
npm install @clawhub/hash-toolkit
Use Cases:
Related Skills: All detection skills
Skill ID: sentiment-analyzer
Purpose: Analyze text sentiment and tone
Features:
Use Cases:
Skill ID: fact-checker
Purpose: Verify claims in text
Features:
Use Cases:
{
"skills": [
"nlp-toolkit",
"pattern-matcher",
"hash-toolkit"
]
}
Use for: Quick, lightweight detection
{
"skills": [
"nlp-toolkit",
"gpt-analyzer",
"text-classifier",
"pattern-matcher",
"hash-toolkit"
]
}
Use for: Maximum accuracy, research
{
"skills": [
"pattern-matcher",
"hash-toolkit"
]
}
Use for: Real-time, high-volume detection
{
"nlp-toolkit": {
"models": ["perplexity", "burstiness", "entity"],
"minTextLength": 100
},
"gpt-analyzer": {
"strictMode": true,
"minConfidence": 0.8
},
"text-classifier": {
"threshold": 0.9
}
}
{
"pattern-matcher": {
"patterns": ["basic"],
"threshold": 2
},
"hash-toolkit": {
"cacheEnabled": true,
"algorithm": "xxhash"
}
}
| Skill | Speed | Accuracy | Memory |
|---|---|---|---|
| nlp-toolkit | Medium (500ms) | High (85%) | 50MB |
| gpt-analyzer | Fast (200ms) | High (88%) | 20MB |
| pattern-matcher | Very Fast (<50ms) | Medium (65%) | 5MB |
| text-classifier | Medium (300ms) | Very High (92%) | 100MB |
| hash-toolkit | Very Fast (<10ms) | N/A | 1MB |
For implementation examples and architecture details, see AGENT.SPEC.md and SKILLS_MANAGEMENT.md.