/liongard:environmentsfrom liongard
Manages Liongard environments — customer containers for agents, systems, detections, and metrics. Covers CRUD, environment groups, tiering, and PSA/RMM integration mappings.
Ships in liongard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Environments in Liongard represent customer organizations or sites being monitored. Each environment is the top-level container for all inspection activity, discovered systems, detections, and metrics associated with a particular client, so nearly every other Liongard query is scoped by EnvironmentID.
connectwise-psa-companies, autotask-crm, or
superops-clients.cipp-tenants.liongard-systems for
the assets, liongard-detections for the changes.Name is the only required field on create and must be unique across the instance. Status is Active or Inactive; Visible controls UI visibility; Tier is a free-form service-tier classification MSPs use for SLA and reporting segmentation. The counts (AgentCount, LaunchpointCount, SystemCount, DetectionCount) are returned only on the single-environment GET, not in list responses.
See references/fields.md for the complete field reference and the entity relationship map.
Environment Groups (v2) are a logical grouping layer over environments — by category, region, or service level — that helps MSPs manage large client counts. Group membership is independent of the environment record itself: deleting a group ungroups its environments rather than deleting them.
An environment can be mapped to external systems (PSA tools, RMM platforms) so Liongard data correlates with tickets and devices elsewhere. Mappings are read via a sub-resource on the environment.
The full endpoint catalog with request/response bodies lives in references/api.md. The non-obvious parts:
POST /api/v2/environments takes conditions: [{path, op, value}], an optional fields array for field selection, and orderBy: [{path, direction}]. Use v2 when you need server-side filtering or narrower payloads.Pagination is PascalCase and nested in v2 bodies — {"Pagination": {"Page": 1, "PageSize": 100}}. Response envelopes are PascalCase everywhere (Data, TotalRows, HasMoreRows, CurrentPage, TotalPages, PageSize); page until HasMoreRows is false.GET /api/v1/environments/count returns just {"Count": N} — use it for health checks and dashboard summaries instead of paging a full list./api/v2/environment-groups, while environment CRUD is v1 at /api/v1/environments.environmentId (camelCase query param) — /api/v1/launchpoints, /api/v1/systems, /api/v1/agents — except detections, which require POST /api/v1/detections with an EnvironmentID condition.See references/examples.md for worked bulk-update and full-export implementations.
Status to Inactive instead when you only need to stop service but retain history.See references/errors.md for the complete API and validation error tables.
What SKILL.md sets; muted values are Claude Code's defaults
When creating, updating, organizing, or decommissioning customer organizations in Liongard, or when scoping other queries to a particular environment. Use when: liongard environment, liongard customer, environment group, liongard site, liongard org, liongard environment management, create environment liongard, or liongard client.
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin liongard5 skills in this plugin
/detectionsLiongard DetectionsLiongard's change and anomaly detection layer: detections generated by inspection-to-inspection comparison, detection types/severities/status lifecycle, configurable alert rules and notification channels, custom metrics with JMESPath expressions and threshold evaluation, and the platform timeline audit trail.
/inspectionsLiongard InspectionsLiongard's inspection pipeline: inspector templates and their credential and agent requirements, launchpoint configuration that binds inspector + environment + agent + credentials + cron schedule, on-demand inspection runs and their status lifecycle, and the failure modes behind failed runs.
/overviewOther plugins' skills for the same job