Agent skill

Add Moox Package

by mooxphp in mooxphp/moox

Add, enable, or start using a package in a monorepo-consuming Laravel project — both Moox monorepo packages (moox/) and the project's own packages.

MITAuto-check passedDevelopment

Install Add Moox Package

skills CLI
$ npx skills add mooxphp/moox --skill add-moox-package -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mooxphp/moox add-moox-package --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mooxphp/moox.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/devlink/resources/boost/skills/add-moox-package .claude/skills/add-moox-package && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
add-moox-package
GitHub stars
157
Token cost
~1.9k tokens
SKILL.md length
770 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Add, enable, or start using a package in a monorepo-consuming Laravel project — both Moox monorepo packages (moox/) and the project's own packages.

  • The user wants to add a package
  • SKILL.md covers Step 0 — Identify which kind…, Case A — Add a Moox monorepo…, Case B — Add the project's own… and Important rules (apply to both…, plus 1 more section
  • Calls php, git and composer
  • Use the X package

What it does

Add Moox Package is an agent skill from mooxphp/moox. Add, enable, or start using a package in a monorepo-consuming Laravel project — both Moox monorepo packages (moox/) and the project's own packages. Use this skill whenever the user wants to "add a package", "enable moox/X", "use the X package", "pull in X from the monorepo", "neues Package hinzufügen", "Package aktivieren", or references wanting a new moox/ or own package available in the app. It performs the full, error-prone sequence (devlink config, composer.json path entry WITH the required versions option…

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Monorepo tooling and Backend development. It works with Laravel and Tailwind CSS. The repository describes itself as: The Moox Project - Packages for Filament and Laravel. The licence is MIT.

When your agent uses it

  • The user wants to add a package
  • Use the X package
  • Pull in X from the monorepo
  • Neues Package hinzufügen

Example prompts

  • “s own packages. Use this skill whenever the user wants to”
  • “enable moox/X”
  • “use the X package”
  • “/add-moox-package”

What it can do on your machine

Read from SKILL.md and the folder at commit b0f25e3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • php
    • git
    • composer

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Moox Package loads about 1.9k tokens when it runs. Until then it costs about 192 tokens; SKILL.md has 770 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~192
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mooxphp/moox at commit b0f25e3, republished under its MIT licence (© mooxphp). 770 words, ~1,881 tokens.

Download SKILL.mdSave it as .claude/skills/add-moox-package/SKILL.md (or your agent's skills folder).
name
add-moox-package
description
Add, enable, or start using a package in a monorepo-consuming Laravel project — both Moox monorepo packages (moox/*) and the project's own packages. Use this skill whenever the user wants to "add a package", "enable moox/X", "use the X package", "pull in X from the monorepo", "neues Package hinzufügen", "Package aktivieren", or references wanting a new moox/* or own package available in the app. It performs the full, error-prone sequence (devlink config, composer.json path entry WITH the required versions option, package list export, composer update, verification, commit) so the dev doesn't do it by hand and doesn't hit the dev-dev/route-cache pitfalls. Trigger this proactively even if the user only names a package and an intent to use it.

Add a package to this monorepo-consuming project

This project consumes moox/* packages directly from the monorepo (mooxphp/moox) via Composer path repositories — no Packagist, no release. This skill performs the complete sequence to add one, avoiding the pitfalls that otherwise cause CI/deploy failures.

This skill ships with the devlink package (resources/boost/skills/add-moox-package/) and is installed via Laravel Boost. Background and rationale live in the devlink docs. This skill is the actionable checklist.

Step 0 — Identify which kind of package

Two cases, different steps. Determine which before doing anything:

  • A Moox monorepo package (moox/<name>) — lives in the mooxphp/moox monorepo, fetched/symlinked into packages/. Managed via config/devlink.php. Most common case.
  • The project's own package (a local/committed package, e.g. acme/<name>) — committed in this repo under packages/, not from the monorepo.

If unclear, ask the user. Also confirm the exact package name and the folder name (they can differ, e.g. a package acme/components may live in folder components or acme-components).


Case A — Add a Moox monorepo package

Find the package's entry under 'packages' (the array key is the folder name, e.g. 'address'). Set it active:

php
'<folder>' => [
    'active' => true,        // was false
    'path' => $public_base_path.'/<folder>',
    'type' => 'public',
],

If the entry doesn't exist, the package may not be a public monorepo package — stop and confirm with the user.

bash
php artisan moox:devlink

This adds a path entry to composer.json — but only with symlink: true, without the versions option. The next step adds the missing piece.

A3. Add/fix the composer.json entries

This is the critical step. Two parts:

require — add the package on *:

json
"moox/<name>": "*"

repositories — the path entry MUST include versions forcing dev-main. moox:devlink does not add this, so add it manually:

json
{
    "type": "path",
    "url": "packages/<folder>",
    "options": {
        "symlink": true,
        "versions": { "moox/<name>": "dev-main" }
    }
}

Why versions is non-negotiable: without it, Composer derives the version from the surrounding project branch (dev) → dev-dev, but the monorepo packages require each other as dev-main, so resolution fails with ... requires moox/core dev-main ... do not match your constraint. The versions option forces dev-main. Add it for every moox path entry; if other entries are missing it, add it there too (start with moox/core).

A4. Regenerate the package list
bash
php artisan moox:devlink-export

This rewrites .github/moox-packages.txt from the active type: public packages in config/devlink.php. CI and the deploy script read this file. Confirm the new package now appears in it.

A5. Resolve
bash
composer update "moox/*"

Expect a clean resolution. If you see dev-dev errors, a versions option is missing (go back to A3). If you see "could not find package", the folder isn't in packages/ (was A2 run? is the folder name correct?).

A6. Verify the app still boots (catches deploy-time failures early)
bash
php artisan optimize:clear
php artisan optimize

optimize runs route:cache, view:cache, config:cache — the same steps the deploy runs. These surface problems invisible in normal local dev:

  • Unable to prepare route [...] Another route has already been assigned name [...] → duplicate route name (often in the new package); find with grep -rn "<name>" packages/ app/ routes/ and make one unique.
  • Unable to locate a class or view for component [...] → a referenced component/class from a package that isn't registered/installed.

Resolve any failure here before committing — otherwise the deploy fails at this step.

Show full SKILL.md (279 more words)Show less
A7. Commit

Commit exactly these (do not commit the packages/<folder> contents — moox packages are gitignored):

bash
git add composer.json composer.lock .github/moox-packages.txt config/devlink.php
git commit -m "Add moox/<name> package"

Suggested message style: feat: use moox/<name> or chore: add moox/<name> package.


Case B — Add the project's own package

Own packages (a local/committed package, e.g. acme/<name>) are committed in this repo, not fetched from the monorepo.

B1. .gitignore exception

packages/* is ignored; re-include the own package so it's versioned:

gitignore
!/packages/<folder>/
B2. composer.json entries

require:

json
"<vendor>/<name>": "*"

repositories — path entry with versions (use the branch the package actually develops on, usually dev-main):

json
{
    "type": "path",
    "url": "packages/<folder>",
    "options": {
        "symlink": true,
        "versions": { "<vendor>/<name>": "dev-main" }
    }
}

Confirm the package name from packages/<folder>/composer.json (grep '"name"' packages/<folder>/composer.json) — it can differ from the folder name. require uses the name, the path url uses the folder.

B3. Resolve, verify, commit
bash
composer update <vendor>/<name>
php artisan optimize:clear && php artisan optimize    # verify boot (see A6)
git add composer.json composer.lock .gitignore packages/<folder>
git commit -m "Add <vendor>/<name> package"

Note: for own packages you do commit the packages/<folder> contents (unlike moox packages).


Important rules (apply to both cases)

  • Never edit package code in packages/ or vendor/ on a server — it's overwritten on deploy. Moox package code is edited in the monorepo; own package code is edited in packages/<folder> locally and committed.
  • --no-dev on deploy: consumed packages must be in require, not require-dev. Only dev-only tooling (moox/devlink, moox/devtools) belongs in require-dev.
  • Folder name vs package name differ for some packages — keep require (name) and path/list (folder) straight.
  • Don't run moox:deploy in this project — it would strip the path setup.
  • If php artisan moox:devlink-export reports an empty or wrong list, check that the package is active: true AND type: public in config/devlink.php (bundles, private, local are intentionally excluded).

Done

After committing, the package is available locally, and on the next CI run / deploy the sparse checkout will fetch it (moox) or the committed files will be present (own). Remind the user to push so CI/deploy pick it up.

© mooxphp, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in packages/devlink/resources/boost/skills/add-moox-package of mooxphp/moox.

Open the folder on GitHubat commit b0f25e3

Compare with similar skills

Add Moox Package next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Add Moox Package compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Moox Package this skillmooxphp/moox157—~1.9kAutomated safety check: PassMIT
MCP Developmentcoollabsio/coolify63k1 repos~949Automated safety check: PassMIT
Medialibrary Developmentgdarko/laravel-vue-starter1453 repos~880Automated safety check: PassMIT
Spa Auth Developmentgdarko/laravel-vue-starter145—~668Automated safety check: NotesMIT
New Componentdevelopermithu/tallcraftui169—~581Automated safety check: PassMIT
Vue Component Developmentgdarko/laravel-vue-starter145—~1.1kAutomated safety check: PassMIT

Similar skills

  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed
  • Medialibrary Development

    gdarko/laravel-vue-starter

    Build and work with spatie/laravel-medialibrary features including associating files with Eloquent models, defining media collections and conversions, generating responsive images, and retrieving…

    145 GitHub starsUsed in 3 repos~880 tokens
    Backend & APIsAuto-check passed
  • Spa Auth Development

    gdarko/laravel-vue-starter

    Activate when working on SPA authentication flow, Sanctum cookie-based auth, Vue Router guards, auth store, login/register/password reset pages, or CORS/session configuration.

    145 GitHub stars~668 tokensUpdated 6 mo ago
    Backend & APIsAuto-check: notes
  • New Component

    developermithu/tallcraftui

    Add a new TallCraftUI Blade component end-to-end (class with inline template, color/size traits, config defaults, provider registration, docs reminder).

    169 GitHub stars~581 tokensUpdated 5 days ago
    Backend & APIsAuto-check passed
  • Vue Component Development

    gdarko/laravel-vue-starter

    Activate when creating or modifying Vue 3 components, pages, layouts, stores, or services in the frontend.

    145 GitHub stars~1.1k tokensUpdated 6 mo ago
    Frontend & DesignAuto-check passed
  • LangBot Core Development

    langbot-app/LangBot

    Covers developing the LangBot core backend and web UI: dev setup, repo layout, API auth types, adding endpoints, migrations and keeping the MCP server in step.

    18k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check: notes

More from mooxphp/moox

  • Moox Audit

    mooxphp/moox

    Integrates moox/audit activity logging into Moox consumer packages (config, ServiceProvider, Filament, hooks, tests).

    157 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Moox Tree

    mooxphp/moox

    Integrates moox/tree into Moox consumer packages (installation, Filament assets, TreeIndexConfiguration, forwardFromResource, TreeIndexListRecords, RendersAsTreeIndexInspector, Filament plugin).

    157 GitHub stars~1.6k tokensUpdated today
    Auto-check passed

Questions about Add Moox Package

What does Add Moox Package do?

Add, enable, or start using a package in a monorepo-consuming Laravel project — both Moox monorepo packages (moox/) and the project's own packages. Add Moox Package is an agent skill from mooxphp/moox. Add, enable, or start using a package in a monorepo-consuming Laravel project — both Moox monorepo packages (moox/) and the project's own packages.

When should I use Add Moox Package?

Add Moox Package fits situations like: the user wants to add a package; use the X package; pull in X from the monorepo; neues Package hinzufügen.

How do I install Add Moox Package in Claude Code?

Run `npx skills add mooxphp/moox --skill add-moox-package -a claude-code`. Or copy the skill folder (packages/devlink/resources/boost/skills/add-moox-package in mooxphp/moox) into .claude/skills/add-moox-package in your project. Claude Code loads it when a task matches its description.

How do I install Add Moox Package in Codex?

Run `npx skills add mooxphp/moox --skill add-moox-package -a codex`. Or copy the skill folder (packages/devlink/resources/boost/skills/add-moox-package in mooxphp/moox) into .agents/skills/add-moox-package in your project. Codex loads it when a task matches its description.

Can I use Add Moox Package in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mooxphp/moox --skill add-moox-package -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-moox-package, .gemini/skills/add-moox-package, .github/skills/add-moox-package and .opencode/skills/add-moox-package in your project.

What does Add Moox Package need to run?

Going by SKILL.md and its folder, Add Moox Package needs the command-line tools its instructions call (php, git and composer).

Does Add Moox Package access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Add Moox Package safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Add Moox Package use?

Add Moox Package is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Moox Package use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add Moox Package?

Skills that share tags, products or a category with Add Moox Package: MCP Development (coollabsio/coolify, 63k stars), Medialibrary Development (gdarko/laravel-vue-starter, 145 stars), Spa Auth Development (gdarko/laravel-vue-starter, 145 stars) and New Component (developermithu/tallcraftui, 169 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Moox Package?

mooxphp (a GitHub organization) maintains it in mooxphp/moox, which has 157 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 7, 2026.

Source: mooxphp/moox on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.