Install
openclaw skills install @tiny-coder-2104/text-humanizationTransforms robotic AI-generated text into natural human-sounding content by replacing 20+ common AI phrases.
openclaw skills install @tiny-coder-2104/text-humanizationTransforms robotic AI-generated text into natural, human-sounding content by replacing 20+ common AI phrases.
AI output sounds robotic: "In today's digital landscape, it is important to note that..." — readers disengage.
Pattern-based replacement of AI tell-tale phrases with natural alternatives.
// humanizer.js
function humanizeText(text) {
let out = String(text).trim();
const replacements = [
// Openings
[/\bIn today's digital (?:landscape|world)\b/gi, "Today"],
[/\bIn the modern era\b/gi, "Now"],
[/\bIn this day and age\b/gi, "These days"],
// Fillers
[/\bIt is important to note that\b/gi, "Note that"],
[/\bIt is worth mentioning\b/gi, "Also"],
[/\bIt should be noted that\b/gi, "Note:"],
[/\bPlease be aware that\b/gi, "Heads up:"],
// Transitions
[/\bFurthermore\b/gi, "Also"],
[/\bMoreover\b/gi, "Plus"],
[/\bAdditionally\b/gi, "Also"],
[/\bConsequently\b/gi, "So"],
[/\bTherefore\b/gi, "So"],
[/\bThus\b/gi, "So"],
// Corporate speak
[/\butilize\b/gi, "use"],
[/\bleverage\b/gi, "use"],
[/\bendeavor\b/gi, "try"],
[/\bfacilitate\b/gi, "help"],
[/\brobust\b/gi, "strong"],
[/\bseamless(?:ly)?\b/gi, "smooth"],
[/\bunleash\b/gi, "unlock"],
[/\bdelve\b/gi, "dig"],
[/\btransformative\b/gi, "useful"],
[/\bgame-changer\b/gi, "big change"],
[/\bparadigm shift\b/gi, "major change"],
[/\bsynergy\b/gi, "working together"],
[/\bholistic\b/gi, "complete"],
[/\bgranular\b/gi, "detailed"],
// Email formalities
[/\bI hope this email finds you well\b/gi, "Hi"],
[/\bPlease do not hesitate to\b/gi, "Feel free to"],
[/\bat your earliest convenience\b/gi, "when you can"],
[/\bDue to the fact that\b/gi, "Because"],
[/\bIn conclusion\b/gi, "Overall"],
[/\bThis is not an exhaustive list\b/gi, "Here are the main points"],
[/\bAs an AI language model\b/gi, ""],
[/\bI don't have personal opinions\b/gi, ""],
[/\bI cannot\b/gi, "I can't"],
// Hedging
[/\bIt seems that\b/gi, ""],
[/\bIt appears that\b/gi, ""],
[/\bOne could argue\b/gi, ""],
];
for (const [pattern, replacement] of replacements) {
out = out.replace(pattern, replacement);
}
// Clean up
out = out.replace(/\s{2,}/g, ' ').trim();
// Fix double punctuation
out = out.replace(/\.\s*\./g, '.');
out = out.replace(/,\s*,/g, ',');
return out;
}
// Usage
const robotic = "In today's digital landscape, it is important to note that we should utilize robust solutions. Furthermore, we must leverage our resources.";
const human = humanizeText(robotic);
// "Today, Note that we should use strong solutions. Also, we must use our resources."
// humanize-batch.js
const fs = require('fs');
function humanizeFile(inputPath, outputPath) {
const text = fs.readFileSync(inputPath, 'utf8');
const humanized = humanizeText(text);
fs.writeFileSync(outputPath, humanized);
console.log(`Humanized: ${inputPath} → ${outputPath}`);
}
// Process all .md files in directory
fs.readdirSync('./content').forEach(file => {
if (file.endsWith('.md')) {
humanizeFile(`./content/${file}`, `./humanized/${file}`);
}
});
curl -X POST https://your-api.com/api/humanize \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <base64_payment>" \
-d '{"text":"In today'\''s digital landscape, it is important to note that we should utilize robust solutions."}'
# Returns: {"text":"Today, Note that we should use strong solutions.","agent":"humanizer"}
Add domain-specific replacements:
const customReplacements = [
// Technical writing
[/\bthe user will be able to\b/gi, "users can"],
[/\bthe system will\b/gi, "the system"],
[/\bfunctionality\b/gi, "feature"],
// Marketing
[/\brevolutionary\b/gi, "new"],
[/\bcutting-edge\b/gi, "latest"],
[/\bstate-of-the-art\b/gi, "modern"],
// Academic
[/\bthe present study\b/gi, "this study"],
[/\bit has been shown that\b/gi, "research shows"],
];