Agent skill

Moox Tree

by mooxphp in mooxphp/moox

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

MITAuto-check passedBackend & APIs

Install Moox Tree

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

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

GitHub CLI
$ gh skill install mooxphp/moox moox-tree --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/.cursor/skills/moox-tree .claude/skills/moox-tree && 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
moox-tree
GitHub stars
156
Token cost
~1.6k tokens
SKILL.md length
563 words
Files
4
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 7 steps: Check scope — Does the task touch… → Install package & assets — Follow… → Gather context — Consumer package,… → …
  • Explicitly invokes moox-tree skill
  • SKILL.md covers Invocation, Required workflow, Decision branches and Fixed rules (no question needed), plus 2 more sections
  • Calls php

What it does

Moox Tree is an agent skill from mooxphp/moox. Integrates moox/tree into Moox consumer packages (installation, Filament assets, TreeIndexConfiguration, forwardFromResource, TreeIndexListRecords, RendersAsTreeIndexInspector, Filament plugin). Use only when the user explicitly invokes moox-tree skill or asks to integrate moox/tree into a resource.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `decisions.md`, `installation.md` and `integration.md`).

It sits in Backend & APIs, covering 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

  • Explicitly invokes moox-tree skill
  • Asks to integrate moox/tree into a resource

Example prompts

  • “Use the moox-tree skill to integrate moox/tree into Moox consumer packages (installation, Filament assets, TreeIndexConfiguration…”
  • “/moox-tree”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Check scope — Does the task touch packages/tree/src/**? → Stop; point the user to the package rule.
  2. Install package & assets — Follow installation.md: Composer dependency, service provider, php artisan filament:assets. Skip only if…
  3. Gather context — Consumer package, model, existing table resource, migration/columns.
  4. Decision tree — For each branch in decisions.md: if context does not make the choice obvious, use AskQuestion. Do not guess.
  5. Toolbar (mandatory before implementation) — Clarify search, filters, and language switcher in one AskQuestion with three questions…
  6. Implement integration — Apply the chosen path from integration.md.
  7. Verify — Run the checklist in integration.md and the install items in installation.md.

What it can do on your machine

Read from SKILL.md and the folder at commit 7dcda8c. 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

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

  • Network

    No URLs in SKILL.md.

    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

Moox Tree loads about 1.6k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 563 words of instructions outside code blocks.

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

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 7dcda8c, republished under its MIT licence (© mooxphp). 563 words, ~1,593 tokens.

Download SKILL.mdSave it as .claude/skills/moox-tree/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
moox-tree
description
Integrates moox/tree into Moox consumer packages (installation, Filament assets, TreeIndexConfiguration, forwardFromResource, TreeIndexListRecords, RendersAsTreeIndexInspector, Filament plugin). Use only when the user explicitly invokes moox-tree skill or asks to integrate moox/tree into a resource.
disable-model-invocation
true

moox/tree Integration Skill

Skill for wiring moox/tree into consumer packages (e.g. category, menu-builder).

Out of scope (integration workflow): implementing changes inside packages/tree/** — use .cursor/rules/moox-tree-package.mdc. After such package work, sync this skill via .cursor/rules/moox-package-skill-sync.mdc (registry entry tree → moox-tree).

Invocation

Load only when the user explicitly requests it (e.g. “use moox-tree skill”, /moox-tree).

Required workflow

  1. Check scope — Does the task touch packages/tree/src/**? → Stop; point the user to the package rule.
  2. Install package & assets — Follow installation.md: Composer dependency, service provider, php artisan filament:assets. Skip only if already verified in this project.
  3. Gather context — Consumer package, model, existing table resource, migration/columns.
  4. Decision tree — For each branch in decisions.md: if context does not make the choice obvious, use AskQuestion. Do not guess.
  5. Toolbar (mandatory before implementation) — Clarify search, filters, and language switcher in one AskQuestion with three questions (decisions.md §6) unless the user already specified. Only then create resource/config.
  6. Implement integration — Apply the chosen path from integration.md.
  7. Verify — Run the checklist in integration.md and the install items in installation.md.

Decision branches

#TopicWhen to askDetails
1Tree modeModel/migration uncleardecisions.md §1
2Resource patternGreenfield vs. existing resourcedecisions.md §2
3List bindingNo table() or special casedecisions.md §3
4InspectorNo edit page / label+parent onlydecisions.md §4
5Missing capabilityNot solvable via configdecisions.md §5
6ToolbarAlways before treeIndex() — search/filter/language not given by userdecisions.md §6

AskQuestion rule: One question per branch with 2 options (yes/no or 2–3 sensible variants). Implement only after answers. If multiple branches are open, use one AskQuestion with multiple questions (max. 2–3 at once) or ask sequentially.

Toolbar block (default before every new tree resource): One AskQuestion with exactly these three questions — skip only if the user explicitly stated otherwise (e.g. “without language switcher”):

  1. Search in the toolbar?
  2. Filters/tabs from the list resource?
  3. Language switcher?
Show full SKILL.md (252 more words)Show less

Fixed rules (no question needed)

  • No tree mechanics in the consumer — no custom Livewire for tree CRUD, no move/reorder actions, no copied Alpine stores.
  • Single Livewire host — tree + inspector run on TreeIndexListRecords only. There is no separate ResourceTreeIndex component and no Livewire aliases in TreeServiceProvider.
  • No model extensions only for tree — no getTreeLabel(), no TreeNodeContract; allowed: columns, Kalnoy NodeTrait for nested set, domain accessors → then labelColumnQueryable(false).
  • Standalone inspector page (TreeInspectorXxx): $resource = base resource (form source), not XxxTreeResource. Inline inspector on the list page resolves the form from forwardFromResource() (typically the tree resource class).
  • List page extends TreeIndexListRecords — config is registered in mount().
  • Inline form actions — TreeInlineFormResourceAdapter wraps the forwarded resource automatically; consumers do not add ProvidesInlineResourceFormActions or similar traits.
  • Forwarded resource must not be final — the adapter generates a subclass at runtime.
  • Panel: register tree resource via Filament plugin.
  • Domain filters only via config closures (modifyQuery, applySearchUsing, applyLanguageUsing) or forwardFromResource() — do not push category/tenant queries into the package.
  • No consumer CSS/JS for tree UI — layout and Alpine store come from moox/tree via Filament assets; see installation.md.

References in the repo

WhatPath
Installation & assetsinstallation.md
Gold standard Mooxpackages/category/src/Resources/CategoryTreeResource.php
List page + tabspackages/category/src/Resources/CategoryResource/Pages/TreeListCategories.php
Inspectorpackages/category/src/Resources/CategoryResource/Pages/TreeInspectorCategory.php
Pluginpackages/category/src/Plugins/CategoryTreePlugin.php
Package docspackages/tree/README.md
Integration rule.cursor/rules/moox-tree-integration.mdc
Package rule.cursor/rules/moox-tree-package.mdc
List page + tree traitspackages/tree/src/Filament/Pages/TreeIndexListRecords.php
Inline inspector formInteractsWithTreeResourceInspectorForm, TreeInlineFormResourceAdapter
Persist create/updatePersistTreeResourceCreateAction, PersistTreeResourceUpdateAction, TreeResourcePageExecutor
Test host (Pest)packages/tree/tests/Support/TestTreeIndexHost.php
Service providerpackages/tree/src/TreeServiceProvider.php
Tree viewpackages/tree/resources/views/filament/pages/tree-index-content.blade.php
Tree CSSpackages/tree/resources/css/tree.css
Alpine storepackages/tree/resources/views/scripts/alpine-tree-store.blade.php

After integration

Run the checklist in integration.md. Add tests only if the user requests them.

© 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

SKILL.md and 3 other files in .cursor/skills/moox-tree of mooxphp/moox.

  • SKILL.md
  • decisions.md
  • installation.md
  • integration.md

Open the folder on GitHubat commit 7dcda8c

Compare with similar skills

Moox Tree 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.

Moox Tree compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Moox Tree this skillmooxphp/moox156—~1.6kAutomated 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/tallcraftui168—~581Automated safety check: PassMIT
MCP Developmentcoollabsio/coolify63k1 repos~949Automated safety check: PassMIT
Vue Component Developmentgdarko/laravel-vue-starter145—~1.1kAutomated safety check: PassMIT

Similar skills

  • 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).

    168 GitHub stars~581 tokensUpdated 4 days ago
    Backend & APIsAuto-check passed
  • 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
  • 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
  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed

More from mooxphp/moox

  • Add Moox Package

    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.

    156 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Moox Audit

    mooxphp/moox

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

    156 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Moox Tree

What does Moox Tree do?

Integrates moox/tree into Moox consumer packages (installation, Filament assets, TreeIndexConfiguration, forwardFromResource, TreeIndexListRecords, RendersAsTreeIndexInspector, Filament plugin). Moox Tree is an agent skill from mooxphp/moox. Integrates moox/tree into Moox consumer packages (installation, Filament assets, TreeIndexConfiguration, forwardFromResource, TreeIndexListRecords, RendersAsTreeIndexInspector, Filament plugin).

When should I use Moox Tree?

Moox Tree fits situations like: explicitly invokes moox-tree skill; asks to integrate moox/tree into a resource.

How do I install Moox Tree in Claude Code?

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

How do I install Moox Tree in Codex?

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

Can I use Moox Tree 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 moox-tree -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/moox-tree, .gemini/skills/moox-tree, .github/skills/moox-tree and .opencode/skills/moox-tree in your project.

What does Moox Tree need to run?

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

Does Moox Tree access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Moox Tree 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 Moox Tree use?

Moox Tree 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 Moox Tree use?

About 1.6k tokens (SKILL.md is roughly 6.4k 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 Moox Tree?

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

Who maintains Moox Tree?

mooxphp (a GitHub organization) maintains it in mooxphp/moox, which has 156 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 6, 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.