Agent skill

Moox Audit

by mooxphp in mooxphp/moox

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

MITAuto-check passedBackend & APIs

Install Moox Audit

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

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

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

At a glance

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

  • The user says moox/audit
  • SKILL.md covers When to use, Integration workflow (checklist), Quick reference and Tests, plus 1 more section
  • Calls php and composer
  • Names a package to audit (e.g

What it does

Moox Audit is an agent skill from mooxphp/moox. Integrates moox/audit activity logging into Moox consumer packages (config, ServiceProvider, Filament, hooks, tests). Use when the user says moox/audit, moox-audit, protokolieren, auditieren, activity log, or names a package to audit (e.g. moox/tag, tag package).

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

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

When your agent uses it

  • The user says moox/audit
  • Names a package to audit (e.g

Example prompts

  • “Use the moox-audit skill to integrate moox/audit activity logging into Moox consumer packages (config, ServiceProvider, Filament, hooks, tests)”
  • “/moox-audit”

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
    • composer

    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 Audit loads about 1.1k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 295 words of instructions outside code blocks.

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

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). 295 words, ~1,105 tokens.

Download SKILL.mdSave it as .claude/skills/moox-audit/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
moox-audit
description
Integrates moox/audit activity logging into Moox consumer packages (config, ServiceProvider, Filament, hooks, tests). Use when the user says moox/audit, moox-audit, protokolieren, auditieren, activity log, or names a package to audit (e.g. moox/tag, tag package).

Moox Audit — package integration

Config-driven activity logging via moox/audit. Consumer packages declare an audit block in package config and register it in the ServiceProvider. No model traits and no Eloquent changes on models for standard CRUD tracking.

Canonical package docs: packages/audit/README.md

Gold-standard consumer: packages/category (config/category.php, CategoryServiceProvider).

When to use

User intentAction
"Nutze skill moox/audit und protokolieren moox/tag"Follow integration.md for packages/tag
"Audit für {package}" / "protokolieren {package}"Same workflow for packages/{package}
Install audit in an appcomposer require moox/audit + php artisan mooxaudit:install (see package README)
App-only model trackingPublished config/audit.php models section (no package registry)
Custom lifecycle eventHook or MooxActivityLogger::log() — see decisions.md

Integration workflow (checklist)

Copy and track:

- [ ] 1. Inspect target package (models, translations, resource, delete side-effects)
- [ ] 2. Add `audit` block to `packages/{pkg}/config/{pkg}.php`
- [ ] 3. Register in `{Pkg}ServiceProvider::packageBooted()` via AuditPackageRegistry
- [ ] 4. Wire Activity tab: `use InteractsWithAuditResourceRelations` on the Resource (or merge `AuditResourceRelationRegistry` in `getRelations()`)
- [ ] 5. Decide hooks (pivot detach on delete?) — decisions.md
- [ ] 6. Add/adjust Pest tests when behavior is new or non-trivial
- [ ] 7. Run package tests + `composer lint` / `composer analyse` if touched from monorepo root

Do not add moox/audit to the consumer package's composer.json require. Use class_exists(AuditPackageRegistry::class) so the package works without audit installed.

Quick reference

ServiceProvider registration
php
use Moox\Audit\Support\AuditPackageRegistry;

// in packageBooted():
if (
    class_exists(AuditPackageRegistry::class)
    && config('audit.enabled', true)
    && config('{package_key}.audit.enabled', true)
) {
    AuditPackageRegistry::register('{package_key}', config('{package_key}.audit', []));
}

{package_key} matches the config file name (category, tag, …).

Config shape

Three sections under {package}.audit:

SectionPurpose
modelsPer-model tracking; empty Model::class => [] uses package defaults
hooksCustom events (e.g. pivot detach on deleting)
filamentActivity tab on resources; empty Resource::class => [] derives owner_model

Presets (draft_main, draft_translation) live in config/audit.php. See decisions.md for attribute selection and hooks.

Filament

AuditBootstrap only registers ActivitiesRelationManager in AuditResourceRelationRegistry. The Resource must pull it in:

php
use Moox\Core\Traits\InteractsWithAuditResourceRelations;

class ExampleResource extends BaseResource
{
    use InteractsWithAuditResourceRelations;
}

If the Resource already overrides getRelations(), merge the registry there (do not leave an empty override — it blocks the trait). Prefer the core trait over the audit-package trait so consumers stay class_exists-safe without requiring moox/audit in Composer.

Hide the tab without stopping logging: {Resource}::class => ['enabled' => false] under audit.filament (package or app config). Global/package audit.enabled turns logging and tabs off together.

Tests

After integrating audit into a consumer package, add tests when you introduce hooks or non-default config. Run:

bash
php vendor/bin/pest --configuration=packages/{pkg}/phpunit.xml packages/{pkg}/tests

Audit package tests (reference):

bash
php vendor/bin/pest --configuration=packages/audit/phpunit.xml packages/audit/tests/Unit

Additional resources

© 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 2 other files in .cursor/skills/moox-audit of mooxphp/moox.

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

Open the folder on GitHubat commit 7dcda8c

Compare with similar skills

Moox Audit 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 Audit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Moox Audit this skillmooxphp/moox156—~1.1kAutomated 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
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Fortify Developmentcoollabsio/coolify63k4 repos~1.9kAutomated safety check: PassMIT

Similar skills

  • 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
  • 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
  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed
  • Laravel Best Practices

    anonaddy/anonaddy

    Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code.

    4.9k GitHub starsUsed in 13 repos~1.2k 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 Tree

    mooxphp/moox

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

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

Categories

Questions about Moox Audit

What does Moox Audit do?

Integrates moox/audit activity logging into Moox consumer packages (config, ServiceProvider, Filament, hooks, tests). Moox Audit is an agent skill from mooxphp/moox. Integrates moox/audit activity logging into Moox consumer packages (config, ServiceProvider, Filament, hooks, tests).

When should I use Moox Audit?

Moox Audit fits situations like: the user says moox/audit; names a package to audit (e.g.

How do I install Moox Audit in Claude Code?

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

How do I install Moox Audit in Codex?

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

Can I use Moox Audit 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-audit -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-audit, .gemini/skills/moox-audit, .github/skills/moox-audit and .opencode/skills/moox-audit in your project.

What does Moox Audit need to run?

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

Does Moox Audit 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 Audit 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 Audit use?

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

About 1.1k tokens (SKILL.md is roughly 4.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 Audit?

Skills that share tags, products or a category with Moox Audit: Spa Auth Development (gdarko/laravel-vue-starter, 145 stars), New Component (developermithu/tallcraftui, 168 stars), MCP Development (coollabsio/coolify, 63k stars) and Configuring Horizon (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 Audit?

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.