servicenow-agent
Read-only CLI access to ServiceNow Table, Attachment, Aggregate, and Service Catalog APIs; includes schema inspection and history retrieval (read-only).
Why use this skill?
Securely query ServiceNow tables, attachments, and service catalogs with the OpenClaw servicenow-agent. Features read-only access for safe IT automation.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/thesethrose/servicenow-agentWhat This Skill Does
The servicenow-agent provides a secure, read-only interface for interacting with your ServiceNow instance. It acts as a specialized CLI bridge that facilitates data retrieval across Table, Attachment, Aggregate, and Service Catalog APIs. By adhering strictly to GET-only operations, this skill ensures that your production environment remains protected from unintended data modifications, deletions, or updates. It is designed to empower AI agents with the ability to query incident history, inspect table schemas, analyze aggregate statistics, and retrieve documentation from the Service Catalog, all while maintaining strict adherence to your configured environment variables.
Installation
To begin using the skill, ensure your OpenClaw environment is properly configured. Run the following command in your terminal to integrate the skill into your project:
clawhub install openclaw/skills/skills/thesethrose/servicenow-agent
Once installed, navigate to the skill's directory and configure your .env file with the required SERVICENOW_DOMAIN, SERVICENOW_USERNAME, and SERVICENOW_PASSWORD keys. These credentials allow the CLI to communicate with your instance. The skill is built to automatically detect these credentials, ensuring a seamless setup process for immediate query execution.
Use Cases
This skill is perfect for IT support automation, ITSM data analysis, and technical troubleshooting. Common scenarios include:
- Incident Triage: Quickly fetching the history of a specific ticket to view work notes and comments without leaving the AI interface.
- Schema Inspection: Developers can inspect table structures to identify available fields before running data analysis.
- Operational Reporting: Using the Aggregate API to run statistics on record counts or field averages across groups.
- Catalog Discovery: Browsing the Service Catalog to identify available items or templates for end-user documentation.
Example Prompts
- "List the last 5 open incidents assigned to the 'Network' group and show the priority and short description."
- "Get the full history and work note timeline for incident SYS_ID_12345."
- "Show me the aggregate count of all closed incidents grouped by the assignment group for this month."
Tips & Limitations
- Safety First: This tool is strictly read-only. Attempts to perform write operations via custom scripts will fail as the underlying logic strictly limits interactions to GET methods.
- Performance: When performing large queries, always utilize the
--sysparm_limitflag to keep API responses manageable and prevent timeout issues. - Formatting: Use the
--prettyflag to output human-readable JSON, which is particularly useful when piping outputs into other data processing tools or displaying results in an agent UI. - Documentation: For complex queries involving encoded strings, consult the official ServiceNow REST API documentation, as the
sysparm_querysyntax adheres to standard ServiceNow query string formatting.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-thesethrose-servicenow-agent": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api
Related Skills
Agent Browser
A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured commands.
npm-search
Search npm packages. Use for finding Node.js/JavaScript packages, libraries, and tools.
marketing-mode
Marketing Mode combines 23 comprehensive marketing skills covering strategy, psychology, content, SEO, conversion optimization, and paid growth. Use when users need marketing strategy, copywriting, SEO help, conversion optimization, paid advertising, or any marketing tactic.
pi-admin
Raspberry Pi system administration. Monitor resources, manage services, perform updates and maintenance.
context7
Context7 MCP - Intelligent documentation search and context for any library