Logo Ai Sweep

Ai Sweep

Cộng đồng
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.

Tổng quan

Nhà phát hànhisitcredible
Kho mãresearch_skills
Tên kỹ năngai-sweep
Sao
40
Bản fork
6
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được isitcredible công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ai Sweep trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/isitcredible/research_skills/tree/main/review-digest/ai-sweep
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ai Sweep trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ai Sweep ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ai Sweep với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Ai Sweep làm được gì?

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...

Vì sao nên dùng Ai Sweep trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ai Sweep là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ai Sweep trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/isitcredible/research_skills/tree/main/review-digest/ai-sweep. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ai Sweep?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ai Sweep với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ai Sweep với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ai Sweep có miễn phí không?

Có. Kỹ năng này được isitcredible phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇