RepositoryJavaScriptIDIndonesia
yanstd888

yanstd888/humanizer-lint

A local, zero-dependency prose, copywriting, UI-text, and code-comment linter that flags stiff, AI-sounding writing (stock phrases, flat sentence rhythm, repeated wording) and tells you what to revise. Includes 8 language packs. A style checker, not an AI detector.

118sao
18fork
0issue
0lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: ai-humanizer-free

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: copywriting-ai

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: stylometry

#1 Repository của tuần

humanizer-lint by yanstd888

humanizer-lint

HOL Guard

Edit stiff AI-shaped prose with a deterministic local prose and rhythm linter

A local, zero-dependency prose linter that flags stiff, AI-sounding writing (stock phrases, flat sentence rhythm, repeated wording) and tells you what to revise. A style checker, not an AI detector.

skills.sh GitHub Release npm CI Zero Dependencies Snyk: Pass Socket: Pass Agent Trust Hub: Pass Live Demo License Node.js GitHub Stars

What it does | Try in your browser | Install | Quick start | CLI reference | Detectors | Agent skill | FAQ

Summary

  • Flags repetitive AI stock phrases, flat sentence rhythm, and rigid translation patterns in blog posts, SEO articles, copy, and technical documentation.
  • Reports diagnostic CV, paragraph CV, adjacent rhythm delta, MATTR, n-gram repetition, and one-pass fix hints; these values are indicators, not mechanical style targets.
  • Ships 8 language-specific lexical packs (en, id, es, ms, fr, de, pt, zh) and Indonesian morphology checks. Experimental rhythm diagnostics (uncalibrated thresholds) use Intl.Segmenter for other languages.
  • Supports local author voice profiling via node <skill_dir>/scripts/fingerprint.mjs and passes the listed skills.sh security audits with zero network text uploads.
npx skills add yanstd888/humanizer-lint

Bahasa Indonesia: Linter prosa lokal tanpa dependency yang menandai tulisan kaku ala AI (frasa klise, ritme kalimat datar, kata berulang) dan menunjukkan bagian yang perlu direvisi. Pemeriksa gaya, bukan detektor AI.

8-language summary: EN — AI humanizer and prose linter for stiff writing and sentence rhythm. ID — humanizer bahasa Indonesia: perbaiki tulisan AI yang kaku dan audit ritme kalimat. ES — humanizador de texto IA y corrector de estilo y ritmo. MS — humanizer teks bahasa Melayu untuk semak dan baiki gaya ayat AI. FR — humaniseur de texte IA et analyseur stylométrique de prose. DE — KI-Schreibstil verbessern und KI-Floskeln entfernen. PT — humanizador de texto IA e corretor de ritmo e estilo. ZH — AI文章润色与人性化,消除AI写作腔并提升句式节奏。

Verified benchmark

Run npm run benchmark to reproduce the 20 synthetic fixtures (16 multilingual and 4 domain checks) and exploratory source corpus on the local machine.

Known limitations

Findings are editorial heuristics, not evidence of authorship. Some valid formal or technical prose may be flagged; review each finding in context. Statistical rhythm checks require eight sentences, and rhythm diagnostics outside the eight lexical packs are experimental. Compression uses a fixed deterministic JavaScript DEFLATE implementation; its ratios can differ substantially from earlier native-compression releases. The 0.64 repetition threshold is exploratory and sample-derived, not independently calibrated: the reference repetition case is 0.5605, and the two human demo samples meeting the 150-word gate score 0.7233 and 0.7485. The other six human demo samples are too short to exercise this gate. The midpoint rounded to 0.64 is not an estimate of population accuracy. The exploratory corpus is small, non-random, and not independently adjudicated, so its results do not estimate real-world accuracy. Agent discovery and end-to-end tool execution have not been fully verified: a Codex sandbox blocked file access and a Claude model request returned HTTP 404; see evals/RESULTS.md in the repository.

Try in your browser

Use the official demo or its mirror. Open a deterministic sample view directly:

LanguageAI Sample (FAIL)Human Sample (PASS)
ENopenopen
IDopenopen
ESopenopen
MSopenopen
FRopenopen
DEopenopen
PTopenopen
ZHopenopen

Use ?lang=en, ?lang=id, ?lang=es, ?lang=ms, ?lang=fr, ?lang=de, ?lang=pt, or ?lang=zh to set the playground chrome only for that visit; it does not overwrite a saved browser preference.

It works locally with zero runtime dependencies. Instead of rewriting text through another language model, it reports paragraph- and sentence-level violations with correction instructions. Use it to lint LLM-generated documentation, review robotic Markdown, check burstiness and lexical diversity, or add a prose gate to an agent or CI/CD workflow. The bundled rules flag phrases such as delve and tapestry without rewriting the source.

Editorial search intents

Use this skills.sh humanizer as an AI writing style editor and anti-slop linter to identify passages to revise. It can help you remove LLM clichés and stock phrases or fix robotic AI writing tone. The CLI reports sentence length variation, coefficient of variation (CV), adjacent sentence rhythm delta, and moving-average type-token ratio (MATTR); author voice fingerprinting records local writing samples. Its selected domain checks include a copywriting and CTA linter and an AI code comment linter, not a complete accessibility or code audit.

The CLI can serve as a stylometric analyzer, sentence burstiness checker, and Markdown prose linter; its diagnostics still require editorial judgment.

The repository provides a Claude Code writing skill; users may also use it as a Cursor prose skill, Codex writing skill, Windsurf skill, or Gemini CLI skill, subject to their agent's local execution capabilities.

  • ID: Untuk ubah tulisan AI jadi natural dan hilangkan kata klise AI, gunakan editor gaya bahasa dan ritme kalimat untuk audit artikel SEO dan dokumentasi teknis tanpa mengubah fakta.
  • MS: Semak ritma ayat dan frasa klise untuk perbaiki gaya penulisan AI yang kaku.
  • ES: Un editor de estilo y corrector de ritmo puede ayudar a quitar clichés de escritura IA.
  • FR: Cet éditeur de prose et analyseur stylométrique aide à corriger le style robotique.
  • DE: KI-Text humanisieren und dabei Satzrhythmus und Stil prüfen.
  • PT: Um editor de estilo e corretor de ritmo textual ajuda a remover clichês de IA.
  • ZH: 使用句式节奏与词汇多样性分析,检查文本风格,提升文章可读性。

Language support

TierLanguagesChecks
Tier 1 — rule packsen, id, es, ms, fr, de, pt, zhUniversal stylometric metrics plus lexical, definitional-opening, and structural-cliché packs; Indonesian keeps its morphology rules.
Tier 2 — universaluniversal or another ISO 639-1 code such as tr, ja, or arExperimental rhythm diagnostics through native Intl.Segmenter; lexical and MATTR thresholds are uncalibrated.

Use cases & agent integration

Use this local AI text humanizer and prose linter for copywriting, blog posts, SEO articles, technical documentation, Markdown proofreading, academic prose, and natural translation polishing. Tier 1 packs flag configured anti-slop phrases in English, Indonesian, Spanish, Malay, French, German, Portuguese, and Mandarin; Tier 2 offers experimental, uncalibrated rhythm diagnostics for other languages.

For a closed-loop agent workflow, install the skill first, draft without changing facts, and run the local node <skill_dir>/scripts/analyze.mjs --stdin --json command before revising flagged prose. The installed analyzer needs no runtime dependency or network text upload. Editor-specific discovery and plugin behavior should be verified in the target agent; they are not guaranteed by the CLI.

What it does

humanizer-lint analyzes prose after removing or neutralizing common non-prose Markdown structures. It then combines lexical rules, sentence-length statistics, structural checks, Indonesian morphology checks, and an optional voice profile into a score from 0 to 100.

The project includes:

  • Eight reviewable lexical and structural rule packs for EN, ID, ES, MS, FR, DE, PT, and ZH.
  • Sentence-length burstiness, adjacent rhythm delta, short/long sentence ratios, and adaptive MATTR.
  • Repetition checks based on paragraph symmetry, repeated sentence starters, and compression ratio.
  • Indonesian nominalization, passive-voice, loanword, and translation-style opening checks.
  • Optional voice profiles generated from one to five writing samples.
  • Human-readable terminal output and pure JSON output.
  • Standard exit codes for agents, scripts, and CI jobs.

It does not estimate perplexity, classify who wrote the text, rewrite prose automatically, scan directories, or provide SARIF output.

Terminal demo

Given this input in draft.md:

In today's fast-paced world, teams delve into a robust landscape. Moreover, this pivotal approach fosters seamless collaboration across every project. In conclusion, the solution unlocks valuable insights for everyone.

humanizer-lint --file draft.md --lang en reports FAIL, Score: 70, and exits 1. Its three sentences skip the statistical rhythm gate; lexical checks still run. A passing analysis exits 0. Results vary by rules and profile.

Static SKILL.md Humanizers vs. humanizer-lint (Closed-Loop CLI)

A static writing prompt can ask a model to vary prose, but it cannot verify the finished draft. humanizer-lint takes the smaller, deterministic approach: inspect the exact text after drafting, make only flagged revisions, then check again locally.

CapabilityStatic SKILL.md humanizer prompthumanizer-lint closed-loop CLI
Checks the completed draftNoYes, exact input is measured
Measures sentence rhythmPrompt guidance onlyCV, adjacent delta, short/long distribution
Measures vocabulary repetitionPrompt guidance onlyAdaptive MATTR and repetition checks
Flags configured AI clichésModel-dependentRule IDs and locations
Preserves source textDepends on rewriteYes, analysis only
Runs offline after installationDepends on agent/modelYes
Supports eight lexical packsPrompt-dependentEN, ID, ES, MS, FR, DE, PT, ZH; other-language rhythm is experimental
Reviews selected 26-pattern tellsModel-dependentBounded heuristics; coverage is not exhaustive
Clusters weak signalsPrompt-dependentThree visible weak findings in one paragraph affect score
Checks domain hygieneModel-dependentSelected copywriting, code-comment and UI checks
Produces JSON and exit codesUsually noYes
Proves human authorshipNoNo

If you are looking for an AI writing detector linter, a ChatGPT tone remover CLI, or an open-source alternative to AI humanizers, note the boundary: this tool detects configured style signals and rhythm problems. It does not claim to determine whether a human or model wrote the text.

Install

CLI

Run the CLI without a global install, or install it globally:

npx humanizer-lint --file tulisan.md --lang id
npm install -g humanizer-lint

Install as an agent skill

The recommended installation for coding agents is through the skills CLI:

npx skills add yanstd888/humanizer-lint

The public listing, installation command, and install count are available on skills.sh.

Development (from source)

Clone the repository and use npm link only when developing the local source:

git clone https://github.com/yanstd888/humanizer-lint.git
cd humanizer-lint
npm test
npm link
humanizer-lint --help
humanizer-fingerprint --help

No dependency installation or build step is required.

Quick start

humanizer-lint --file draft.md --lang auto       # Detect language
humanizer-lint --file draft.md --lang universal  # Experimental universal rhythm
humanizer-lint --file draft.md --lang es         # Explicit language
humanizer-lint --file draft.md --lang id --json  # Machine-readable report
cat draft.md | humanizer-lint --stdin --lang auto --json
humanizer-lint --file draft.md --lang en --profile profiles/custom-voice.json --json

Without npm link, replace humanizer-lint with node scripts/analyze.mjs and replace humanizer-fingerprint with node scripts/fingerprint.mjs.

Contoh / Example

Both versions describe existing project features; the edit removes an unnecessary opening without adding facts. Run the English analyzer on each complete paragraph.

Before — FAIL (95)

It is important to note that it runs locally. Humanizer-lint checks prose for repetitive phrases, formulaic openings, and recurring wording, while returning a report that identifies each supported finding. Eight lexical packs ship. The browser playground keeps analysis on the client, and the Node.js command line reads text from either files or standard input. A separate command creates voice profiles. Its analyzer reports a score and status alongside diagnostic findings, while the statistical rhythm gate requires eight prose sentences before evaluating sentence variance. Source code lives on GitHub. Users can install the package from npm and obtain the agent skill from the GitHub repository, while relying on the local command-line analyzer to evaluate their text without sending it to a server.

After — PASS (100)

It runs locally. Humanizer-lint checks prose for repetitive phrases, formulaic openings, and recurring wording, while returning a report that identifies each supported finding. Eight lexical packs ship. The browser playground keeps analysis on the client, and the Node.js command line reads text from either files or standard input. A separate command creates voice profiles. Its analyzer reports a score and status alongside diagnostic findings, while the statistical rhythm gate requires eight prose sentences before evaluating sentence variance. Source code lives on GitHub. Users can install the package from npm and obtain the agent skill from the GitHub repository, while relying on the local command-line analyzer to evaluate their text without sending it to a server.

Indonesian revision example

The facts below come from this project's language support and local-analysis description above; the revision removes an unnecessary phrase without adding facts. Both samples are too short for the statistical rhythm gate.

Before — FAIL, score 95:

Tidak dapat dipungkiri bahwa humanizer-lint menyediakan delapan paket leksikal dan menjalankan analisis secara lokal.

After — SKIP, score 100:

Humanizer-lint menyediakan delapan paket leksikal dan menjalankan analisis secara lokal.

The first result is FAIL because of a lexical finding; the second is SKIP, not a full rhythm pass.

Pattern mining

Run npm run mine-patterns -- --ai-dir <dir> --human-dir <dir> --lang en to compare document-frequency patterns (2–5 words) and exploratory rhythm distributions. Input directories must contain .txt or .md documents. Rhythm statistics require eight sentences per document; the reported human-corpus percentiles are exploratory, not validated thresholds. Candidates are not evidence of authorship and require review. By default the command only prints JSON; --write explicitly appends candidates to the corresponding local rule pack. New rules include observed Unicode variants, allow punctuation between tokens and allow Chinese tokens without spaces. This can broaden matches, and unobserved Unicode forms may still be missed. Newly mined Chinese rules use Intl.Segmenter word boundaries; results can vary with the runtime's ICU data, and this does not validate the meaning of a match. When a Chinese mined rule matches but Intl.Segmenter is unavailable, analysis returns an error rather than accepting an unverified boundary. Existing mined or legacy patterns are not rewritten when new variants appear. Review the resulting diff before using or publishing it.

Programmatic API

import { analyzeText, createFingerprinter, MIN_SENTENCES_FOR_RHYTHM } from 'humanizer-lint';

const report = analyzeText('Review this draft.', { language: 'en' });
const fingerprint = createFingerprinter({ language: 'en' });
// await fingerprint(['sample.txt']);

The analyzer runs synchronously with local rule packs. The fingerprinter reads one to five local files and optionally writes a profile when an output path is provided. MIN_SENTENCES_FOR_RHYTHM is the eight-sentence statistical rhythm threshold.

CLI reference

Analyzer

humanizer-lint (--file <path> | --stdin | <files...>) [--lang auto|universal|<ISO-639-1>] [--profile <path>] [--domain auto|prose|copywriting|code|ui] [--no-domain-lint] [--allow <phrases>] [--min-score <0-100>] [--json]
OptionRequiredDescription
--file <path>One input requiredRead one UTF-8 text or Markdown file.
--stdinOne input requiredRead the complete document from standard input.
--stdin-filename <name>NoGive stdin a filename for automatic domain routing; requires --stdin.
`--lang autouniversal`
--profile <path>NoLoad a JSON voice profile.
--domain <mode>NoChoose auto, prose, copywriting, code, or ui. Without a filename, auto runs prose checks only; select a domain explicitly for stdin. With a filename, auto routes code comments by code extension, copy by non-code extension, and UI checks by markup extension.
--no-domain-lintNoDisable domain checks; lexical and prose analysis still run.
--no-ignoreNoRun a strict audit without applying ignore directives or allowlists.
--allow <phrases>NoComma-separated, case-insensitive exact matched phrases to exempt; profiles may also contain an allowlist array.
--min-score <0-100>NoExit 1 if any analyzed file scores below this value or has status FAIL.
--jsonNoPrint JSON only. Without it, print the terminal report.
--briefNoWith --json, emit compact findings with complete matches, targets, and rhythm/final gate status. The size goal is ≤40% of full JSON in typical cases, not a hard cap; long matches can exceed it. Suppressed entries retain type, rule ID, location, offsets, directive, match and source scope; full JSON adds their severity, line/column and remediation fields, plus all four gate blocks.
--delivery-gateNoPrint the four-block delivery report.
--helpNoPrint command usage.

Choose exactly one input mode: --file, --stdin, or one or more positional paths. Positional paths support *, ?, and ** glob patterns; quote patterns when the shell should not expand them. Multi-file JSON output is an array of {file, result} objects; single-file output remains a single result object. An unmatched pattern is an error.

Statistical rhythm gates are skipped below eight sentences regardless of word count; lexical and domain findings still run. Treat metrics as diagnostics rather than writing quotas. Preserve functional code, identifiers, commands, structured data, legal clauses, quotations, facts and numbers. If further edits would distort meaning or a required register, stop and explain the unresolved diagnostic.

An ignore directive on a line by itself suppresses the next nonblank line: <!-- humanizer-ignore -->, // humanizer-ignore, or /* humanizer-ignore */. A standalone <!-- humanizer-ignore-file --> suppresses the file only within its first 10 physical lines (including optional frontmatter). Directives inside fenced examples are not active. Simple prose can end in <!-- humanizer-ignore -->; a comment-only // line can end in // humanizer-ignore or /* humanizer-ignore */. These same-line forms are conservative heuristics, not a language parser; use standalone directives for complex syntax.

Offsets use JavaScript UTF-16 indices into the original input. sourceScope: match identifies a direct match; sentence-range and document-excerpt identify diagnostic context, not text to replace mechanically.

For JavaScript/TypeScript or MDX input containing backticks, ignore directives are disabled conservatively; ignoreWarning (JSON) or a CLI warning reports this. This avoids mistaking template contents for directives without adding a parser dependency.

Voice fingerprint

humanizer-fingerprint (--input <file-or-dir> | --dir <samples-dir>) (--output <profile.json> | --out <profile.json>) [--name <name>] [--lang id|en|auto]
OptionRequiredDescription
--input <path> / --dir <path>YesRead one file or up to five .md and .txt files from one directory.
--output <path> / --out <path>YesWrite the generated profile atomically.
--name <name>NoSet the profile name. Default: custom-voice.
`--lang idenauto`
--helpNoPrint command usage.

Exit codes

CodeMeaning
0PASS, or SKIP for text too short for statistical scoring.
1Analysis completed and returned FAIL.
2Invalid arguments, unreadable input, or malformed profile.

Detectors and violation types

The JSON rule catalogs contain stable IDs. Runtime statistical checks use named violation types.

Violation type or rule rangeLanguageWhat it detects
ID001-ID040, EN001-EN040 / SLOP_PHRASEIndonesian and EnglishConfigured clichés, generic transitions, inflated wording, and repeated LLM vocabulary such as delve, tapestry, testament, and their Indonesian equivalents.
ID041-ID042 / DEFINITIONAL_OPENINGIndonesianFormulaic paragraph openings and rigid definition templates.
EN041 / SHALLOW_PARTICIPLE_TAILEnglishParticipial tails; an experimental weak signal.
EN042-EN043 / STRUCTURAL_CLICHEEnglishBinary formulas.
EN044 / EM_DASH_OVERUSEEnglishRepeated dashes; a custom voice profile can exempt a rate at or below the author's baseline.
MONOTONOUS_RHYTHMBothThree adjacent sentences whose lengths differ by at most three words.
LOW_BURSTINESSBothSentence-length coefficient of variation below the configured threshold.
MISSING_SENTENCE_RANGEBothText with at least eight sentences that lacks enough short or long sentences.
LOW_ADJACENT_DELTABothConsecutive sentence lengths that change too little.
LOW_LEXICAL_DIVERSITYBothAdaptive MATTR below the language threshold.
LOW_ENTROPY_REPETITIONBothLow DEFLATE compression ratio in text of at least 150 words.
SYMMETRIC_PARAGRAPHSBothThree consecutive paragraphs with the same sentence count.
REPETITIVE_STARTERSBothA paragraph with at least three sentences beginning with the same token.
EXCESSIVE_NOMINALIZATIONIndonesianNominalization density above the configured threshold after whitelist filtering.
PASSIVE_BLOATINGIndonesianPassive morphology density or consecutive translation-style subordinate openings.
VOICE_PROFILE_DEVIATIONBothCustom-profile mean sentence length that differs from the target by more than 30 percent.

Additional rhythm and repetition findings include FLAT_PARAGRAPH_RHYTHM, UNIFORM_CLAUSE_STRUCTURE, REPETITIVE_NGRAM, and RHETORICAL_SLOP. Rule packs cover EN, ID, ES, MS, FR, DE, PT, and ZH.

Selected English, Indonesian and Chinese rules also flag staged openings, stock closers, chatbot residue and unnamed authority. Selected weak signals, including FORCED_TRIAD, EM_DASH_OVERUSE, PASSIVE_MISSING_SUBJECT, decorative ATX headings, exact heading/opening repetition and consecutive single-line unordered bold-label items, are experimental: one or two in a paragraph are warnings with no penalty; three or more visible findings in the same paragraph affect the score. A list with no analyzable paragraph remains a warning. Mixed paired straight and curly double quotes within a paragraph are also flagged, without changing quoted wording; nested or multiline quotation styles are not covered. Delayed-decision detection is limited to selected explicit EN/ID openers after at least three sentences and 45 words in the opening paragraph; those thresholds are heuristics, not validated writing standards. Suppressed findings do not count toward a cluster. Dash frequency is assessed per paragraph and can respect a matching custom voice profile. These heuristics are not a complete 26-pattern implementation and require editorial judgment. Borrowed-authority checks recognize only selected same-sentence English and Indonesian attribution forms; they do not verify the source or recognize every citation style.

Domain checks can report WEAK_CTA, HYPERBOLIC_CLAIM, TAUTOLOGICAL_CODE_COMMENT, DECORATIVE_COMMENT_BANNER, LAZY_AI_PLACEHOLDER, MISSING_ACCESSIBLE_NAME, MISSING_IMG_ALT, HEADING_ORDER_SKIP, AI_GRADIENT_CLICHE, and NON_RESPONSIVE_FIXED_WIDTH. The four-block delivery gate groups rhythm, lexical/morphology, domain hygiene, and final verdict.

Metrics and scoring

MetricDefinition
burstinessCVPopulation standard deviation divided by mean sentence length.
adjacentDeltaMean absolute difference between neighboring sentence lengths.
mattrMoving-average type-token ratio over an adaptive 10- to 50-token window.
compressionRatioRaw DEFLATE byte length divided by original UTF-8 byte length.
shortSentenceRatioShare of sentences containing six words or fewer.
longSentenceRatioShare of sentences containing 26 words or more.
voiceProfileDeviationMean relative deviation from available profile targets. It is not an authorship probability.

The score starts at 100 and applies these caps:

CategoryMaximum deduction
Burstiness and sentence-range checks25
Monotonous rhythm windows20
Lexical and structural clichés30
Indonesian morphology15
Vocabulary, entropy, and custom-profile deviation combined10

A normal-length document passes only when the score is at least 80, no SLOP_PHRASE or DEFINITIONAL_OPENING remains, burstiness and adjacent-delta gates pass, and the sentence-range requirement passes when applicable.

Statistical rhythm gates require at least eight prose sentences, regardless of word count. Shorter inputs skip rhythm statistics while lexical and domain checks still run; errors can still yield FAIL.

Markdown sanitization

Before tokenization, the analyzer removes frontmatter, fenced code, headings, tables and unfinished list fragments. It retains complete list prose, link text, blockquotes and paragraph boundaries; inline code and bare URLs become TOKEN_ENTITY. This is deterministic sanitization, not a full Markdown or MDX parser; arbitrary HTML blocks and MDX components do not receive special parsing.

Voice profiles

Generate a profile from one to five samples:

humanizer-fingerprint --input writing-samples --output profiles/custom-voice.json --name editorial-voice --lang en

The profile records mean sentence length, standard deviation, burstiness, adjacent delta, MATTR, average paragraph sentence count, and punctuation rates. Supplying it with --profile adds voiceProfileDeviation; a mean sentence-length drift above 30 percent creates a five-point profile penalty inside the 10-point vocabulary and entropy cap.

JSON output

--json writes a single JSON object to stdout. The stable top-level fields are:

{
  "status": "SKIP",
  "score": 100,
  "language": "universal",
  "rulePack": "universal",
  "violations": []
}

This abbreviated output is generated from A short sentence.; the full result includes schemaVersion, metrics, targets, deliveryGate, suppressed, allowlistApplied, and ignoreWarnings. When applicable, ignoreWarning summarizes ignore-related warnings. Findings may include sourceScope, UTF-16 charOffset: { start, end }, and 1-based line, column, endLine, and endColumn; consult schemas/report.schema.json and check schemaVersion before consuming the report.

Use as an agent skill

After installation, an agent can use the skill as a closed verification loop:

  1. Draft or edit prose in a supported Tier 1 language or any Universal Stylometry language without changing supported facts.
  2. Run the analyzer against the exact complete draft.
  3. Read every violation and edit only the affected prose or named whole-document gate.
  4. Re-run the analyzer, stopping after three iterations.
  5. Return only a PASS, or an honestly labeled short-text SKIP with no unresolved lexical violations.

The skill is indexed on skills.sh and its current listing passes the platform's Snyk security audit.

Used by

The skills.sh badge links to anonymous skill installation activity; npm downloads and downstream package manifests reflect CLI distribution. GitHub's Used by count comes from its dependency graph.

CI and repository automation

The included CI workflow tests supported Node.js versions and package contents. For an example that checks prose in another repository, see CLI reference: GitHub Actions.

Security properties

Production scripts use only Node.js built-ins and have no runtime dependencies. The test suite rejects production use of child_process, eval, dynamic Function construction, and fetch. The fingerprint writer writes to a temporary file and renames it into place.

Text remains local unless the surrounding agent or workflow sends it elsewhere.

Frequently asked questions

Is this an AI content detector? No. A pass or failure does not prove authorship.

Does it rewrite prose? No. It reports findings and suggested corrections without modifying the source.

Can it help with robotic Markdown? It identifies configured phrases and style signals; a person or agent revises the affected prose and reruns the analyzer.

Can I install it from npm? Yes: npx humanizer-lint --file draft.md --lang auto, or npm install -g humanizer-lint. Install the agent skill separately with npx skills add yanstd888/humanizer-lint.

Which languages are supported? Lexical packs cover English, Indonesian, Spanish, Malay, French, German, Portuguese, and Mandarin. Other ISO 639-1 languages use experimental Intl.Segmenter rhythm diagnostics with uncalibrated thresholds, not an invented lexical pack.

Does it send text to an API? No. Production code makes no network calls; installers and Git require a network to download the repository.

Why did a short document return SKIP? Fewer than eight prose sentences skip statistical rhythm gates regardless of word count. Lexical and domain checks still run and may cause FAIL.

Contributing

Contributions should remain deterministic and zero-dependency. Fork the repository, create a focused branch, add a regression test for non-trivial behavior, run npm test and npm pack --dry-run, and open a pull request explaining the user-visible effect. Releases and matching version tags are created after verification.

Project layout

.github/workflows/ci.yml       # CI
CHANGELOG.md, README.md, SKILL.md
benchmark/, demo/, evals/      # fixtures, playground, agent evaluations
index.mjs, index.d.ts          # API and types
meta/canonical.json, profiles/ # product position and voice profile
references/, schemas/          # guidance and report schema
rules/                         # eight lexical packs
scripts/{analyze,fingerprint,benchmark,docs-snapshot,mine-patterns}.mjs
scripts/core/, scripts/utils/  # analyzer, tokenization, metrics and domain checks
tests/corpus/, tests/fixtures/ # exploratory corpus and fixtures

License

Licensed under the MIT License.

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryTypeScript
coldteadotai/abide

Make your coding agent abide by all your project rules

635
Oct 10, 2026
RepositoryJavaScript
Leonxlnx/taste-skill

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

125.1k
Nov 26, 2026
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

268.0k
Dec 3, 2026
RepositoryPython
Graphify-Labs/graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

156.6k
Dec 2, 2026
RepositoryTypeScript
stablyai/orca

Orca lets you run a fleet of bots with your own subscription (e.g. Claude Code, Grok, Agy, Codex). Available on desktop, mobile and remote runtime.

153.8k
Dec 3, 2026
RepositoryJavaScript
QingYunA/answer-me-with-html

Answer me with HTML — an agent skill that answers hard questions with a one-page HTML you can actually read. 让 AI Agent 用一页 HTML 回答复杂问题。

6.7k
Nov 30, 2026
RepositoryPython
microsoft/markitdown

Python tool for converting files and office documents to Markdown.

199.6k
Dec 3, 2026
RepositoryJavaScript
addyosmani/agent-skills

Production-grade engineering skills for AI coding agents.

122.4k
Dec 3, 2026
RepositoryPython
alchaincyf/nuwa-skill

你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.

39.6k
Nov 21, 2026