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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    isitcredibleがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ai Sweep」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAi Sweepを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAi Sweepを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ai Sweepは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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スキル「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...

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 Sweepを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ai Sweepで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAi Sweepを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ai Sweep」は無料ですか?

はい。isitcredibleがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇