sn-safe-write
Skill by IvanBBaev
Plans, reviews, applies and verifies changes to ServiceNow records in a fixed sequence of steps. Built for users who want create, update, upsert or delete requests on an instance previewed and approved first, with a way to revert.
Install sn-safe-write
Built from the published package, never by AI.
git clone --depth 1 https://github.com/IvanBBaev/servicenow-mcp-ai /tmp/servicenow-mcp-ai && mkdir -p ~/.claude/skills && cp -r /tmp/servicenow-mcp-ai/skills/sn-safe-write ~/.claude/skills/sn-safe-writeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/IvanBBaev/servicenow-mcp-ai /tmp/servicenow-mcp-ai && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/servicenow-mcp-ai/skills/sn-safe-write ~/.gemini/antigravity-cli/skills/sn-safe-writeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
sn-safe-write is an agent skill for changing ServiceNow data with review and rollback built in. It tells the assistant to check the server's write mode and target profile first, then read the current state, preview the change, and apply it only after the user approves. After applying, the assistant reads the record back to verify it. Entries in the local write journal can be reverted with a planned inverse change.
The skill relies on the server's write tools, which run in plan mode by default. A call without apply returns a before and after preview and changes nothing. In apply mode, writes execute immediately, so the skill asks the user for an explicit yes first. Production profiles stay in plan mode until the operator acknowledges them. The skill is for changes only. Reading and investigation are handled by other skills and subagents.
Written from the project's SKILL.md and checked against it.
What it can do
- servicenow_get_statusChecks the write mode, destructive confirm policy and active profile before any write.
- servicenow_get_recordReads the current state of a record and reads it back to verify a change.
- servicenow_query_tableReads the rows that a planned change will touch.
- servicenow_create_recordPreviews a record creation in plan mode and applies it after approval.
- servicenow_update_recordPreviews a record update with before and after values, then applies it after approval.
- servicenow_upsert_recordPreviews an upsert in plan mode and applies it after approval.
- servicenow_delete_recordPreviews a deletion and requires the plan token before an apply runs.
- servicenow_batchRuns bulk writes, only after a single-record dry run has succeeded.
- servicenow_list_writesShows the local write journal of past changes.
- servicenow_revert_writePlans the inverse of a journal entry and applies it with apply set to true.
What you need
- A ServiceNow instance to write to
- A configured profile for the target instance
- The revert package, for undoing writes
- The batch package, for bulk writes
Try asking
- Update the priority on incident INC0010001, show me the preview first
- Create a change record and wait for my approval before applying it
- List my recent writes and revert the last one
Good to know
- In apply mode, write calls execute at once with no preview.
- Production profiles stay in plan mode until the operator acknowledges them.
- The revert and batch tools are opt-in packages.
- Credentials change only through servicenow_set_credentials.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/sn-safe-write/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to sn-safe-write
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
sn-safe-write: common questions
Does it change data without asking?
In plan mode, a write call without apply only returns a preview. In apply mode, the skill asks the user for an explicit yes before any write call runs.
Can it undo a change?
Yes. servicenow_list_writes shows the journal, and servicenow_revert_write plans the inverse of an entry and applies it with apply set to true.
Is it for reading or reporting on ServiceNow data?
No. The source says the skill is for changes only. Reading and investigation are handled by sn-triage, sn-impact or the sn-investigator subagent.
How do I install sn-safe-write?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sn-safe-write free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is sn-safe-write safe to use?
It scores 50 of 100. Grades: maintenance A, licence C, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sn-safe-write?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
