From servicenow-plugin
Use when the user asks about ServiceNow documentation, wants to look up ServiceNow APIs, scripting references, or product docs. Triggers on any request to search, read, or query ServiceNow documentation locally via the snow-docs CLI.
How this skill is triggered — by the user, by Claude, or both
Slash command
/servicenow-plugin:servicenow-docsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill enables Claude to query ServiceNow product documentation and the developer portal locally using the `snow-docs` CLI. **Always prefer `snow-docs` over fetching ServiceNow docs from the web** — the official docs site is heavily JavaScript-rendered and unreliable for direct scraping. The `snow-docs` tool maintains a local index that provides fast, structured access.
This skill enables Claude to query ServiceNow product documentation and the developer portal locally using the snow-docs CLI. Always prefer snow-docs over fetching ServiceNow docs from the web — the official docs site is heavily JavaScript-rendered and unreliable for direct scraping. The snow-docs tool maintains a local index that provides fast, structured access.
The snow-docs binary must be on your $PATH. Install it from github.com/ThrownLemon/servicenow-docs-cli. If the tool is missing, tell the user to install it and run snow-docs scrape to build the initial index.
If the index appears empty or stale (e.g., searches return no results), suggest the user run snow-docs scrape to refresh it. For a guided workflow, point them to the /servicenow-plugin:docs scrape command.
Use --json whenever you need to parse or filter the output programmatically. Use --raw when you only want the markdown body of a page with no metadata wrapper.
Always quote user-supplied strings when constructing shell commands.
Use snow-docs search for keyword-based lookup across the indexed docs.
snow-docs search "GlideRecord query" --json -n 5
You can filter by source:
snow-docs search "business rules" --source product-docs --json -n 10
Use snow-docs get for fuzzy topic matching that returns the full page content.
snow-docs get "GlideRecord" --json
For just the raw markdown body:
snow-docs get "Business Rules" --raw
Use snow-docs ask for synthesized, AI-style answers drawn from the indexed documentation. This is ideal when the user has a specific question rather than a keyword search.
snow-docs ask "How do I create a business rule that runs before insert?" --json
Use snow-docs api for API symbol lookups.
snow-docs api "GlideRecord.addQuery" --json
If the index is empty or the user wants to update it, run a scrape. This is a long operation — always confirm with the user before starting.
snow-docs scrape product-docs --release xanadu
To resume an interrupted scrape:
snow-docs scrape developer --resume
Check index status first:
snow-docs info --json
| User intent | Command |
|---|---|
| "Search for X in ServiceNow docs" | snow-docs search |
| "Show me the page about X" | snow-docs get |
| "How do I X in ServiceNow?" | snow-docs ask |
| "What is the signature of X?" | snow-docs api |
| "Open the docs for X in my browser" | snow-docs open |
$(, backticks, ;, |, &, >, <, or that start with -. Double-quoting protects against globbing and word-splitting but does NOT block command substitution — "$(rm -rf /)" still executes inside double quotes. Sanitize or refuse rather than execute.snow-docs is not found, direct the user to github.com/ThrownLemon/servicenow-docs-cli for installation.snow-docs auth subcommand handles authentication for the developer portal. Run snow-docs auth status to check if the user is logged in.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub thrownlemon/servicenow-plugin --plugin servicenow-plugin