new-user
Create an admin user in Medusa
How do I install this agent skill?
npx skills add https://github.com/medusajs/medusa-agent-skills --skill new-userIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill facilitates the creation of a Medusa admin user via the command line but is susceptible to command injection because user-supplied arguments are directly interpolated into a shell command without sanitization.
- Socketpass
No alerts
- Snykfail
Risk: HIGH · No issues
- Runlayerwarn
1/1 file flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
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)
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/medusajs/medusa-agent-skills/new-user">View new-user on skillZs</a>