
Un-Default
io.github.NomadBuilder由 GitHub 账号 NomadBuilder 发布v0.5.6更新于 Oct 24, 2026
Catch racist, sexist & ableist defaults in AI and human copy. Local rules, no account.
概览
检查文案、文档、界面文字和在线页面中带有种族、性别和能力歧视的默认表达,并给出更清晰的替代表达。
- 可以做什么
- Un-Default 会扫描文本中的偏见默认表达、性别假设、能力歧视隐喻以及有记录的暗语,说明发现的问题并提供更清晰的替代表达。其 MCP 工具为 un_default_scan、un_default_fix 和 un_default_feedback。匹配基于本地开放规则,不需要 AI 模型。它还可以扫描路径、变更文件和批量 URL,并输出 JSON 或 SARIF。
- 适用场景
- 适合在助手写完界面文案、文档或营销文字后,或发布前使用,以发现有问题的默认表达。也适合加入拉取请求检查和编辑器工作流,让文案审查保持一致。
- 运行要求
- 作为 npm 包通过 npx 在本地运行,需要 Node.js。未声明需要账户、API 密钥或环境变量。MCP 服务器通过 mcp 子命令启动。仅在扫描 URL 或启用可选的匿名 action 上报时需要网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 Un-Default,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Un-Default
One thoughtful-language check for every way you build.
Formerly Anti-Default. Same tool — the name shifted so it reads as undoing defaults, not opposing people. Old URLs under
darkai.ca/anti-defaultredirect here.npx anti-defaultstill works as an alias fornpx -y anti-default.
Un-Default reviews copy, docs, UI strings, and live pages for racist defaults, sexist assumptions, ableist metaphors, and documented dogwhistles. It explains what it noticed and offers clearer alternatives.
No account. No AI required for matching. Open rules you can tune.
After Claude writes UI copy · Try the web app · Add the Chrome extension · Star on GitHub
After Claude / Cursor writes UI copy
One command — skill + MCP + PR check. This is the habit that sticks:
That also writes examples/un-default-demo.md and prints a sample scan so you see a finding immediately. Browser demo (shareable): /?demo=1.
Or install the Claude Code plugin from this repo’s marketplace:
Paste-ready MCP JSON and Claude Project instructions:
https://darkai.ca/un-default/for-agents/
Directory checklist: docs/PUBLISH-DIRECTORIES.md
Paste MCP config (Cursor · Claude Desktop · Claude Code)
Tools: un_default_scan · un_default_fix · un_default_feedback
Add it in under a minute
That is the whole local setup. It prints findings and exits non-zero on clear hits. Ambiguous or quoted matches stay advisory.
To pin it in a team project:
Want the complete project setup?
init adds an ignore file, changed-files GitHub workflow, Cursor + Claude
skills, .cursor/mcp.json + .mcp.json, Claude/Cursor after-edit hooks,
CLAUDE.md instructions, and inclusive-check / inclusive-fix scripts.
Existing files are never overwritten. Hooks surface hard findings back to the
agent after Edit/Write so Claude keeps checking even when nobody remembers.
AI-copy habit (definition of done)
Agents should not mark UI/docs work done until hard findings are cleared or explicitly marked fine in context. Soft/coded hits stay advisory.
MCP server
See for-agents for host-specific paste steps.
Scan the way you work
Ignore what doesn’t matter
Commit a .undefaultignore so day-two noise doesn’t drown the team (example):
GitHub Action
Keep racist, sexist & ableist defaults out of the PR loop. This scans only changed files, fails on clear new findings, and leaves a checklist comment:
Prefer SARIF for Code Scanning? Set format: sarif and output-file: un-default.sarif. Full inputs: action.yml.
Anonymous Action pings (no repo name or findings) feed public totals at darkai.ca/un-default/usage. Badge:
Agent skill
npx -y anti-default init installs .cursor/skills/un-default/SKILL.md — the
definition-of-done workflow for AI-generated copy: fix → scan → ask or
feedback → re-scan.
Source: skills/un-default/SKILL.md ·
feedback model: feedback/README.md
Use it as a library
The npm package has no runtime dependencies and exposes the same analyzer used by the CLI and web app:
Chrome extension
Same rules as the app — on the page you’re already looking at.
Runs offline from a bundled rule list. No tracking. No AI calls.
Dev / unpacked: npm run extension:pack → Load unpacked → extension/ · details in extension/README.md
Web app — try, learn, tune
- Review — paste, upload, or scan a URL; export Markdown, CSV, or a checklist
- Swap — turn one phrase into clearer alternatives
- Dogwhistles — learn what a phrase can signal and when context matters
- Rules — tune the open rule catalog for your project
Why teams reach for it
- Before publish — catch defaults in marketing, docs, and product copy
- In the PR — Action + SARIF/JSON so machines and humans both get a signal
- On the live page — extension for writers who never open a terminal
- Without a lecture — suggestions are invitations; context always wins
Every suggestion cites the style guides and references behind it → /sources
Customize & self-host
- Tune in the UI: /rules · edit code:
src/lib/rules.ts - Practice corpus:
npm run corpus - Static export:
npm run build→out/
Subpath (DarkAI):STATIC_EXPORT=true BASE_PATH=/un-default npm run build
Production lives at darkai.ca/un-default and is also vendored in DarkAI.
License
来源:README.md,提交 8d707ee
工具
0版本历史
1- v0.5.6最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分