User Management

Automate user account creation, updates, and deprovisioning in L2 directories.

1.4k|316|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/agent0ai/space-agent --skill user-management-agent0ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: User Management
Source: https://github.com/agent0ai/space-agent/tree/main/app/L0/_all/mod/_core/admin/ext/skills/user-management
Command: npx skills add https://github.com/agent0ai/space-agent --skill user-management-agent0ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you create, update, revoke, and remove user accounts safely by working with Space Agent’s canonical L2 user data and related group membership files.

Core Features & Use Cases

  • Create users by creating the required L2 folder structure and initializing user.yaml, meta/password.json, and meta/logins.json.
  • Update user details by editing user.yaml fields such as full_name using YAML parse/stringify helpers.
  • Reset credentials and revoke sessions by generating sealed password verifiers via password_generate and overwriting logins.json with {} to revoke current sessions.
  • Remove users and clean membership by deleting the user’s L2 directory and optionally removing the username from L1 group.yaml files (included_users and managing_users).

Quick Start

Use this skill to create a new user by providing a username, full name, and password, then write the canonical L2 directory, user.yaml, meta/password.json via password_generate, and meta/logins.json as {}.

Frequently Asked Questions about User Management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate user account creation using YAML config files?

Automate user account creation by generating the canonical L2/<username>/ directory structure and initializing user.yaml, meta/password.json, and meta/logins.json files. This safely establishes user data and authentication verifiers for onboarding.

What is the best way to revoke active sessions and reset passwords for a user?

Revoke active sessions and reset passwords by overwriting the user's meta/logins.json with {} and generating sealed credential verifiers through password_generate to update meta/password.json.

How do I update user profile fields like full_name in YAML config?

Update user profile fields by editing user.yaml within the L2 directory using YAML parse and stringify helpers to modify fields like full_name, avoiding manual JSON construction or direct text manipulation.

How do I remove a user and clean up their group membership in YAML files?

Remove a user and clean up group membership by deleting the L2/<username>/ directory and editing L1 group.yaml files to remove the username from included_users and managing_users lists for complete deprovisioning.

Do I need to manually construct authentication verifiers when onboarding users?

You do not need to manually construct authentication verifiers. Use the password_generate function to create sealed credentials for meta/password.json during the user onboarding process.

Why does editing YAML via parse and stringify prevent configuration errors during user management?

Editing YAML via parse and stringify prevents configuration errors by ensuring structural integrity during user management. It avoids manual JSON or verifier construction, safely applying updates to canonical L2 directories.