contracts-query-enhancer

Transforms natural-language contract queries into ServiceNow CLM-encoded filters.

34|13|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/Happy-Technologies-LLC/happy-servicenow-skills --skill contracts-query-enhancer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contracts-query-enhancer
Source: https://github.com/Happy-Technologies-LLC/happy-servicenow-skills/tree/main/skills/legal/contracts-query-enhancer
Command: npx skills add https://github.com/Happy-Technologies-LLC/happy-servicenow-skills --skill contracts-query-enhancer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Complex contract searches in ServiceNow CLM environments often require domain knowledge of table structures and encoded query syntax. This skill translates natural-language contract search requests into precise CLM queries, enabling rapid, accurate surface of relevant contract records without technical query proficiency.

Core Features & Use Cases

  • Natural-language to field mapping: translates terms like vendor, contract_type, ends, and total_cost into ServiceNow queries against ast_contract, clm_obligation, and related tables.
  • Date and obligation handling: recognizes phrases like "expiring next quarter" or "overdue obligations" and converts them into encoded date-range filters and obligation predicates.
  • Guided discovery for audits and renewals: supports multi-criteria filtering, result field selection, and recommended follow-up queries to refine results in complex portfolios.

Quick Start

Ask your assistant to search contracts in plain language, e.g., "Show active SaaS contracts from Acme expiring in the next 90 days with total_cost over 100000" to get results.

Frequently Asked Questions about contracts-query-enhancer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search ServiceNow CLM contracts using natural language?

To search ServiceNow CLM contracts using natural language, this skill translates plain-language queries into encoded CLM filters. It maps domain terms like vendor or contract_type directly to fields in ast_contract and related tables for precise results.

Can I find expiring contracts and overdue obligations without writing encoded queries?

Yes, you can find expiring contracts and overdue obligations without encoded queries. The skill recognizes date phrases like 'expiring next quarter' and obligation statuses, converting them into encoded date-range filters and obligation predicates automatically.

Does this natural language query tool support multi-criteria contract searches?

This natural language query tool supports multi-criteria contract searches by mapping multiple terms to ServiceNow CLM fields simultaneously. It handles complex requests combining vendor, date, cost, and obligation filters into a single precise encoded query.

What is the best way to query contract obligations in ServiceNow CLM?

The best way to query contract obligations in ServiceNow CLM is using natural-language conversion. This approach maps obligation terms to clm_obligation table predicates, generating display-ready results without requiring knowledge of ServiceNow query syntax.

How do I filter active SaaS contracts by cost and expiration date in ServiceNow?

To filter active SaaS contracts by cost and expiration date in ServiceNow, provide a plain-language request like 'Show active SaaS contracts expiring in 90 days over 100000'. The skill translates cost and date terms into encoded operators and field mappings.

Do I need ServiceNow query syntax knowledge to search contract records?

You do not need ServiceNow query syntax knowledge to search contract records. The skill eliminates the requirement for technical query proficiency by handling field resolution, encoded operators, and table structures automatically from natural-language input.