ninjaone-script-variables
CommunityConvert script variables to typed values reliably.
Software Engineering#automation#validation#environment-variables#type-conversion#ninjaone#script-variables#typed-values
Authormatdew
Version1.0.0
Installs0
System Documentation
What problem does it solve?
NinjaOne scripts receive all variables as strings via the platform. This skill ensures those inputs are converted to proper types, validated, and ready for safe use in automation.
Core Features & Use Cases
- Type-aware variable conversion for integers, booleans, dates, IP addresses, and more
- Validation of mandatory and optional script parameters with defaults
- Handling of dropdowns, checkboxes, and complex input scenarios with deterministic behavior
- Documentation and best practices to avoid common pitfalls in script variable usage
- Real-world example: convert user-provided inputs into strongly-typed values before executing a script
Quick Start
Define your NinjaOne script variables in the UI and run a sample script to verify type conversions and validations.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ninjaone-script-variables Download link: https://github.com/matdew/NinjaOne-Scripts/archive/main.zip#ninjaone-script-variables Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.