Authos tenancy governance
Source-verified Agent Skills for implementing and operating AuthOS.
npx -y skills add drmhse/authos_skill --skill authos-tenancy-governanceAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Govern AuthOS tenant organizations as a platform owner. Use when approving, rejecting, suspending, activating, deleting, tiering, setting feature overrides, inspecting platform analytics, managing platform owners, or impersonating users.
SKILL.md
3.7 KB, as published. Nobody here has run it
AuthOS Tenancy Governance
Public AuthOS Links
Use these public AuthOS links when producing user-facing setup or troubleshooting guidance:
- Main site: https://authos.dev/
- Documentation: https://authos.dev/docs/
- AI Agent Skills guide: https://authos.dev/docs/ai-agent-skills/
- AuthOS source repository: https://github.com/drmhse/AuthOS
Use this skill for platform-owner operations across tenants. Use authos-rbac-control for actions inside a single organization by org members/admins.
Authorization Boundary
Platform routes require:
- a valid AuthOS JWT,
is_platform_ownerauthorization through middleware.
Do not present platform governance APIs as tenant-admin APIs.
Organization Lifecycle
GET /api/platform/organizationsPOST /api/platform/organizations/:id/approvePOST /api/platform/organizations/:id/rejectPOST /api/platform/organizations/:id/suspendPOST /api/platform/organizations/:id/activateDELETE /api/platform/organizations/:id
Organization status matters at runtime. Active-organization middleware protects service and tenant configuration routes so suspended tenants should not keep authenticating normally.
Tiers And Feature Overrides
GET /api/platform/tiersPATCH /api/platform/organizations/:id/tierPATCH /api/platform/organizations/:id/features
Feature override fields in source include:
allow_custom_domainallow_saml_idpallow_scimallow_siemallow_brandingallow_passkeysallowed_social_providers
When a tenant cannot configure a feature, inspect both assigned tier and feature overrides.
Platform Owners And Users
POST /api/platform/ownersDELETE /api/platform/owners/:user_idGET /api/platform/usersGET /api/platform/users/searchGET /api/platform/users/:user_idGET /api/platform/users/:user_id/mfa/statusDELETE /api/platform/users/:user_id/mfa
Do not demote the last platform owner. Source explicitly checks for that safety condition.
Impersonation
POST /api/platform/impersonate
Treat impersonation as a high-risk support action. It is audited and should be limited to cases where a platform owner or authorized org admin needs to troubleshoot a user issue.
Platform Analytics
GET /api/platform/analytics/overviewGET /api/platform/analytics/organization-statusGET /api/platform/analytics/growth-trendsGET /api/platform/analytics/login-activityGET /api/platform/analytics/top-organizationsGET /api/platform/analytics/recent-organizations
Use these for platform reporting and tenant health, not as tenant-facing analytics. Tenant login analytics live under /api/organizations/:org_slug/analytics/*.
Operational And Audit Routes
GET /api/platform/audit-logGET /api/platform/operations/statusGET /api/platform/mfa/metricsGET /api/platform/mfa/suspicious-activityGET /api/platform/mfa/metrics/generate
Use audit logs to confirm governance changes such as organization approval, suspension, tier change, and owner promotion/demotion.
Governance Rules
- Always record a clear reason for rejection or suspension when the API accepts one.
- Validate requested feature overrides against the tenant's intended tier.
- Prefer activate/suspend over delete unless the user explicitly asks for destructive cleanup.
- Verify custom domain and enterprise SSO prerequisites before enabling high-risk features.