Skillquality 0.45

servicenow

Interact with ServiceNow instances via the jsn CLI. Use when working with ServiceNow development, administration, or data exploration. Handles tables, records, business rules, flows, script includes, ACLs, update sets, and more. Triggered by ServiceNow URLs (service-now.com, serv

Price
free
Protocol
skill
Verified
no

What it does

Jace's ServiceNow CLI

Explore and manage ServiceNow instances. Works standalone or with AI agents.

Discovery

Commands are self-documenting. Use these to learn what's available:

jsn --help                # Root help with all top-level commands
jsn <command> --help        # Detailed usage, flags, and examples for any command
jsn dev                     # Shows categorized dev subcommands

Agent Rules

  1. Output modes--json when parsing data; --md when presenting to humans; --agent for automation
  2. Use sys_id for updates — All update/delete operations require sys_id
  3. Check auth first — Run jsn auth status before operations
  4. NEVER logout — Only run jsn auth logout if the user explicitly asks
  5. Use --profile <name> to target a specific instance, or jsn profiles use <name> to change default
  6. Before using eval or rest — Ask yourself: "Have I checked if there's a more specific jsn command?" Verify jsn records --table <name> create won't work first. Prefer specific over generic over escape hatch over eval.
  7. CONFIRM before destructive operations — Always show the user exactly what will be created, updated, or deleted and ask for explicit confirmation before executing. Never run create, update, delete, set, or remove commands without user approval.

⚠️ Destructive Operations Require Confirmation

jsn does not have a --confirm or --dry-run flag. It assumes you mean what you type. This means YOU (the agent) are the safety layer.

Before any write operation, you MUST:

  1. Show the user what you found — Run a list or show command first
  2. Present the exact command you plan to run — Include the sys_id, table name, and data
  3. Wait for explicit approval — "Proceed? [y/N]" or similar

Examples of destructive commands that require confirmation:

  • jsn records --table <name> create
  • jsn records --table <name> update <sys_id>
  • jsn records --table <name> delete <sys_id>
  • jsn dev updatesets set <name>
  • jsn profiles remove <name>
  • Any delete, update, create, set, or remove subcommand

Good pattern:

User: "Delete that incident"
Agent: "Found: INC0010001 'Server down' (sys_id: abc123...)
       Command: jsn records --table incident delete abc123...
       Proceed? [y/N]"
User: "y"
Agent: [runs command]

Bad pattern:

User: "Delete that incident"
Agent: [immediately runs jsn records --table incident delete ...]

⚠️ AVOID jsn eval for Record Creation

Why: jsn eval runs server-side JavaScript in the global scope. It returns HTTP 200 even when:

  • The insert fails due to ACL violations
  • Mandatory fields are missing
  • The record lands in the wrong scope
  • Logic errors prevent the insert entirely

The AI trap: Agents see "success" and assume the record was created. It wasn't.

Always use instead: jsn records --table <name> create — it returns the created record with sys_id or an explicit validation error.

Only use eval when: No specific command exists, records lacks required fields, and rest doesn't work. This is rare.

Command Hierarchy

Pick the most specific tool for the job. Never default to eval — it's the last resort:

  1. Specific commandsjsn flows, jsn rules, jsn jobs, etc. — curated views with domain-aware formatting and validation
  2. jsn records --table <name> — generic CRUD on any table (the workhorse, preferred for record creation)
  3. jsn rest — raw Table API escape hatch when records command lacks required fields
  4. jsn eval — ⚠️ LAST RESORT ONLY — server-side script execution when no other option exists
  5. Ask the human — if none of the above work. Never generate standalone GlideRecord scripts as a fallback.

JSON Envelope

All commands support --json. The envelope structure:

{
  "ok": true,
  "data": [ ... ],
  "summary": "5 records",
  "breadcrumbs": [
    {"action": "show", "cmd": "jsn records --table incident <sys_id>", "description": "View details"}
  ]
}

Breadcrumbs suggest next commands — follow them for navigation.

Configuration

~/.config/servicenow/
├── config.json               # Profiles and settings
└── credentials.json          # Auth tokens (fallback)

.servicenow/                  # Per-repo config (optional)
└── config.json               # Project-specific settings

Environment variables:

  • SERVICENOW_TOKEN — Override stored token
  • SERVICENOW_INSTANCE — Override instance URL

Capabilities

skillsource-jacebensonskill-servicenowtopic-agent-skillstopic-clitopic-servicenow

Install

Installnpx skills add jacebenson/jsn
Transportskills-sh
Protocolskill

Quality

0.45/ 1.00

deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 6 github stars · SKILL.md body (4,553 chars)

Provenance

Indexed fromgithub
Enriched2026-05-18 19:14:42Z · deterministic:skill-github:v1 · v1
First seen2026-05-18
Last seen2026-05-18

Agent access