/servicenow-mcp-ai:sn-safe-writefrom ServiceNow MCP
Guides safe data changes on ServiceNow instances with a plan-review-apply-verify workflow. Use for creates, updates, upserts, or deletes.
Ships in ServiceNow MCP. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A write tool called without apply: true returns a before/after preview and
changes nothing only while the server is in plan mode (the default). In
apply mode (SN_WRITE_MODE=apply) the same call executes at once. So the
first step is always to learn the mode — never send a write call before it.
sn-investigator subagent; this skill is for changes only.servicenow_set_credentials has its own
confirmation.sn-change-reviewer subagent (where the client has it) and apply only on a
go verdict the user accepts.servicenow_get_status — writeMode,
policy.destructiveConfirm, the active profile and its entry in
profileDetails (env, writeMode, writeModeHold). Never switch
profiles or write modes silently.writeMode: "plan") — continue with step 3; a call
without apply is a safe preview.writeMode: "apply") — there is no
preview: every write call, with or without apply, changes the instance,
and destructive tools skip the plan_token check. Stop and ask the
user before any write call: describe the exact change (table, record,
fields, old and new values from step 3's read) and wait for an explicit
yes. Offer to have the operator switch this profile to plan mode instead.env: "prod") — a prod profile configured for apply
stays in plan mode (writeModeHold says why) until the operator
acknowledges it with SN_PROD_WRITES=I_UNDERSTAND (or the per-profile
form); while held, follow the plan branch and say the target is
production when you show the preview. If prod really is in apply mode,
follow the apply branch above, and expect destructive
tools to ask for a client confirmation (or to fail with
CONFIRM_REQUIRED when the client cannot confirm).servicenow_get_record or
servicenow_query_table for the rows you will touch.servicenow_create_record,
servicenow_update_record, servicenow_upsert_record or
servicenow_delete_record without apply. Check that the answer says
mode: "plan", then show the user the preview (the fields that change,
before and after).apply: true. A non-destructive write (create, update, upsert) needs
nothing else. A destructive apply (servicenow_delete_record, a writing
servicenow_batch, servicenow_revert_write, …) also needs the
plan_token from that preview — without one the server returns the
preview again (with apply_skipped) instead of running it, a stale token
is PLAN_REQUIRED, and the plugin's hook stops a token-less apply before
it is sent. In apply mode, the approved call from step 2 is the one and only
call. For configuration records pass update_set so the change is
captured.servicenow_get_record.servicenow_list_writes shows the local write journal;
servicenow_revert_write plans the inverse of an entry and applies it with
apply: true. Both live in the opt-in revert package and
servicenow_batch in the batch package: when enabledPackages in the
step 1 answer lacks one, enable it with the server's enable_package admin
tool and tell the user. The record tools are in table (on by default, in discovery).servicenow_batch only after a single-record dry
run succeeded.values; credentials change through
servicenow_set_credentials only.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
servicenow, safe-writes, change-management, data-modification
8 skills in this plugin
/sn-discoverMap a ServiceNow instance into Markdown (version and counts, custom applications, per-scope tables and artefacts) with the server's own document generator. Use when asked to discover, survey, inventory or document an instance or its custom apps./sn-driftFind configuration drift between two ServiceNow instances or against a saved snapshot, or review what an update set will change. Use when comparing dev / test / prod, checking a promotion, or reviewing an update set./sn-impactEstimate the blast radius of changing a ServiceNow table, field or script — what references it and what automation runs around it. Use before renaming, deleting or changing a field, table, script include or business rule./sn-securityReview the security posture of a ServiceNow instance — the ACL scan, hardening properties and cross-scope access — or explain why one user can or cannot read, write, create or delete a table, record or field. Use for a security review, a hardening check, or a "why can't this user see / edit it" question./sn-triageTriage a ServiceNow incident or a failing behaviour — instance health, recent errors, what automation runs on the table, and what changed on the record. Use when something is broken, slow or erroring on an instance./sn-uibReview a ServiceNow UI Builder (UIB) experience or workspace page — its page map, what a change would touch, data broker security and page weight. Use when asked to explain, audit or assess a UI Builder page, workspace or experience before changing it.npx claudepluginhub ivanbbaev/servicenow-mcp-ai --plugin servicenow-mcp-aiOther plugins' skills for the same job