Use when building an internal admin-facing AI agent in a Medusa project. These agents are operated by merchants and store operators — not customers. Covers data models, module service, agent runtime (tools, system prompt, streamText), streaming API routes (NDJSON), and admin UI chat extensions. Load for any internal agent type: store operations assistant, product audit, cohort analysis, customer service tooling for support staff, etc. Do NOT use for customer-facing agents (storefront chatbots, buyer-side assistants).
$npx -y skills add medusajs/medusa-agent-skills --skill creating-internal-agentsInstalls into the current project.
Run `npx skills use "https://github.com/medusajs/medusa-agent-skills" --skill "medusajs/medusa-agent-skills/creating-internal-agents"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/medusajs/medusa-agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/medusajs/medusa-agent-skills"` and select the relevant skills, then follow their instructions.