PluginBench
Skill
Official
Fail
Audit score 45

new-user

medusajs/medusa-agent-skills

Create a new admin user in Medusa with email and password.

What is new-user?

This skill creates a new admin user account in Medusa by accepting an email and password as arguments. Use it when you need to set up initial admin access or add new administrator accounts to your Medusa instance.

  • Accepts email and password arguments from the user
  • Executes the Medusa user creation command via npx
  • Confirms successful admin user creation with email address
  • Reports any errors that occur during user creation
  • Provides next steps for logging into the admin dashboard

How to install new-user

npx skills add https://github.com/medusajs/medusa-agent-skills --skill new-user
Prerequisites
  • Node.js and npm installed
  • Access to a Medusa project directory
  • Bash/terminal access
Claude Code
Cursor
Windsurf
Cline

How to use new-user

  1. 1.Install the skill using the provided npx command
  2. 2.Provide the email address as the first argument
  3. 3.Provide the password as the second argument
  4. 4.Execute the skill (e.g., `/medusa-dev:user admin@test.com supersecret`)
  5. 5.Review the confirmation message and any reported errors
  6. 6.Use the new credentials to log into the Medusa admin dashboard

Use cases

Good for
  • Setting up the first admin user for a new Medusa installation
  • Adding additional admin accounts to an existing Medusa instance
  • Creating test admin users for development and staging environments
  • Provisioning admin access when onboarding new team members
Who it's for
  • Medusa developers
  • System administrators
  • DevOps engineers managing Medusa deployments

new-user FAQ

What command does this skill execute?

It runs `npx medusa user -e <email> -p <password>` where email and password are replaced with the provided arguments.

Can I use this skill to create non-admin users?

This skill is designed specifically for creating admin users in Medusa. The documentation does not indicate support for other user types.

What should I do if user creation fails?

The skill will report any errors that occur. Check that the email format is valid, the password meets requirements, and your Medusa instance is properly configured.

How do I log in after creating the user?

Use the email and password you provided to log into the Medusa admin dashboard.

Full instructions (SKILL.md)

Source of truth, from medusajs/medusa-agent-skills.


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)