Skip to content
Development
Skill

/assets

HaloPSA asset/CMDB data model: asset (configuration item) fields, device types and statuses, links to clients, sites, users, tickets, and contracts, plus parent-child asset relationships. Covers the Asset API surface, hardware lifecycle workflows, RMM auto-sync and device

From plugin
msp-claude-plugins
45200 skills146 agents200 commands4 MCP
Install
$ npx -y skills add wyre-technology/msp-claude-plugins --skill assets --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/assets

Context preview

The summary Claude sees to decide when to auto-load this skill.

HaloPSA asset/CMDB data model: asset (configuration item) fields, device types and statuses, links to clients, sites, users, tickets, and contracts, plus parent-child asset relationships. Covers the Asset API surface, hardware lifecycle workflows, RMM auto-sync and device

SKILL.md

assets.SKILL.md
name: "HaloPSA Assets"
description: >
  HaloPSA asset/CMDB data model: asset (configuration item) fields, device types
  and statuses, links to clients, sites, users, tickets, and contracts, plus
  parent-child asset relationships. Covers the Asset API surface, hardware
  lifecycle workflows, RMM auto-sync and device matching, and validation errors.
when_to_use: >-
  When tracking devices, managing configuration items, hardware lifecycle, and asset
  relationships in HaloPSA. Use when: halopsa asset, halo asset, configuration item halopsa,
  ci halopsa, device management halo, hardware tracking halopsa, halopsa cmdb, asset
  lifecycle, halo inventory, or halopsa device.

HaloPSA Asset Management

Overview

Assets (also called Configuration Items or CIs) in HaloPSA represent managed devices, software, and other trackable items. Effective asset management is crucial for MSPs to track what's deployed at client sites, manage hardware lifecycle, and link service tickets to affected equipment.

Anti-triggers

A HaloPSA asset is the PSA's **record** of a device — what you believe is deployed, and what it is billed and contracted under. It is not the device's live state.

  • **Whether the machine is online, patched, or healthy right now** — that

is the RMM's answer, not the PSA's; use `datto-rmm-devices` or the equivalent device skill for your RMM. The two routinely disagree, and the PSA is the one that goes stale.

  • **Warranty dates and hardware lifecycle reporting** — use

`scalepad-lifecycle-manager`; Halo's warranty fields are a local copy that drifts.

  • **Documentation about the asset** — runbooks, diagrams, and

configuration notes are `hudu-assets` or `itglue-configurations`.

  • **What the asset costs or is covered by** — contract coverage and

billing are `halopsa-contracts`; the client and site it belongs to are `halopsa-clients`.

Key Concepts

An asset is always owned by a client and optionally placed at a site, assigned to a user, and covered by a contract:

| Link field | Points to | Notes | |------------|-----------|-------| | `client_id` | Client | Required | | `site_id` | Site | Physical location | | `user_id` | User (contact) | Assigned end user | | `contract_id` | Contract | Billing/coverage | | `parent_id` | Asset | Parent-child (e.g. host and its VMs) |

Most-used asset fields: `devicename` (required), `serialnumber`, `assettag`, `macaddress`, `ipaddress`, `manufacturer`, `model`, `operatingsystem`, `devicetype_id`, `status_id`, `purchasedate`, `purchaseprice`, `warrantyexpires`, `lastauditdate`, `inactive`.

`devicetype_id` and `status_id` are **configurable per instance** — the shipped IDs (1 Workstation, 2 Server, ... / 1 Active, 2 Spare, 3 In Repair, 4 Retired, 5 On Order, 6 Lost/Stolen) are defaults only. Query `/api/AssetType` and `/api/AssetStatus` for the actual values before hard-coding any ID.

See [references/fields.md](references/fields.md) for the complete field reference plus the default asset type and status tables.

API Patterns

  • **Create and update use the same call.** `POST /api/Asset` creates when no `id`

is present and updates when `id` is supplied. There is no `PUT`/`PATCH`.

  • **The body is always a JSON array**, even for one record — this is also how you

bulk-update many assets in a single request.

  • **Updates are partial** — send only `id` plus the fields being changed.
  • **Date range filters** use `<field>_before` / `<field>_after` suffixes, e.g.

`warrantyexpires_before=2024-06-30&warrantyexpires_after=2024-01-01`.

  • **Related data is opt-in**: `GET /api/Asset/5001?includedetails=true`.
  • **Aggregates** use `groupby` plus `count=true`.

See [references/api.md](references/api.md) for full request/response examples covering create, search, update, bulk update, ticket/asset linking, and reports.

RMM Integration

HaloPSA integrates with RMM tools to auto-sync assets.

Auto-Sync Fields

When integrated with an RMM, these fields typically auto-populate and will be overwritten on the next sync — do not hand-edit them:

  • `devicename`
  • `operatingsystem`
  • `operatingsystemversion`
  • `ipaddress`
  • `macaddress`
  • `lastauditdate`

Matching Assets

RMM sync must resolve to an existing asset or it will create duplicates. Match in this order of confidence: RMM device ID (`ncentral_device_id`, `datto_device_id`, `connectwise_device_id`) → serial number → hostname scoped to the client. Hostname alone is not unique across clients.

See [references/examples.md](references/examples.md) for a `matchOrCreateAsset` implementation.

Common Workflows

Hardware Procurement

1. **Create asset as "On Order"** (`status_id` for On Order, plus `client_id`) 2. **Receive and configure**

  • Update with serial, asset tag
  • Install software
  • Update status to "Spare"

3. **Deploy to user**

  • Assign `user_id` and `site_id`
  • Update status to "Active"
  • Create deployment ticket

Hardware Refresh

1. **Identify aging assets**

   GET /api/Asset?purchasedate_before=2020-01-01&inactive=false

2. **Generate refresh report**

  • List assets over X years old
  • Calculate replacement cost

3. **Plan replacement**

  • Order new equipment
  • Schedule deployment tickets
  • Update old assets to "Retired"

Warranty Management

1. **Find expiring warranties**

   GET /api/Asset?warrantyexpires_before=2024-06-30&warrantyexpires_after=2024-01-01

2. **Generate renewal quotes** 3. **Update warranty dates after renewal**

Asset Audit

Compare RMM inventory against PSA records and flag assets missing warranty dates, missing serials, or running an out-of-support OS. See [references/examples.md](references/examples.md) for an `auditClientAssets` implementation and an asset-value-by-client roll-up.

Error Handling

| Code | Message | Resolution | |------|---------|------------| | 400 | devicename required | Asset must have a name | | 400 | client_id required | Asset must be link

Read more
Ships withmsp-claude-plugins

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

Get the whole plugin

Other skills on msp-claude-plugins.