
No more browser-based script editing. No more manual script sync. No more complex setup.
Connect to your instance → open the code → use all VS Code features → save. That's it.
NowAIKit Builder brings the full power of VS Code to ServiceNow development — real IntelliSense, real diff, real Git, real AI agents. Everything ServiceNow developers have been waiting for.
Part of the NowAIKit product family.
Features
Script Explorer

Browse, edit, and manage all ServiceNow scripts without leaving VS Code.
- 10 script types — Business Rules, Script Includes, Client Scripts, UI Policies, UI Actions, Service Portal Widgets, UI Pages, Processors, Scheduled Jobs, Scripted REST APIs
- Push/Pull/Compare — one-click push to instance, pull latest, or diff side-by-side
- Create new business rules, script includes, and client scripts from VS Code
- Auto-push on save — edit files in
.nowaikit/ and changes push automatically
- Search across all script types by name
- Sort by name, last updated, or date created
- Scope-aware — scripts grouped by application scope
Table Explorer
Navigate your instance data model without leaving VS Code.
- Organized categories — Core, CMDB, User & Group, Knowledge, Catalog, System
- Full schema view — fields, types, references, mandatory flags, default values
- Add custom tables — include any table not in the defaults
- Search and filter — find tables by name instantly
- Scoped app tables — automatically discovers tables from your current scope
Update Set Manager

Full update set lifecycle management from the sidebar.
- Switch update sets — writes the user preference and invalidates active browser sessions so the next page load picks up the change automatically
- Application scope switching — filter update sets by scope, switch scope with one click
- Create new update sets with name and description
- Current set highlighting — always know which update set is active
- Search and sort — filter by name, sort by updated date, name, or created date
Instance Dashboard

Real-time instance health monitoring in a webview panel.
- Platform info — ServiceNow version, build tag
- Scheduler health — active jobs, error counts with trend indicators
- Log monitoring — 24-hour error counts with trend arrows
- Update set overview — top 10 in-progress update sets
- Auto-refresh — configurable interval (default 60s, 0 to disable)
- Trend indicators — see what changed since the last refresh
AI Agents for GitHub Copilot Chat

Specialized ServiceNow AI agents built into GitHub Copilot Chat — each with deep platform knowledge and focused expertise.
| Agent |
Role |
Commands |
| @nowaikit |
General assistant |
/explain, /best-practices, /glidequery, /scoped-app |
| @nowaikit-scan |
Instance scanner |
/health, /security, /debt, /upgrade, /cmdb, /performance |
| @nowaikit-review |
Code reviewer |
/script, /acl, /flow, /integration, /security |
| @nowaikit-build |
Code generator |
/business-rule, /client-script, /script-include, /flow, /widget, /rest-api, /catalog, /ui-action, /fix-script |
| @nowaikit-debug |
Debugger |
/error, /logs, /slow-query, /data, /integration, /acl |
| @nowaikit-test |
Test generator |
/atf, /test-plan, /regression, /data-setup |
| @nowaikit-security |
Security specialist |
/acl-audit, /roles, /data-policy, /hardening, /compliance |
| @nowaikit-architect |
Solution architect |
/design, /data-model, /integration, /scale, /migrate |
| @nowaikit-docs |
Documentation |
/api, /release-notes, /runbook, /architecture, /script-doc, /user-guide |
| @nowaikit-performance |
Performance tuning |
Query optimization, caching, bottleneck analysis |
Copilot Chat Skills
Deep ServiceNow knowledge bases that power accurate AI responses:
- GlideRecord — queries, inserts, updates, encoded queries, scoped patterns
- GlideQuery — modern fluent API, Optional handling, aggregates
- Business Rules — when/order, field changes, recursion guards, async patterns
- Client Scripts — onChange, onLoad, onSubmit, g_form, GlideAjax
- REST API — RESTMessageV2, Table API, Scripted REST, authentication
- Security — ACLs, roles, data policies, OWASP patterns
- Flow Designer — flows, subflows, actions, triggers, error handling
- Service Portal — widgets, Angular, server scripts, dependencies
Code Snippets
Production-ready code snippets covering every common ServiceNow pattern:
| Category |
Count |
Examples |
| GlideRecord & Queries |
13 |
gr, grget, grenc, ga, sgr, cmdbci |
| GlideQuery (Modern) |
4 |
gq, gqget, gqagg, gqinsert |
| Business Rules |
3 |
brbefore, brafter, brasync |
| Client Scripts |
4 |
csonchange, csonload, csonsubmit, cscelledit |
| g_form API |
6 |
gfset, gfget, gfmand, gfvis, gfro, gfmsg |
| GlideSystem |
5 |
gsinfo, gserror, gsinclude, gsrole, gsuser |
| Script Includes |
3 |
si, ajax, ajaxsi |
| REST & Integration |
5 |
rest, restfull, tableget, tablepost |
| Flow Designer |
3 |
flowaction, flowtransform, flowsub |
| UI Actions & Advanced |
17 |
uiaction, uiaclient, notif, atf, schedjob |
Real-Time Script Sync
Two-way synchronization with NowAIKit Utils Chrome extension.
- WebSocket bridge — real-time bi-directional sync between VS Code and the browser
- Edit anywhere — change a script in the browser or VS Code, it syncs both ways
- Organized file structure —
.nowaikit/{instance}/{scope}/{table}/{name}.js
- Metadata tracking — companion
.meta.json files for each script
- Configurable port — default 8765, fully customizable
- Auto-start option — start sync automatically on connection
Multi-Instance Support

Connect to any number of ServiceNow instances and switch with one click.
- Save instance configs — URL, username, auth method stored per instance
- Quick switch — change instances from Command Palette or status bar
- Independent credentials — each instance has its own secure credential storage
- Status bar indicator — always see which instance and scope you're connected to
Authentication
Two authentication methods, both fully secure:
| Method |
Best For |
| Basic Auth |
Development instances, quick setup |
| OAuth 2.0 |
Production, MFA-enabled instances, SSO |
- OAuth Authorization Code flow with PKCE-ready architecture
- Token refresh (auto-refreshes 60s before expiry)
- CSRF state validation on OAuth callbacks
- All credentials stored in VS Code SecretStorage (OS keychain)
Application Scope Management
- View current scope in the status bar
- Switch scope — changes the
apps.current_app user preference
- Scope-filtered update sets — see only update sets for the current scope
- Scoped app table discovery — Table Explorer shows tables from the current scope
Background Script Execution
Run scripts directly on your instance from VS Code:
- Execute server-side JavaScript with scope selection
- Output displayed in the editor
- Requires explicit user confirmation for safety
Getting Started
Install
- Open VS Code
- Go to Extensions (
Ctrl+Shift+X / Cmd+Shift+X)
- Search for "NowAIKit Builder"
- Click Install
Or install from the command line:
code --install-extension aartiq.nowaikit-builder
Connect to Your Instance
- Click the NowAIKit icon in the Activity Bar (left sidebar)
- Click "Connect to Instance" in the welcome view
- Enter your instance URL (e.g.,
https://dev12345.service-now.com)
- Choose authentication method (Basic or OAuth)
- Enter credentials
- You're connected! Scripts, tables, and update sets load automatically.
Tip: Your credentials are stored securely in your OS keychain via VS Code SecretStorage. They are never stored in plain text.
Use AI Agents
- Open GitHub Copilot Chat (
Ctrl+Shift+I / Cmd+Shift+I)
- Type
@nowaikit to use the general assistant
- Or use a specialized agent:
@nowaikit-build /business-rule incident
- The agent has full ServiceNow knowledge from 8 built-in skills
All Commands
All commands are available via the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):
Instance
| Command |
Description |
NowAIKit: Connect to Instance |
Connect with Basic Auth or OAuth |
NowAIKit: Disconnect Instance |
Disconnect from current instance |
NowAIKit: Switch Instance |
Switch between saved instances |
NowAIKit: Switch Application Scope |
Change the current application scope |
NowAIKit: Open in Browser |
Open instance or record in browser |
NowAIKit: Instance Dashboard |
Open the health dashboard |
Scripts
| Command |
Description |
NowAIKit: Refresh Scripts |
Reload all scripts from instance |
NowAIKit: Search Scripts |
Search scripts by name |
NowAIKit: Sort Scripts |
Sort by name, updated, or created |
NowAIKit: Open Script |
Open a script in the editor |
NowAIKit: Push Script to Instance |
Push current file to instance |
NowAIKit: Pull Script from Instance |
Pull latest from instance |
NowAIKit: Compare with Instance |
Diff local vs instance version |
NowAIKit: Create Business Rule |
Create a new business rule |
NowAIKit: Create Script Include |
Create a new script include |
NowAIKit: Create Client Script |
Create a new client script |
NowAIKit: Run Background Script |
Execute script on instance |
Tables
| Command |
Description |
NowAIKit: Refresh Tables |
Reload table explorer |
NowAIKit: Search Tables |
Filter tables by name |
NowAIKit: Sort Tables |
Sort table list |
NowAIKit: View Table Schema |
View full table schema |
NowAIKit: Add Custom Table |
Add a table to the explorer |
NowAIKit: Clear Table Filter |
Remove table name filter |
Update Sets
| Command |
Description |
NowAIKit: Switch Update Set |
Switch active update set |
NowAIKit: Set as Current Update Set |
Set selected update set as current |
NowAIKit: Create Update Set |
Create a new update set |
NowAIKit: Search Update Sets |
Filter update sets by name |
NowAIKit: Sort Update Sets |
Sort by name, updated, or created |
NowAIKit: Refresh Update Sets |
Reload update set list |
NowAIKit: Show All Update Sets |
Clear scope filter |
Sync
| Command |
Description |
NowAIKit: Start Script Sync |
Start WebSocket sync with NowAIKit Utils |
NowAIKit: Stop Script Sync |
Stop the sync service |
Configuration
| Setting |
Default |
Description |
nowaikit-builder.instances |
[] |
Saved instance configurations |
nowaikit-builder.defaultUpdateSet |
"" |
Default update set name |
nowaikit-builder.autoPull |
false |
Auto-pull scripts on connect |
nowaikit-builder.scriptTypes |
[6 types] |
Script tables to show in explorer |
nowaikit-builder.maxRecords |
100 |
Maximum records per query |
nowaikit-builder.dashboardRefreshInterval |
60 |
Dashboard auto-refresh in seconds (0 to disable) |
nowaikit-builder.syncPort |
8765 |
WebSocket port for script sync |
nowaikit-builder.syncAutoStart |
false |
Auto-start sync on connection |
Requirements
- VS Code 1.103 or later
- GitHub Copilot extension (for AI agents — optional but recommended)
- ServiceNow instance (any release) with REST API access
- User account with appropriate roles (admin or itil recommended)
Security
NowAIKit Builder is secure by default — no telemetry, no third-party data sharing.
- Credential storage — all passwords, OAuth tokens, and client secrets stored in VS Code SecretStorage (OS keychain), never in plain text
- OAuth 2.0 — Authorization Code flow with CSRF state validation
- HTTPS only — all ServiceNow communication over TLS
- Input sanitization — query parameters escaped against ServiceNow injection metacharacters
- XSS prevention — all dashboard content HTML-escaped before rendering
- sys_id validation — 32-character hex format enforced before API calls
- No telemetry — zero data collection, zero analytics, zero tracking
- No third-party services — communicates only with your ServiceNow instance
- Explicit confirmation — background script execution requires user approval
Integration with NowAIKit Ecosystem
NowAIKit Builder works standalone, but becomes even more powerful with the NowAIKit ecosystem:
| Product |
Integration |
| NowAIKit |
400+ MCP tools — connect Claude, ChatGPT, Gemini, Cursor to ServiceNow |
| NowAIKit |
26 built-in AI capabilities — scanning, code review, architecture, test planning |
| NowAIKit Utils |
Chrome extension — real-time script sync via WebSocket bridge |
| NowAIKit Builder |
VS Code extension (you are here) |
License
Source Available — free to use. See LICENSE for details.
| |