Consistency Auditのロゴ

Consistency Audit

組織
bis-med-it
consistency-audit

On-demand framework self-audit. Checks the three layers (skills ↔ lib ↔ dictionary) for drift, internal inconsistency, and doc-vs-practice mismatch. Use when the user asks to "audit the framework", "check for consistency / drift", "is the workflow consistent", "go through the end-to-end process", before a release or promotion, or after a batch of edits to skills, lib, or the dictionary. This is NOT a stage of the 7-stage research loop; it is a maintenance pass run occasionally, on demand, by a framework developer.

概要

公開者bis-med-it
リポジトリmarco-BIS
スキル名consistency-audit
スター
28
フォーク
6
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/bis-med-it/marco-BIS/tree/main/skills/consistency-audit
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

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

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bis-med-it/marco-BIS.git /tmp/marco-BIS
mkdir -p .claude/skills
cp -r /tmp/marco-BIS/skills/consistency-audit .claude/skills/consistency-audit
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Consistency audit

The framework's three layers (the skills/ workflow + knowledge, the scripts/lib/ implementation, and the skills/model-dictionary/ specs) must not silently drift out of agreement.

There are two layers of defence, and you run both:

LayerWhereCadenceCatches
Mechanicaltests/test_doc_consistency.pyevery test run (automated)YAML parse breaks, index↔entries drift, stale module/entry counts, invalid verified.status, broken skill→file links, dangling lib.* references, replication folders missing core files
Semanticthis skillon demandstage-numbering coherence, propose/confirm choreography, doc-vs-practice, orphaned/overlapping skills, terminology drift (the judgement calls a regex can't make)

The mechanical layer is necessary but not sufficient: a green test suite with an incoherent workflow is still broken. Run the semantic pass too.

When to run

  • The user asks to audit / check the framework, or to "go through the end-to-end process".
  • Before promoting work to canonical, or before a release.
  • After a batch of edits to skills, lib, or the dictionary, especially a paper rebuild. Rebuilds can silently break dependent tests and docs.

Procedure

Step 1: Mechanical checks (fast, deterministic)

python -m pytest tests/test_doc_consistency.py -q

Every failure is a concrete drift with a file:line. Fix or report each. If during the audit you find a new class of drift that is mechanically checkable (a count, a reference, a parse, a path), encode it as a new test here so it can never regress. That is how the mechanical layer grows.

Step 2: Semantic audit (judgement)

A regex can't read meaning. By reading the skills, check:

  1. Stage-numbering coherence. The orchestrator is the source of truth: Stages 0a (knowledge-base initialisation) and 0b (intake & triage) fold into the Stage-1 log entry; Stage 1 = mode-specific entry flow, 2 = specification, 3 = data, 4 = estimation, 5 = sensibility, 6 = results, 7 = disposition. Every sub-skill that names a stage must match.
  2. Propose → confirm choreography. Every decision-point skill must propose a specific choice with rationale and wait for confirmation, never blank-ask (design principle 3). Flag any skill that merely describes.
  3. Doc-vs-practice. Spot-check that what the skills / CLAUDE.md claim matches what the code does: output paths, default hyperparameters, file locations, method availability.
  4. Orphaned / overlapping skills. Is every skill in the orchestrator's invocation table reachable from a stage (or clearly marked optional/on request)? Do two skills run the same check without a stated division of labour?
  5. Terminology / vocabulary. The same concept uses the same name across skills, e.g. the three verified.status levels (draft | checked_against_paper | signed_off), the mode labels (A/B/C).
  6. Source-priority agreement. Every statement of the knowledge-source cascade uses the one canonical order, user > model dictionary > knowledge base > parametric > data-driven, with economic logic checked at every level, defined once in specification/SKILL.md.

Step 3: Live execute smoke (prove the path, not just the prose)

Run one fast verified replication end-to-end and confirm it still passes its paper targets:

python scripts/replications/blanchard_quah_1989/replicate.py

Expect a 6/6 paper-target comparison table and output files under the script's co-located outputs/. A clean mechanical + semantic audit with a broken execute path is still a broken framework.

Step 4: Report & fix (propose, confirm)

Compile a prioritized findings list (P1 misleads the agent or user · P2 real friction or latent contradiction · P3 polish), each item with a file:line and a one-line fix. Per design principle 3, propose the fixes and wait for the user's confirmation before editing; then re-run Steps 1–3 to green. Record the audit (date, findings, dispositions) in your own notes, and update CONVENTIONS.md or docstrings where a finding changes behaviour.

Adding new invariants

When the audit surfaces a new class of drift, decide where it belongs:

  • Mechanically checkable (counts, references, parse-ability, paths, schema) → add a test to tests/test_doc_consistency.py. Prefer this: it runs continuously and can't be forgotten.
  • Judgement-only (semantics, choreography, design coherence) → add a bullet to Step 2 above so the next on-demand audit covers it.

よくある質問

AIスキル「Consistency Audit」では何ができますか?

On-demand framework self-audit. Checks the three layers (skills ↔ lib ↔ dictionary) for drift, internal inconsistency, and doc-vs-practice mismatch. Use when the user asks to "audit the framework", "check for consistency / drift", "is the workflow consistent", "go through the end-to-end process", before a release or promotion, or after a batch of edits to skills, lib, or the dictionary. This is NOT a stage of the 7-stage research loop; it is a maintenance pass run occasionally, on demand, by a framework developer.

TypingMindでConsistency Auditを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Consistency Auditはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにConsistency Auditをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/bis-med-it/marco-BIS/tree/main/skills/consistency-auditを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Consistency Auditを使えるAIモデルはどれですか?

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

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

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

AIスキル「Consistency Audit」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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