discovery-patterns

Automate ServiceNow discovery pattern configuration and execution for CMDB population.

77|23|Updated Jul 16, 2025
One-click install
npx skills add https://github.com/serac-labs/serac --skill discovery-patterns-serac-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: discovery-patterns
Source: https://github.com/serac-labs/serac/tree/main/packages/opencode/src/bundled-skills/discovery-patterns
Command: npx skills add https://github.com/serac-labs/serac --skill discovery-patterns-serac-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Discovery patterns help automate CMDB population by mapping probes, sensors, and identification rules to scan networks and create or update CIs, reducing manual configuration and data gaps.

Core Features & Use Cases

  • Centralizes discovery workflow definitions for ServiceNow environments.
  • Includes ES5-based templates and examples for creating schedules, credentials, probes, sensors, and identification rules.
  • Use cases include setting up weekly scans, mapping devices to CMDB classes, and deriving CI data from probes.

Quick Start

Define a new discovery pattern in SKILL.md and follow the ES5-based examples to create a basic schedule and a matching rule.

Frequently Asked Questions about discovery-patterns

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

FAQPage Schema
How do I automate ServiceNow discovery to populate the CMDB?

Automate ServiceNow discovery by configuring discovery patterns that map probes, sensors, and identification rules to scan networks and automatically create or update CIs in the CMDB.

How do discovery patterns and identification rules work together in ServiceNow?

Discovery patterns define workflows that use MID Server probes to scan devices and sensors to process results, while identification rules map the derived data to the correct CMDB classes to populate configuration items.

Can I use ES5 scripts to configure ServiceNow probes and sensors?

Yes, you can use ES5-based scripting templates to define discovery schedules, credentials, probes, sensors, and identification rules for production-grade ServiceNow environments.

What is the best way to set up weekly discovery scans and map devices to CMDB classes?

The best way to set up weekly scans and map devices to CMDB classes is to define a discovery pattern with ES5-based examples, then apply matching identification rules to accurately derive CI data from probe results.

What are the limitations of using discovery patterns for CMDB population?

Discovery patterns require a properly configured MID Server and matching credentials to function, and incorrect identification rules can lead to data gaps or duplicate CIs if safety guards are not followed.

Do I need a MID Server to automate ServiceNow discovery and populate the CMDB?

Yes, a MID Server is required to execute probes, process sensor data, and apply identification rules during the discovery workflow to accurately populate the ServiceNow CMDB.