Medusa Catalog logo

Medusa Catalog

Organization
OrcaQubits
medusa-catalog

Manage the Medusa v2 catalog — products, variants, options, collections, categories, tags, and product metadata. Use when working with Medusa product data.

Overview

PublisherOrcaQubits
Repositoryagentic-commerce-skills-plugins
Skill namemedusa-catalog
Stars
40
Forks
17
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by OrcaQubits on GitHub. Read the source before you install it.

Installation

Install the Medusa Catalog AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/medusa-commerce/skills/medusa-catalog
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins.git /tmp/agentic-commerce-skills-plugins
mkdir -p .claude/skills
cp -r /tmp/agentic-commerce-skills-plugins/medusa-commerce/skills/medusa-catalog .claude/skills/medusa-catalog
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Medusa Catalog in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Medusa Catalog on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Medusa Catalog is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Medusa v2 Catalog Management

Before writing code

Fetch live docs:

  1. Web-search site:docs.medusajs.com product module for product data model and service methods
  2. Web-search site:docs.medusajs.com product variant option for variant/option relationships
  3. Web-search site:docs.medusajs.com collection category for collection and category APIs
  4. Fetch https://docs.medusajs.com/resources/references/product and review the IProductModuleService interface
  5. Web-search medusajs v2 product workflow 2026 for latest product-related workflow steps
  6. Web-search site:docs.medusajs.com admin product api route for Admin API product endpoints

Product Model

Hierarchy

EntityRelationshipKey Fields
ProductRoottitle, subtitle, description, handle, status
OptionsProduct → manySize, Color, Material (with OptionValues)
VariantsProduct → manysku, barcode, ean, upc, hs_code
PricesVariant → many (link)Via Pricing Module link
InventoryVariant → one (link)Via Inventory Module link
ImagesProduct → manyurl, rank
TagsProduct ↔ manymany-to-many labels
CategoriesProduct ↔ manyNested tree (parent_category_id)
CollectionsProduct ↔ manyCurated groupings
MetadataOn all entitiesJSONB key-value store

Product Status

StatusMeaning
draftNot visible to customers
proposedSubmitted for review
publishedVisible on storefront
rejectedReview rejected

Module Architecture

Medusa v2 uses a modular architecture where the Product Module is decoupled from pricing, inventory, and other concerns through Module Links.

Product Module ──link──> Pricing Module
Product Module ──link──> Inventory Module
Product Module ──link──> Sales Channel Module

Fetch live docs for exact link definitions and how to query across linked modules using remoteQuery.

Variants and Options

Relationship Model

EntityCardinalityDescription
Product -> Optionone-to-manyEach product defines its own options
Option -> OptionValueone-to-manyEach option has enumerated values
Variant -> OptionValuemany-to-manyEach variant selects one value per option
Variant -> Priceone-to-manyVia Pricing Module link
Variant -> InventoryItemone-to-oneVia Inventory Module link

Key Service Methods

OperationMethodNotes
Create productproductModuleService.createProducts()Accepts variants, options inline
Update productproductModuleService.updateProducts()Partial updates supported
Delete productproductModuleService.deleteProducts()Cascades to variants
List productsproductModuleService.listProducts()Supports filters, pagination
Retrieve productproductModuleService.retrieveProduct()By ID with relations
Create variantsproductModuleService.createProductVariants()Link option values
Update variantsproductModuleService.updateProductVariants()Partial update

Fetch live docs for the exact method signatures and filter/select/relations options available on each service method.

Minimal Workflow Pattern

ts
// Skeleton: create product with variants
// Fetch live docs for createProductsWorkflow input shape
import { createProductsWorkflow } from "@medusajs/medusa/core-flows"

const { result } = await createProductsWorkflow(container)
  .run({ input: { products: [/* ... */] } })
// Fetch live docs for CreateProductsWorkflowInput

Collections

Logical groupings of products:

  • Each collection has a title, handle, and optional metadata
  • Products can belong to multiple collections
  • Managed via productModuleService.createProductCollections()
  • Useful for seasonal promotions, curated sets, and storefront navigation

Categories

Hierarchical classification with nesting:

FieldDescription
nameDisplay name
handleURL-friendly slug
parent_category_idReference to parent (null for root)
rankSort order among siblings
is_activeVisibility flag
is_internalHidden from storefront

Categories form a tree structure — unlimited depth. Use category_children relation to traverse.

Fetch live docs for category service methods and nested tree query patterns.

Tags

Simple labels for filtering and organization:

  • Stored as separate entities with a value field
  • Many-to-many relationship with products
  • Queryable via listProductTags()
  • Use for lightweight cross-cutting classification (e.g., "new-arrival", "sale")

Product Metadata

JSONB key-value store on every product entity:

  • Available on Product, ProductVariant, ProductOption, and ProductCollection
  • Schema-free — store arbitrary JSON values
  • Queryable via filters: metadata: { key: value }
  • Use for custom attributes that don't warrant a dedicated field

Admin API Routes

Route PatternMethodPurpose
/admin/productsGETList products with filters
/admin/productsPOSTCreate product
/admin/products/:idGETRetrieve single product
/admin/products/:idPOSTUpdate product
/admin/products/:idDELETEDelete product
/admin/collectionsGET/POSTManage collections
/admin/categoriesGET/POSTManage categories

Fetch live docs for query parameters, request body shapes, and pagination patterns on each route.

Store API Routes

Route PatternMethodPurpose
/store/productsGETList published products
/store/products/:idGETRetrieve single product
/store/collectionsGETList collections
/store/categoriesGETList active categories

Store routes respect sales channel and publishable API key scoping.

Best Practices

Data Modeling

  • Use Options + Variants for product variations — do not duplicate products
  • Leverage categories for hierarchical navigation and collections for curated groupings
  • Store custom attributes in metadata rather than creating custom modules for simple data

Performance

  • Use select and relations parameters to fetch only needed fields
  • Use remoteQuery for cross-module queries (product + pricing + inventory)
  • Paginate large catalogs — never fetch all products without limit and offset

Workflows

  • Use createProductsWorkflow and updateProductsWorkflow for transactional operations
  • Workflows handle cross-module orchestration (linking prices, inventory) automatically
  • Custom product logic should extend workflows via hooks, not bypass them

Module Isolation

  • Never import Product Module internals directly — use the service interface
  • Cross-module data access must go through links and remoteQuery
  • Respect module boundaries when building custom features

Fetch the Medusa v2 product module documentation and workflow references for exact service method signatures, workflow inputs, and remote query patterns before implementing.

Frequently asked questions

What does the Medusa Catalog AI skill do?

Manage the Medusa v2 catalog — products, variants, options, collections, categories, tags, and product metadata. Use when working with Medusa product data.

Why use Medusa Catalog on TypingMind?

Because you install it once and use it with any model. Medusa Catalog is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Medusa Catalog in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/medusa-commerce/skills/medusa-catalog. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Medusa Catalog?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Medusa Catalog?

As many as you like. As long as a model supports skills, you can use Medusa Catalog with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Medusa Catalog AI skill free?

Yes. It is published on GitHub by OrcaQubits under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇