Document Screeningのロゴ

Document Screening

組織
Happy-Technologies-LLC
document-screening

Screen inbound documents for completeness, policy risk, and routing readiness before extraction or case workflows

概要

公開者Happy-Technologies-LLC
リポジトリhappy-platform-skills
スキル名document-screening
スター
41
フォーク
14
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Happy-Technologies-LLC/happy-platform-skills.git /tmp/happy-platform-skills
mkdir -p .claude/skills
cp -r /tmp/happy-platform-skills/skills/document/document-screening .claude/skills/document-screening
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Document Screening

Overview

This skill adds a document screening stage before extraction or fulfillment workflows in ServiceNow®. It helps teams:

  • Validate document completeness and format readiness
  • Identify policy-sensitive or high-risk submissions early
  • Route documents to automated extraction or human review lanes
  • Record auditable screening rationale in work notes

Use this when your intake process receives mixed document quality, high volume, or compliance-sensitive content.

Prerequisites

  • Roles: admin, sn_doc_intelligence_admin, or equivalent intake operations role
  • Plugins: Document Intelligence app enabled where extraction is required
  • Access: Read/write access to sys_attachment, sn_doc_template, sn_doc_intelligence_extraction, and task
  • Inputs: Defined screening rules (required fields, prohibited content, confidence thresholds)

Procedure

Step 1: Build the Intake Queue

Collect newly submitted documents and classify by source, type, and priority.

Using MCP:

Tool: SN-Query-Table
Parameters:
  table_name: sys_attachment
  query: sys_created_on>=javascript:gs.hoursAgoStart(24)^table_nameISNOTEMPTY
  fields: sys_id,file_name,content_type,size_bytes,table_name,table_sys_id,sys_created_on,sys_created_by
  limit: 100
  order_by: sys_created_on

Using REST API:

bash
GET /api/now/table/sys_attachment?sysparm_query=sys_created_on>=javascript:gs.hoursAgoStart(24)^table_nameISNOTEMPTY&sysparm_fields=sys_id,file_name,content_type,size_bytes,table_name,table_sys_id,sys_created_on,sys_created_by&sysparm_limit=100

Step 2: Match to Screening Template

Map each document to a known template and required evidence checklist.

Decision points:

  • If template exists and is active -> continue to automated screening
  • If template missing -> create review task for template owner
  • If unsupported format -> route to manual conversion queue

Step 3: Run Screening Checks

Evaluate required attributes and extraction confidence signals.

Using MCP:

Tool: SN-Query-Table
Parameters:
  table_name: sn_doc_intelligence_extraction_result
  query: extraction=[extraction_sys_id]
  fields: field_name,extracted_value,confidence_score,validation_status
  limit: 200

Checks to apply:

  • Required field presence
  • Minimum confidence threshold (for example 0.85)
  • Prohibited content indicators (policy-defined)
  • Duplicate submission checks by hash or metadata fingerprint

Step 4: Assign Screening Outcome

Set one of three outcomes:

  • Pass: Continue to extraction-to-record workflow
  • Conditional Pass: Continue with mandatory human verification
  • Fail: Route for remediation and return requester guidance

Using MCP:

Tool: SN-Create-Record
Parameters:
  table_name: task
  fields:
    short_description: "Document screening failed: missing required evidence"
    description: "File [file_name] failed screening checks. Review checklist and resubmit."
    priority: 3
    state: 1

Step 5: Record Audit Notes and Next Action

Document the screening rationale and the exact routing decision.

Tool Usage

ToolPurpose
SN-Query-TableRetrieve attachments, templates, and extraction results
SN-Get-RecordInspect source record context for submitted documents
SN-Create-RecordCreate remediation tasks for failed screenings
SN-Update-RecordUpdate screening status and routing fields
SN-Add-Work-NotesPersist decision rationale for auditability

Best Practices

  • Keep screening criteria versioned and tied to document type
  • Treat confidence thresholds as policy controls, not hardcoded assumptions
  • Separate business validation failures from technical OCR/extraction failures
  • Capture decision evidence to support audit and dispute handling
  • Periodically review false positives and false negatives to refine rules

Troubleshooting

Screening Queue Is Empty

Symptom: No documents appear in intake query.
Cause: Time-window filter or source table filter is too restrictive.
Solution: Broaden query window and verify attachment source integration.

High False Failure Rate

Symptom: Most documents route to fail or conditional pass.
Cause: Confidence threshold or required field set is misaligned with real inputs.
Solution: Tune thresholds by document type and add exception handling rules.

Related Skills

  • document/document-extraction - Extract structured data from documents
  • document/smart-documents - Manage document templates and generation
  • procurement/invoice-management - Apply screened invoice documents to AP workflows

References

よくある質問

AIスキル「Document Screening」では何ができますか?

Screen inbound documents for completeness, policy risk, and routing readiness before extraction or case workflows

TypingMindでDocument Screeningを使うメリットは何ですか?

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

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

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

Document Screeningを使えるAIモデルはどれですか?

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

Document Screeningは何個のAIモデルで使えますか?

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

AIスキル「Document Screening」は無料ですか?

はい。Happy-Technologies-LLCがGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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