Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Manages fleets of 10-100 HubSpot client portals with per-portal credential isolation, audit logs, bulk onboarding, and token rotation.
43% 83%+39 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 10 of 23 without it.
Our compliance team requires every API log entry to identify the system component performing the API call. What exact string identifier should be passed in the `actor` field of our audit log records?
Sets the actor field in the audit record to hubspot-agency-router/2.0.0.
3 of 3 safety checks passed
Operate a fleet of HubSpot portals for agency clients without cross-portal contamination, attribution loss, or onboarding bottlenecks. This is not a getting-started guide — it is the infrastructure your agency runs on day one with client one and scales to client one hundred without revisiting.
The six production failures this skill prevents:
HUBSPOT_ACCESS_TOKEN env var causes API writes intended for Client A to silently land in Client B's CRM. The HubSpot API does not reject the call; it accepts it. Data corruption is silent and may not be discovered for days. Per-portal credential isolation — enforced in code, not convention — is the only fix.pass for local developmentjq installed for CLI validation stepspython3 with standard library only for bulk onboarding script (no external deps required)clientSlug,portalToken,portalId)Build in this order. Each section closes one production failure mode.
The credential store is a JSON map of clientSlug → token. It lives in your secret manager, never in source code or environment variables. The key insight is that clientSlug is the primary key — every operation starts by selecting a slug, which deterministically selects the token. There is no ambient credential and no fallback to a global env var.
// Shape of the credential store (stored in secret manager, NOT in git or env vars)
interface PortalCredentialStore {
version: number; // increment on every write; used for drift detection
portals: Record<string, PortalCredential>;
}
interface PortalCredential {
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.