Document Screening logo

Document Screening

Organization
Happy-Technologies-LLC
document-screening

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

Overview

PublisherHappy-Technologies-LLC
Repositoryhappy-platform-skills
Skill namedocument-screening
Stars
41
Forks
14
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Happy-Technologies-LLC on GitHub. Read the source before you install it.

Installation

Install the Document Screening AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Happy-Technologies-LLC/happy-platform-skills/tree/main/skills/document/document-screening
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Document Screening in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Document Screening on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Document Screening is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Frequently asked questions

What does the Document Screening AI skill do?

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

Why use Document Screening on TypingMind?

Because you install it once and use it with any model. Document Screening is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Document Screening in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Happy-Technologies-LLC/happy-platform-skills/tree/main/skills/document/document-screening. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Document Screening?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Document Screening?

As many as you like. As long as a model supports skills, you can use Document Screening with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Document Screening AI skill free?

Yes. It is published on GitHub by Happy-Technologies-LLC under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇