Creates a Medusa admin user from an email and password by running one CLI command.

CCM score
61 of 100
skills.sh installs
3.4K
GitHub stars
238
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Runs npx medusa user -e <email> -p <password> using the email and password passed as the two arguments
  • Takes exactly two positional inputs: an email address first, then a password second
  • Reports whether the admin user was created, the email used, and any errors that occurred
  • Suggests next steps such as logging in to the admin dashboard after a successful creation

Install

$ npx -y skills add medusajs/medusa-agent-skills --skill new-user -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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)

Details

Repository
github.com/medusajs/medusa-agent-skills
Categories
Backend & APIs, CLI & Terminal
First seen
Apr 16, 2026

More from medusajs/medusa-agent-skills

All 15

Similar to New User

More Backend & APIs