creating-agents-in-medusa

creating-agents-in-medusa is a skill for Claude Code from medusajs/medusa-agent-skills. It costs 109 tokens per session (1,620 once invoked), scanned A, original, no licence file.

Guidance for building an internal AI agent in a Medusa project. The agent is used by merchants and store operators in an admin area, not by shoppers.

In plain words
What is it for?
Use it to build an admin-facing agent with tools, a system prompt, streamed API responses, and an admin chat interface.
Why use it?
It explains how the agent’s data, actions, responses, streaming interface, and admin chat fit together.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the medusa-dev plugin — 7 skills shipped together

Good fit Use it to build an admin-facing agent with tools, a system prompt, streamed API responses, and an admin chat interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/medusajs/medusa-agent-skills/creating-internal-agents
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add medusajs/medusa-agent-skills --skill creating-internal-agents
Clone the repo
git clone --depth 1 https://github.com/medusajs/medusa-agent-skills

Made for: Claude Code.

Or install medusa-dev, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for creating-agents-in-medusa

README.md
[![agentmods](https://agentmods.dev/badge/skills/medusajs/medusa-agent-skills/creating-internal-agents/github.svg)](https://agentmods.dev/skills/medusajs/medusa-agent-skills/creating-internal-agents)
Your own site
<a href="https://agentmods.dev/skills/medusajs/medusa-agent-skills/creating-internal-agents"><img src="https://agentmods.dev/badge/skills/medusajs/medusa-agent-skills/creating-internal-agents/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for creating-agents-in-medusa

Your own site · 80×15
<a href="https://agentmods.dev/skills/medusajs/medusa-agent-skills/creating-internal-agents"><img src="https://agentmods.dev/badge/skills/medusajs/medusa-agent-skills/creating-internal-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,620 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00109 $0.01620
Opus 5 $0.00055 $0.00810
Sonnet 5 $0.00022 $0.00324
Haiku 4.5 $0.00011 $0.00162

Measured 12d ago against content hash 55634762f35b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

creating-agents-in-medusa scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/medusa-dev/skills/creating-internal-agents/SKILL.md · 122 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 122 lines · 109 tokens per session scan A 55634762f35b

Subscribe to this mod's changes

creating-agents-in-medusa is a skill published in the GitHub repository medusajs/medusa-agent-skills (215 stars, last pushed 2d ago), with no licence file. It adds 109 tokens to every session and 1,620 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

integrate-ai-gateway

Integrate applications with AI Gateway using @macpaw/ai-sdk. Use for NestJS, Next.js, Vercel AI SDK, raw fetch migrations, video generation, MacPaw AI, Setapp AI, createAIGatewayProvider, createGatewayFetch, createVideoClient, and AI Gateway auth/error wiring.

MacPaw/ai-sdk-typescript · 71 tokens

fsl-business

Write and verify FSL business-layer specs for consultants, business owners, and PMs explicitly working on business-flow policy. Use for As-Is/To-Be process flows, actors, case stages, business policies, controls, KPIs, goals, and reform/control-preservation checks. Do not use for system requirements, UI/API/data-model…

ymm-oss/fsl · 98 tokens

ai-api-gateway-migration-guide-ai-hive

A migration guide for teams comparing an AI API gateway, which connects software to multiple AI providers, with AI-HIVE.

wubin1836/ai-hive-agent-skills · 161 tokens

ai-hive-api-token-hub

An enterprise gateway for connecting applications to multiple AI model providers through one interface. It covers tenant separation, API keys, usage limits, routing, task tracking, billing, logs and failover.

wubin1836/ai-hive-agent-skills · 132 tokens

cloning-websites-to-weaverse

Use when recreating a reference website or brand hub in this Hydrogen plus Weaverse repo, especially when deciding whether to reuse sections, add global styles, update theme schema, or resolve conflicts between the live site and project brand guidelines.

Weaverse/shopify-hydrogen-skills · 54 tokens

acp-checkout-rest

Implement the ACP REST checkout API — create, update, retrieve, complete, and cancel checkout sessions. Use when building merchant-side checkout endpoints, handling the checkout session state machine, or integrating with AI agent checkout flows.

OrcaQubits/agentic-commerce-skills-plugins · 49 tokens