About new-user
A task skill for creating an admin user in Medusa from an email address and password. It runs the Medusa user command and reports the result, including errors and suggested next steps.
Key features
- 01Takes an email and password
- 02Runs the Medusa user command
- 03Reports creation status and errors
- 04Provides suggested next steps
Use cases
- 01Creating a Medusa admin account
- 02Setting up an admin before dashboard login
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ medusajs/ medusa-agent-skills --skill new-userAfter installing, type/new-userin Claude Code to confirm it loaded.
Details
From the project READMECreate 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 [email protected] 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)
Comments
Markdown supported