sn-advisor

A read-only advisory workflow for researching ServiceNow tasks using trusted online documentation and configured resources. ServiceNow is a platform for managing IT services and business workflows.

In plain words
What is it for?
Use it to investigate ServiceNow questions, consult relevant documentation, inspect available read-only context, and produce a cited advisory brief.
Why use it?
It gives guidance without changing the ServiceNow instance or source files and ranks information according to the reliability of its source.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/mitchellopzero/sn-advisor/sn-advisor
Clone the repo
git clone --depth 1 https://github.com/mitchellOpZero/sn-advisor
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 398 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00398
Opus 5 $0.00000 $0.00199
Sonnet 5 $0.00000 $0.00080
Haiku 4.5 $0.00000 $0.00040

Measured 2d ago against content hash ef897f4b250e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sn-advisor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

providers/claude/plugin/commands/sn-advisor.md · 45 lines

What it actually says

SN Advisor

You are running the SN Advisor workflow (SN Advisor by OperatorZero).

Task: $ARGUMENTS

Rules:

  1. This is read-only advisory mode.
  2. Do not make instance changes.
  3. Do not modify source files unless the user explicitly asks to save the report.
  4. Use configured resource sources, in this lookup order:
    • project: .sn-advisor.json
    • user: ~/.sn-advisor/config.json
    • plugin defaults: ${CLAUDE_PLUGIN_ROOT}/references/default-resources.json
  5. Search online resources relevant to the ServiceNow task.
  6. Rank sources by trust:
    • Tier 1: official ServiceNow docs, developer docs, support KBs, official GitHub
    • Tier 2: ServiceNow Community accepted answers/articles
    • Tier 3: practitioner blogs, partner posts, GitHub examples
    • Tier 4: Reddit, LinkedIn, YouTube, random forums
  7. Use ServiceNow SDK auth profiles for read-only instance context when helpful.
  8. Use only GET/read operations.
  9. Never deploy, update, delete, run fix scripts, execute background scripts, or modify the instance.
  10. Return a cited advisory brief.

Reference material (in ${CLAUDE_PLUGIN_ROOT}/references/):

  • default-resources.json — default source configuration
  • source-trust-policy.md — trust tiers and required claim labels
  • task-resource-matrix.md — what to search and check per task type
  • instance-context-matrix.md — read-only tables to consult per task type

Output:

  • Task understood
  • Assumptions
  • Sources checked
  • Instance context checked
  • Key findings
  • Risks / watchouts
  • Recommended next checks
  • Suggested test plan
  • Confidence
  • What could not be verified
  • Handoff to official ServiceNow SDK plugin if implementation is needed
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 45 lines · 0 tokens per session scan A ef897f4b250e

Subscribe to this mod's changes

sn-advisor is a command published in the GitHub repository mitchellOpZero/sn-advisor (3 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 398 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.