
new-user
β 195by medusajs Β· part of medusajs/medusa-agent-skills
Create a new admin user in Medusa with email and password. Accepts email and password as command arguments to set up admin credentials Executes npx medusa user command via Bash with -e and -p flags Reports creation success, user email, errors, and next steps for admin dashboard login
This is the playbook your agent receives when the skill activates β you don't need to read it to use the skill, but it's here to audit before installing.
name: new-user description: Create an admin user in Medusa argument-hint: <email> <password> allowed-tools: Bash(npx medusa user:*)
Create Admin User
Create a new admin user in Medusa with the specified email and password.
The user will provide two arguments:
- First argument: email address
- Second argument: password
For example: /medusa-dev:user admin@test.com supersecret
Use the Bash tool to execute the command npx medusa user -e <email> -p <password>, replacing <email> with the first argument and <password> with the second argument.
Report the results to the user, including:
- Confirmation that the admin user was created successfully
- The email address of the created user
- Any errors that occurred
- Next steps (e.g., logging in to the admin dashboard)
npx skills add https://github.com/medusajs/medusa-agent-skills --skill new-userRun this in your project β your agent picks the skill up automatically.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.