Ai Sweep 标志

Ai Sweep

社区
isitcredible
ai-sweep

Sweep a piece of writing for machine-register prose AND for exposed plumbing — stock AI filler ('it is worth noting', 'delve', evaluative adverbs), rhetorical scaffolding, fact-free sentences, and deliberation leak (self-narrating verification, tours of rejected alternatives, pre-empted objections, process autopsies, stale hedging, trivial-derivation apparatus). Two layers: a mechanical tell pass plus a model-scored scan (the passage scanner, PASSAGE_SCANNER), resolved by a judgment pass that edits in place. Use whenever the operator asks to "sweep for AI language", "de-AI this", "check the register", "check for plumbing", "did I leave my working showing", "is this defensive", or runs a pre-publication hygiene pass on anything going to a reader — a post, chapter, appendix, report, README, email — or to net AI tells over the rendered fields of a structured file. LOOK IN THE FOOTNOTES AND FIGURE/TABLE NOTES — that is where plumbing hides. Report plus worklist resolved by an in-place judgment pass — the sweep writes no sidecar files; register items the pass may rewrite (facts preserved), plumbing items the operator rules on — never a silent cut (unattended, they are reported, not cut). It judges how the prose reads and whose activity it narrates; it does not check facts, quotations, numbers or attribution.

概览

发布者isitcredible
代码仓库research_skills
技能名称ai-sweep
星标数
40
复刻数
6
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 isitcredible 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ai Sweep AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/isitcredible/research_skills/tree/main/review-digest/ai-sweep
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/isitcredible/research_skills.git /tmp/research_skills
mkdir -p .claude/skills
cp -r /tmp/research_skills/review-digest/ai-sweep .claude/skills/ai-sweep
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ai Sweep,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ai Sweep。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ai Sweep 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

AI-language sweep

Born as the review-digest prose gate: model-drafted text kept its facts but read as generated even with a style guide written into the brief. It also runs on its own, over any prose going to a reader. Register and deliberation leak are swept together because they are the same cold-eyed pass over a finished draft.

What it does not do

The sweep judges how the prose reads and whose activity it narrates. It does not check facts, quotations, numbers or attribution against their sources, and it does not judge the argument or the evidence: a sentence can pass the sweep and be false. Pair it with a fact-check where facts matter.

Two fault classes, two tests

  • Register — machine voice: stock filler, evaluative adverbs, rhetorical scaffolding, sentences about the document itself. The test is how the sentences sound.
  • Plumbing — deliberation leak: internal show-your-working that leaked into the deliverable. The test is whose activity is the subject — a finding or reader-facing fact is a keeper; us, our analysis, our checking, our worry is plumbing. A plain declarative sentence can still be plumbing; that is why a phrase net alone does not do this job.

The seven forms of plumbing

  1. Restatement apparatus — a footnote or parenthetical that explains a trivial derivation or reconciles two numbers a competent reader reconciles unaided. Write the number, cite the source, stop.
  2. Rejected alternatives — "we considered X but…", "an alternative specification would…", "one could instead…". The reader needs the choice made, not the tour of the ones dropped.
  3. Pre-empted objections — "it might be objected that…", "this is not to say…", "we are not claiming…". Answering a referee who is not in the room.
  4. Interim hedging — qualifiers that were live only while a result was uncertain. Once it settled, the hedge is stale plumbing.
  5. Bug / process autopsy — "after correcting an error in…", "an earlier version had…". The reader gets the correct number, not its bug history.
  6. Method worry narrated — "there is a concern that…", "we were careful to…". Reassurance about our own diligence.
  7. Self-narrating verification — "we checked / verified / confirmed", "as we show", multi-locator citations that exist only to prove we looked.

The law

Every sentence delivers a fact. No scaffolding, no self-credentialing, no evaluative filler, no sentences about the document itself — and no sentences whose subject is our deliberation. This is the negative side of a plain-prose discipline. Voice mechanics — em-dash austerity, sentence length, connective placement — surface as notes, not fails: they calibrate on the operator's byline register and a swept document may not be that voice.

Running it

sh
python3 <this-skill>/scripts/ai_sweep.py FILE

Three layers over the reader-facing prose:

  1. Mechanical tells — a regex net over every rendered line: the stock phrases (FAIL) plus the plumbing phrase net (plumb — hypothesis tier, never a hard fail). Non-failing notes: em-dash lines, unquoted sentences over 30 words of prose.
  2. Register scan — the passage scanner chunks the file into passages; each gets an ai_register score (0–3), a fact_free_sentences judgment, and a deliberation_leak probability against --questions (default scripts/prose-questions.json). Register score ≥ --threshold (1.5) is a worklist FAIL; ≥ --watch (1.0) a note; deliberation_leak ≥ --plumb (0.5) a plumbing hypothesis. The scanner is optional and operator-configured: PASSAGE_SCANNER names an executable taking <scanner> scan FILE --questions BATTERY --output DIR --chunk-chars N --overlap N, and nothing else is looked up. Without it — or on --mechanical-only — the sweep is mechanical-tells only, prints INCOMPLETE, and exits nonzero: a mechanical-only pass is never the full gate and the judgment pass still must run.
  3. The read — the flags are hypotheses. READ THE FOOTNOTES AND FIGURE/TABLE NOTES IN FULL, EVERY ONE — that is where plumbing hides; the mechanical pre-pass cannot see a footnote that politely reconciles two numbers. For plumbing especially, the subject test is applied on the read, not by regex.

Scoping flags:

  • --skip-fields 'system_prompt|notes' — field-name pattern for lines that never render. A matching field: | / field: >- block scalar exempts its whole indented block. Sweep only what a reader sees.
  • YAML frontmatter and # comments in .yaml/.yml are exempt without flags; fenced code and <style>/<script> blocks are skipped.
  • --no-plumbing disables the plumbing axis (review-digest's ledger shim uses it — process narration is the ledger's content).
  • --mechanical-only, --warn-only, --rescan, --threshold, --watch, --plumb, --chunk-chars, --overlap, --timeout, --retries (per-attempt seconds / extra attempts on the scanner — a stalled or incomplete scan fails the gate, never hangs it).
  • --scan-dir is a CACHE dir the script owns: an .ai-sweep-owned marker file gates every deletion — a non-empty dir without it is never cleared (a fresh owned scan-N subfolder is used instead, so a content folder passed by mistake survives), and a symlinked dir must resolve to one the script created. Default <file>/.style-scan/.

The private-tree boundary

A target under the operator's personal tree never reaches the passage scanner: the engine detects it and runs mechanical-only, deliberately. The boundary is AI_SWEEP_PRIVATE_ROOTS — a colon-separated list of absolute paths, resolved like PATH. There is no built-in default: set it for any tree whose text must stay off the scanner. The judgment read of such a file is then done by hand.

For a structured file, sweep only the fields a reader sees and skip the rest:

sh
python3 <this-skill>/scripts/ai_sweep.py page.yaml \
    --skip-fields 'system_prompt|notes'

The judgment pass — two dispositions

  • Register items the pass disposes in place: rewrite to fact-delivering prose — register rewrites preserve every fact (numbers, claims, severities do not move; the fix is usually deletion — a scaffolding sentence loses nothing when cut) — or keep where the flag is a false positive. A keep is a ruling, so it is recorded: the exact kept wording in backticks (a distinctive phrase, not a single word) plus a one-line reason go into <file-stem>.keeps.md beside the target — one list item per keep, - phrase — <reason>. The sweep reads it: a flagged line or passage carrying the recorded phrase clears while the wording stands; an entry with no reason clears nothing, and the record binds to the text — change the wording and the keep no longer covers it.
  • Plumbing items the operator rules: report each with location, verbatim text, which of the seven forms, and a proposed action — CUT, or REWRITE (give the rewrite, finding as subject, in ~~strike~~ / **bold** markup). Never silent-cut: it is the operator's prose and a phrase can be legitimate; a KEEP ruling is recorded the same way — backtick phrase plus reason in <file-stem>.keeps.md — and clears while the wording stands.

Who rules on plumbing items when no operator is present. When review-digest calls the engine (its prose gate, through its scripts/check_style.py), the digest's own rules decide: the gate runs with --no-plumbing, and the digest's ledger rules govern process narration. Run on its own with no operator to answer, the sweep reports every plumbing item — location, verbatim text, form, proposed action — and leaves the text as it stands: an unattended pass never cuts or rewrites a plumbing item and never records a KEEP for one. The report is the deliverable; the operator rules when they read it. Register items are still disposed in place.

A passage flagged on two axes at once — a register note and a plumb hypothesis — carries two independent signals: give it an explicit ruling on the read — rewrite or keep — never a slide-through. (2026-09-29: a maxim-and-application hinge — "a selection needs a stability argument, and the paper offers one" — scored 1.03 register

  • 0.65 leak and slid through the read unexamined. The construction is now named in the level-2 criteria of the battery.)

The keepers line — do not over-cut. What was done to the data stays; why we explored, worried, or checked goes. "Water cells were masked before estimation" is a keeper — the reader needs it to know what the number is. "We explored a collinearity concern" is plumbing. And two escape-closers: "it's disclosed, so it's fine" is not a defence — technically-disclosed plumbing still ships only our workings; a true derivation's home is the technical appendix or the project notes, never the deliverable.

Exit 1 while any register fail stands or the register layer never ran; plumbing hypotheses do not move the exit — they move to the report. <file-stem>.keeps.md is the suppress record: a keep not recorded there re-flags and fails on the next run — "clean" means rewritten, consciously flagged, or ruled-and-recorded. The scan is cached while file and battery stand — --rescan after either changes.

Where it sits

  • The engine is canonical here. review-digest's step-3 prose gate calls it through its scripts/check_style.py, a shim that supplies the ledger battery, the ledger's internal-field list, and --no-plumbing (the ledger narrates the review's process by design — its no-plumbing rule is the digest's own read, not this net). This skill lives inside review-digest (review-digest/ai-sweep/), which finds the engine at ai-sweep/scripts; to use the sweep on its own, link or copy this folder into the skills directory.
  • Construction detail the plumbing axis evicts from a deliverable belongs in a technical appendix or the project notes: "cut here, ensure it lives in the appendix," not delete.
  • Tests for the engine's deterministic parts (the mechanical tell pass, the keep record, the scanner-missing path) are in scripts/tests/: python3 -m pytest -q -p no:cacheprovider scripts/tests from this folder.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ai Sweep AI 技能有什么作用?

Sweep a piece of writing for machine-register prose AND for exposed plumbing — stock AI filler ('it is worth noting', 'delve', evaluative adverbs), rhetorical scaffolding, fact-free sentences, and deliberation leak (self-narrating verification, tours of rejected alternatives, pre-empted objections, process autopsies, stale hedging, trivial-derivation apparatus). Two layers: a mechanical tell pass plus a model-scored scan (the passage scanner, PASSAGE_SCANNER), resolved by a judgment pass that edits in place. Use whenever the operator asks to "sweep for AI language", "de-AI this", "check the...

为什么在 TypingMind 中使用 Ai Sweep?

因为您只需安装一次,就能搭配任何模型使用。Ai Sweep 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ai Sweep?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/isitcredible/research_skills/tree/main/review-digest/ai-sweep。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ai Sweep?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ai Sweep 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ai Sweep 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ai Sweep AI 技能免费吗?

是的。isitcredible 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇