Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

magento-scripts

Skill by scandipwa

Runs Magento, PHP, Composer, and SQL commands inside Docker containers for create-magento-app projects. Built for developers and agents working with @scandipwa/magento-scripts.

  • Score 70
  • 39 stars
  • OSL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install magento-scripts

Built from the published package, never by AI.

git clone --depth 1 https://github.com/scandipwa/create-magento-app /tmp/create-magento-app && mkdir -p ~/.claude/skills && cp -r /tmp/create-magento-app/skills/magento-scripts ~/.claude/skills/magento-scripts

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install magento-scripts in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill teaches an AI assistant how to work in a create-magento-app (magento-scripts) project. PHP, Composer, MariaDB, and the search engine run inside Docker containers, so the assistant is told never to run them on the host. Every command goes through the project's package manager, using the exec package script to reach the right container.

The skill covers the package manager argument rules for npm, pnpm, yarn, and bun. It lists the start, stop, status, exec, import-db, and logs scripts and their main flags. It also explains how to run bin/magento and Composer, query the mariadb container, and handle stale generated code. It is aimed at developers and agents who run Magento commands in this setup.

Written from the project's SKILL.md and checked against it.

What it can do

  • execRuns a command in a container, such as bin/magento or composer, with the right container and user.
  • startBuilds and starts the Docker stack, with options to skip setup or set a port.
  • stopStops all containers in the stack.
  • statusShows container and database status, with an optional verbose mode for image and volume sizes.
  • import-dbImports a SQL dump into MariaDB, optionally from a remote host over SSH.
  • logsStreams logs from a named container, with options for tail length and follow mode.
  • Database queriesRuns SQL through the mariadb client inside the mariadb container.
  • Dependency and cache guidanceAdvises when to run composer install, setup:upgrade, or rm -rf generated, and when to avoid reindex or cache flush.

What you need

  • Docker
  • Node.js with npm, pnpm, yarn, or bun
  • A create-magento-app (magento-scripts) project
  • A non-root user

Try asking

  • Run bin/magento cache:flush in my Magento project
  • Import the database dump at ./dumps/store.sql into MariaDB
  • Show the status of my magento-scripts Docker stack and its containers

Good to know

  • Commands cannot run as root; magento-scripts exits with code 1.
  • start and import-db can take 10 minutes or more, so long timeouts are needed.
  • Do not run start before or between import-db attempts; the two fight over ports.
  • Avoid ! in SQL passed to exec; use <> instead of !=.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/magento-scripts/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to magento-scripts

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

magento-scripts: common questions

Can I run php or composer directly on my host machine?

The source says no. PHP, Composer, and bin/magento must run through the exec script inside Docker, because the host may have the wrong PHP or none at all.

Why do npm commands need an extra double dash?

On npm, a -- is needed before the arguments so npm passes them to the script. The source warns that adding a second -- breaks the command.

Should I run indexer:reindex after a change?

The source says to run it only when the user explicitly asks, because a full reindex is slow and dev mode reindexes on save.

How do I install magento-scripts?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is magento-scripts free?

The code is published under the OSL-3.0 licence. The service it connects to may have its own pricing.

Is magento-scripts safe to use?

It scores 70 of 100. Grades: maintenance A, licence B, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to magento-scripts?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

magento-scripts Install

Add to stack

Loading.