tropius: detect AI tropes in prose
摘要
tropius 是一个用于检测 prose 中 AI 写作痕迹的 CLI。它基于 Tropes.fyi 的 trope 列表构建 TOML 格式模式字典,支持从标准输入读取文本,也可配合内容提取工具扫描网页文章。检测范围包括:固定短语模式、句子和段落结构特征、重复隐喻和重复内容、Markdown 中粗体开头列表、Unicode 装饰字符等。工具约定:未发现信号返回退出码 0,发现 trope 信号返回 1,配置或使用错误返回 2。文章还介绍了项目起源 —— 作者受到 BlueSky 上关于 “Claudesmell”(带有 Claude 风格写作气味)的讨论启发后实现了该工具。
荐读理由
用 tropius CLI 扫描你写的 prose,匹配 tropes.fyi 模式字典 + aho-corasick 短语 + 结构/重复/Unicode 检测器,就能找出 AI 写法 tics 立即改写,避免后续在 AI 工程产品中踩 slop 坑
原文
tropius#
tropius is a CLI to detect AI tropes in prose.
How#
We use a pattern dictionary in TOML based on a trope list from Tropes.fyi
Text
↓
Aho-Corasick phrase matcher
↓
Structural, repetition, and character-class detectors
↓
Findings report
Usage#
Scan text from stdin:
printf 'Let us delve into this robust ecosystem.' | cargo run -q -p tropius-cli
Scan article text extracted from a live URL with lectito:
# Install lectito
cargo install lectito-cli
lectito 'https://www.solo.io/blog/what-is-agent-identity-human-workload-a-new-layer' \
--format text \
| cargo run -q -p tropius-cli
The CLI exits 0 when no findings are found and 1 when it finds trope signals.
It exits 2 for usage or configuration errors.
Color output respects NO_COLOR.
Coverage#
an implementation path for every source section in
tropes.mdphrase patterns for literal trope signals
structural detectors for sentence and paragraph shape
repetition detectors for repeated metaphor terms and duplicated content
markdown-aware detection for bold-first bullets
character-class detection for Unicode decoration
Inspiration#
I got nerd-sniped on BlueSky
Samuel - @samuel.fm 2026-06-25 04:16
“Claudesmell” labeller for standard.site records wen
owais - @desertthunder.dev 2026-06-25 04:18
what does claudesmell mean here
Samuel - @samuel.fm 2026-06-25 04:22
smells of claude, e.g. short, punchy yet needlessly florid prose, excessive claudeisms, it’s not just x it’s y etc
owais - @desertthunder.dev 2026-06-25 04:26
You know that feeling of nerd-sniping about to happen? I gotta use aho-corasick + tropes.fyi in some way
Further Reading#
License#
这条对你有帮助吗?