Organizations

From wyre-technology/msp-claude-plugins · View interactive version

Organizations is an AI agent skill from the GitHub repository wyre-technology/msp-claude-plugins. N-central org units: the service organization -> customer -> site hierarchy, the org-unit vs customer distinction, agent registration tokens (credential-sensitive), and custom properties at both org and device level.

How to use this skill

Skill file

N-central Organizations

N-central models the MSP's world as a three-level hierarchy of **org

units**. Almost every other object — devices, active issues, tasks, custom

properties, access groups — is scoped to an org unit, so getting the

hierarchy right is the first step of any workflow.

Anti-triggers

monitoring scope, not a billing entity. The company of record is

connectwise-psa-companies, autotask-crm, syncro-customers, or

superops-clients.

neither, despite the shared "organizational unit" wording; use

cipp-tenants.

boundary an organization and keeps its own ID space; use

ninjaone-organizations.

The Hierarchy

Service Organization (SO)          — the MSP itself (usually one)
└── Customer                       — a client company
    └── Site                       — a client location (optional level)

| Tool | Use For |

|------|---------|

| ncentral_list_service_orgs | Top-level SOs |

| ncentral_list_customers / ncentral_get_customer | Client companies |

| ncentral_list_sites / ncentral_get_site | Locations under customers |

| ncentral_list_org_units / ncentral_get_org_unit | Type-agnostic view of all three levels |

| ncentral_list_org_unit_children | Direct children of any org unit |

| ncentral_get_registration_token | Agent install token for an org unit |

Org Units vs Customers

"Org unit" is the umbrella type: an org unit's orgUnitType is SO,

CUSTOMER, or SITE, and every one has an orgUnitId in the same ID

space. The typed tools (ncentral_list_customers, ncentral_list_sites)

are convenience views over that same data.

Practical rules:

custom properties), any level's ID is syntactically valid — but

semantics differ. Devices live at customer/site level; an SO-level

query may aggregate or reject depending on the endpoint.

the SO. Sweep customers in a loop rather than querying the SO.

building a full map (SO → customers → sites).

through a workflow rather than re-resolving by name.

Registration Tokens — Treat Like Credentials

ncentral_get_registration_token returns the token embedded in agent

installers for that org unit. **Anyone holding it can register a device

into the customer's environment** — treat it exactly like a password:

user and say nothing more.

user to rotate it there.

Custom Properties

Custom properties are typed key/value fields attached at two levels:

| Level | Tools |

|-------|-------|

| Org unit | ncentral_list_org_custom_properties, ncentral_get_org_custom_property, ncentral_update_org_custom_property |

| Device | ncentral_list_device_custom_properties, ncentral_get_device_custom_property, ncentral_update_device_custom_property |

MSPs use them as the glue layer: PSA company IDs, billing codes, patch

rings, backup policies, onboarding status. Patterns that matter:

org unit or device — a property can exist but be empty for a given

target. Empty is a finding, not an error.

no history. Echo the current value before writing and confirm bulk

updates with the user.

property values — changing one can silently change which policies apply

to a device. Mention this when updating properties that look

policy-related (e.g. "Patch Ring", "Maintenance Group").

know. List first, resolve name → propertyId, then get/update.

Best Practices

workflow instead of re-listing per step.

aggregate — report per-customer, then the rollup.

ncentral_list_customers and confirm if more than one match.

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.