slcli

Manage NI SystemLink resources via command line with slcli queries and JSON outputs.

1|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/joshuaprewitt/workitem-template-manager --skill slcli-joshuaprewitt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slcli
Source: https://github.com/joshuaprewitt/workitem-template-manager/tree/main/slcli/_internal/skills/slcli
Command: npx skills add https://github.com/joshuaprewitt/workitem-template-manager --skill slcli-joshuaprewitt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

The slcli skill provides a command-line interface workflow for discovering and managing NI SystemLink resources, unifying access to test results, assets, systems, work items, templates, and workflows to streamline operations and analysis.

Core Features & Use Cases

  • Manage SystemLink resources from the command line, including querying and updating test results, assets, systems, work items, templates, and routines.
  • Export, import, and query JSON outputs to support automation, dashboards, and integration with external tools.
  • Use cases include identifying calibration needs, listing connected systems, creating and scheduling work items, and provisioning workflows or templates to accelerate testing pipelines.

Quick Start

Connect to your SystemLink environment with slcli and start by running a few starter commands to inspect the system: slcli info, slcli testmonitor result list --take 25, slcli testmonitor result list --take 100 -f json, slcli asset list --calibration-status PAST_RECOMMENDED_DUE_DATE, slcli system list --state CONNECTED, slcli workitem list --format json --take 25, and slcli workitem create --name "Sample" --type testplan --state NEW --part-number "P-001" --workspace Default.

Frequently Asked Questions about slcli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage NI SystemLink resources from the command line?

You can manage NI SystemLink resources from the command line by using the slcli interface to query, create, update, and orchestrate tests, assets, systems, work items, workflows, and templates. It unifies access to streamline operations and analysis.

How do I check calibration status for assets in SystemLink?

To check calibration status for assets in SystemLink, run the command line interface to list assets with a specific calibration status filter, such as PAST_RECOMMENDED_DUE_DATE. This identifies systems needing immediate calibration checks.

What are the requirements to use the SystemLink CLI for automation?

Using the SystemLink CLI for automation requires a configured slcli client with authentication, Python 3.10 or higher, and network access to a SystemLink server. It supports advanced filtering and JSON outputs for integration pipelines.

How do I create and schedule work items in SystemLink via CLI?

You create and schedule work items in SystemLink via CLI by running the workitem create command with parameters for name, type, state, part-number, and workspace. You can then list work items using JSON format outputs for automation tracking.

Can I export SystemLink test results as JSON for external dashboards?

Yes, you can export SystemLink test results as JSON for external dashboards by querying the test monitor results with a specific take limit and applying the JSON format flag. This supports automation and external tool integration.

Does the SystemLink CLI support filtering connected systems?

The SystemLink CLI supports filtering connected systems by using the system list command with a state parameter set to CONNECTED. This allows operators to quickly monitor and identify active systems within their environment.