Skip to content
Development
Command

/search-devices

Search for devices across NinjaOne organizations

From plugin
msp-claude-plugins
52200 skills146 agents200 commands4 MCP
$ npx -y skills add wyre-ai/msp-claude-plugins --agent claude-code

Command definition

search-devices.md
description: Search for devices across NinjaOne organizations
argument-hint: "<query>"
arguments: [query]

Search for devices in NinjaOne matching the query "$ARGUMENTS.query".

Arguments

  • `query` (required) — Search query (hostname, IP, or organization name)

Instructions

1. If the query looks like an organization name, first search organizations to get the org ID 2. Query devices with appropriate filters based on the search criteria 3. Present results in a table showing:

  • Device name/hostname
  • Organization
  • Device type (Workstation/Server)
  • Status (Online/Offline)
  • IP Address
  • Last contact time

API Endpoints

  • List organizations: `GET /api/v2/organizations`
  • List devices by org: Filter devices by organizationId
  • Get device: `GET /api/v2/device/{id}`

Example Output

| Device | Organization | Type | Status | IP | Last Contact | |--------|--------------|------|--------|-----|--------------| | SERVER-01 | Acme Corp | Windows Server | Online | 192.168.1.10 | 2 min ago | | WS-JOHN | Acme Corp | Workstation | Online | 192.168.1.25 | 5 min ago |

If no devices match, suggest alternative search terms or confirm the query.

@wyre-technology
Ships withmsp-claude-plugins

One command to supercharge Claude Code for MSP workflows. Then restart Claude Code. That's it. Documentation: mcp.wyre.ai

52200 skills146 agents4 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
52
Star history of wyre-technology/msp-claude-plugins on GitHub, a chart by star-history.com

Other commands on msp-claude-plugins.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command