ServiceNow Agent Skill for Openclaw

A secure, read-only CLI agent for querying ServiceNow records, attachments, and service catalogs without risking data modification.

thesethrose
v0.1.1
Jan 16, 2026
1
3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install servicenow-agent

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install servicenow-agent using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is ServiceNow Agent Skill?

The ServiceNow Agent is a specialized tool designed to provide secure, read-only access to your ServiceNow instance. By leveraging this Openclaw Skills integration, developers and AI agents can query the Table API, inspect schemas, and retrieve historical conversation data without the risk of accidental record modification. It serves as a bridge between your local environment and ServiceNow's complex data structures, offering a streamlined CLI for data extraction and analysis.

Built with safety in mind, the skill enforces GET-only operations across various ServiceNow endpoints including Attachment, Aggregate, and Service Catalog APIs. Whether you are troubleshooting incidents or gathering data for reports, this skill ensures high-fidelity data retrieval while maintaining strict read-only compliance.

ServiceNow Agent Skill Use Cases

  • Querying incident or change request records to monitor system health and status.
  • Inspecting table schemas to verify field names and data types before developing integrations.
  • Retrieving the full history of ticket comments and work notes for audit or context analysis.
  • Downloading and analyzing attachments associated with specific system records.
  • Generating aggregate statistics for reporting on active tasks, priorities, or categories.

How ServiceNow Agent Skill Works

  1. The agent authenticates with a ServiceNow instance using basic auth credentials stored in environment variables.
  2. Users or AI agents invoke the bundled CLI tool to perform specific read operations using the provided commands.
  3. The tool executes GET requests against the ServiceNow Table, Attachment, or Service Catalog APIs.
  4. Query parameters like sysparm_limit and sysparm_fields are used to filter and optimize the data returned.
  5. The skill processes the API response and outputs structured JSON or downloads binary files for local use.

ServiceNow Agent Skill Setup

To get started with this Openclaw Skills component, set the following environment variables in your .env file:

SERVICENOW_DOMAIN=yourinstance.service-now.com
SERVICENOW_USERNAME=your_username
SERVICENOW_PASSWORD=your_password

Ensure you have Node.js installed, then you can run queries via the CLI:

# List the 5 most recent incidents
node cli.mjs list incident --sysparm_limit 5

# Verify the schema of the incident table
node cli.mjs schema incident

ServiceNow Agent Skill Data Schema & Taxonomy

The skill organizes data primarily through the ServiceNow Table API structure. Results are typically returned as a JSON object with a result key containing the requested data.

Data Type Source API Description
Table Records Table API Returns a JSON array of records from tables like incident or cmdb_ci.
Attachments Attachment API Provides file metadata and the ability to download binary content.
Statistics Aggregate API Returns calculated counts, averages, and sums for table fields.
Schema Map Dictionary API Lists valid field names, internal types, and reference relations.
History Journal API Extracts a timeline of human-readable comments and work notes.

ServiceNow Agent Skill Advanced Features

  • Batch Execution: Run multiple read requests simultaneously using JSON-formatted specialist presets.
  • Conversation Retrieval: Fetch complete journal entry timelines to understand the full context of a ticket.
  • Schema Discovery: Automatically map database fields to avoid query errors on custom tables.
  • Service Catalog Inspection: Read-only access to catalogs, categories, and item-specific variables.
  • Flexible Filtering: Full support for encoded queries and display value toggling for human-readable outputs.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*