data-policies
Skill by serac-labs
Guides developers through ServiceNow dictionary work, including tables, fields, choice lists, overrides and data policies. It is for admins and developers who maintain schema and data-layer rules.
Install data-policies
Built from the published package, never by AI.
git clone --depth 1 https://github.com/serac-labs/serac /tmp/serac && mkdir -p ~/.claude/skills && cp -r /tmp/serac/packages/skills/data-policies ~/.claude/skills/data-policiesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/serac-labs/serac /tmp/serac && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/serac/packages/skills/data-policies ~/.gemini/antigravity-cli/skills/data-policiesAntigravity 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
The data-policies skill gives an AI assistant guidance and code examples for managing the ServiceNow data layer. It covers the dictionary (sys_dictionary), creating tables and fields, choice lists, dictionary overrides, and data policies (sys_data_policy2) with their rules. Policy rules can make fields mandatory, read-only, or visible, and a policy can use a condition or a scripted check.
The examples are written in ES5 JavaScript using GlideRecord, and the source states ES5 only. The skill lists three MCP tools for discovering table fields, querying tables and running scripts. It is aimed at developers building or maintaining ServiceNow schemas and data rules. The source is published by serac-labs under the Apache-2.0 license.
Written from the project's SKILL.md and checked against it.
What it can do
- snow_discover_table_fieldsGets field definitions for a ServiceNow table, such as incident.
- snow_query_tableQueries dictionary, data policy and dictionary override tables.
- snow_execute_scriptTests dictionary scripts in the instance.
- Create tables and fieldsShows how to create custom tables and fields in the dictionary.
- Manage choice listsShows how to create choice values for a field.
- Dictionary overridesShows how to override field properties for a scoped app.
- Data policiesShows how to create data policies and their rules with conditions.
What you need
- A ServiceNow instance
Try asking
- Show me the fields on the incident table using snow_discover_table_fields
- Create a data policy that requires resolution code when an incident is resolved
- List active data policies for the change_request table
Good to know
- All code examples are written in ES5 JavaScript only.
- Scripted field validation is set in Dictionary > Calculated Value, according to the examples.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/skills/data-policies/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to data-policies
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
data-policies: common questions
What does the data-policies skill manage in ServiceNow?
It covers the dictionary (sys_dictionary), tables, fields, choice lists, dictionary overrides and data policies with their rules. Policies can make fields mandatory, read-only or visible.
Which JavaScript version do the examples use?
The source says the examples use ES5 only and marks each example with ES5 ONLY. It advises against modern JavaScript syntax.
Which MCP tools does the skill use?
It lists snow_discover_table_fields, snow_query_table and snow_execute_script. These are used to discover fields, query tables and test dictionary scripts.
How do I install data-policies?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is data-policies free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is data-policies safe to use?
It scores 52 of 100. Grades: maintenance A, licence A, quality B. 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 data-policies?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
