reorder: Skill for Claude Code

.agents/skills/local-dev/SKILL.md

local-dev is a skill for Claude Code, Codex from reorder-js/reorder. It costs 35 tokens per session (762 once invoked), scanned A, original, MIT.

A local-development guide for a reorder plugin connected to a Medusa online-store backend and subscription storefront. It describes syncing changed plugin code, starting both services, and checking that the backend is ready.

In plain words
What is it for?
Use it to sync plugin changes, start the Medusa backend and storefront as background tasks, and wait for the backend health check before testing.
Why use it?
It provides a repeatable way to bring the related local projects up together. It also avoids rebuilding the plugin when you only need to restart the services.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is reorder-js/reorder's own configuration. It tells Claude Code and Codex how to work on reorder itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything reorder configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/tomaszkasperski/Desktop/Development/medusa-reorder/my-medusa-store.

Reuse

Borrowing it

Nothing to install: this file belongs to reorder-js/reorder. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/reorder-js/reorder/main/.agents/skills/local-dev/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/reorder-js/reorder

Made for: Claude Code, Codex.

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 local-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/reorder-js/reorder/local-dev/github.svg)](https://agentmods.dev/skills/reorder-js/reorder/local-dev)
Your own site
<a href="https://agentmods.dev/skills/reorder-js/reorder/local-dev"><img src="https://agentmods.dev/badge/skills/reorder-js/reorder/local-dev/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 local-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/reorder-js/reorder/local-dev"><img src="https://agentmods.dev/badge/skills/reorder-js/reorder/local-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 762 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.00035 $0.00762
Opus 5.5 $0.00014 $0.00305
Sonnet 5.5 $0.00007 $0.00152
Haiku 4.5 $0.00003 $0.00076

Measured 2mo ago against content hash ea31fd41e616, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

local-dev scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

until curl -s -f http://localhost:9000/health >/dev/null 2>&1; do sleep 1; done
.agents/skills/local-dev/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Local development in Medusa backend & Storefront

This skill describes how to sync local changes in the reorder plugin with an external Medusa backend and run both the Medusa backend and the subscription storefront as separate Antigravity background tasks.

Workflow Execution Steps for Agents

When requested to run /local-dev or start the local development environment:

Step 1: Initial Sync or Plugin Rebuild (Only when code changed)

If you modified the reorder plugin code and need to rebuild and push changes to yalc:

./.agents/scripts/sync-local-env.sh

[!NOTE] If the user simply requests to restart or start the backend/storefront without code changes, do NOT run sync-local-env.sh. Skip directly to Step 2 and restart the process.

Step 2: Start Medusa Backend (Background Task)

Start the Medusa backend dev server using run_command with IsDaemon: true and working directory set to the backend directory (Cwd: /Users/tomaszkasperski/Desktop/Development/medusa-reorder/my-medusa-store):

yarn dev

Step 3: Wait for Backend Readiness

Poll http://localhost:9000/health until the backend responds with HTTP 200 OK before starting the storefront:

until curl -s -f http://localhost:9000/health >/dev/null 2>&1; do sleep 1; done

Step 4: Start Subscription Storefront (Background Task)

Start the storefront dev server as a separate background daemon task using run_command with IsDaemon: true and working directory set to the storefront directory (Cwd: /Users/tomaszkasperski/Desktop/Development/medusa-reorder/subscription-storefront):

yarn dev

Step 5: Report URLs to the User

Always immediately provide the clickable URLs:

  • Medusa Backend API: http://localhost:9000
  • Medusa Admin Dashboard: http://localhost:9000/app
  • Subscription Storefront: http://localhost:8000

Manual Setup & Storefront Connection Requirements

1. Medusa Backend

  1. Install yalc globally if needed: npm i yalc -g
  2. In the Medusa backend's package.json, declare the plugin dependency using yalc:
    "@reorderjs/reorder": "file:.yalc/@reorderjs/reorder"
    
  3. Ensure the plugin is registered in medusa-config.ts.
  4. Ensure PostgreSQL database is running and DATABASE_URL is configured in .env.
  5. Ensure CORS settings in backend .env allow storefront access (STORE_CORS=http://localhost:8000,...).

Read the full file on GitHub · 69 lines

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. 2mo ago First seen · 69 lines · 35 tokens per session scan A ea31fd41e616

Subscribe to this mod's changes

local-dev is a skill published in the GitHub repository reorder-js/reorder (59 stars, last pushed 12d ago), licensed MIT. It adds 35 tokens to every session and 762 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

local-dev compared with skills from other repositories

local-dev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
local-devreorder-js/reorderSkill5912d agoMITA35Claude Code, Codex
saleor-paper-storefrontsaleor/storefrontSkill1.6kyesterdaynoneA68Claude Code, Codex
paper-migrationssaleor/storefrontSkill1.6kyesterdaynoneA55Claude Code, Codex
storefront-best-practicesmedusajs/medusa-agent-skillsSkill2352d agononeA117Claude Code
learning-medusamedusajs/medusa-agent-skillsSkill2352d agononeA65Claude Code
building-admin-dashboard-customizationsmedusajs/medusa-agent-skillsSkill2352d agononeA68Claude Code
building-with-medusamedusajs/medusa-agent-skillsSkill2352d agononeA70Claude Code