- Home
- Skills
- Data & Databases
- ast servicenow
Works with the AI Agents you already use
ast servicenow
Query ServiceNow incidents, users, and CMDB records via CLI and MCP for fast, read-only technical lookups.
$49
ast servicenow
Example session with this skill installed
Who is the owner of the laptop with serial number SN99283-X and what department are they in?
- Read your context and instructions
- Compiled the ast servicenow
I have queried the ServiceNow CMDB and User tables to identify the asset owner.
ServiceNow Asset Lookup
| Field | Value | Source |
|---|---|---|
| Serial Number | SN99283-X | cmdb_ci_computer |
| Asset Owner | Marcus Thorne | cmdb_ci_computer |
| Department | Site Reliability Engineering | sys_user |
| Manager | Sarah Jenkins | sys_user |
| User Status | Active | sys_user |
Evidence
- Queried
sn-search cmdb --serial SN99283-X --jsonto identify ownersys_id. - Queried
sn-search user --id <sys_id> --jsonto retrieve department and manager details.
Gaps
- The search was successful. No truncation or API errors were reported by the ServiceNow Table API.
Next steps
- Verify if the owner's department matches the current physical location of the device.
- If this asset needs to be reassigned, please perform the update manually in the ServiceNow portal as this tool is read-only.
Connects securely to your tools. The creator never sees your data.
About this skill
Manually retrieving hardware ownership, ticket histories, or user details from ServiceNow slows down incident response and asset management. This skill provides a read-only interface to query ServiceNow records directly through the AST sn-search CLI and MCP tools.
What it does
- Incident Lookups retrieves full details for specific
INCnumbers to check status and history. - User Profiling queries the
sys_usertable to find managers, departments, and contact information. - Asset Tracking searches the
cmdb_ci_computertable to identify owners of laptops, hostnames, or serial numbers. - Contextual Search finds all tickets associated with a specific individual for audit or troubleshooting.
- Read-Only Safety ensures no records are created, modified, or closed, maintaining data integrity.
How it works
- Discovery detects mention of ServiceNow or specific incident/asset identifiers in the conversation.
- Read Operations uses the
sn-searchCLI or MCP tools to query the Table API for relevant records. - Data Synthesis parses JSON responses, checking for errors, truncation, or search gaps.
- Structured Reporting delivers a summary, evidence table, and identified gaps in visibility.
Frameworks & tools
This skill uses the Agentic Security Toolkit (AST) sn-search and sectools CLI utilities. It requires Python 3.12+, the ServiceNow Table API, and local credential storage via system keychain or .env files.
Why this beats prompting it yourself
Generic prompts cannot securely authenticate or query live ServiceNow instances. This skill uses a hardened safety model that isolates secrets from the chat and provides structured error handling to distinguish between "no results" and "failed queries."
Use cases
- Identify the manager and department of a user involved in a security alert.
- Verify the serial number and registered owner of a laptop reported as lost.
- Pull the history of recent incidents assigned to a specific service desk agent.
Known limitations
Supports only incident, sys_user, and cmdb_ci_computer tables. It cannot create or update records and is restricted to ServiceNow environments.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean 3 days ago
- Passed all security checks, Safe to install
Requires