laravel-auditor: Skill for Claude Code

.agents/skills/package-scaffold/SKILL.md

package-scaffold is a skill for Claude Code, Codex from MrPunyapal/laravel-auditor. It costs 49 tokens per session (793 once invoked), scanned A, a copy of package-scaffold, MIT.

A guide for adding features to Laravel packages and connecting them through the package's service provider, Laravel's central setup class.

In plain words
What is it for?
Use it when adding package commands, database migrations, routes, configuration, views, translations, assets, middleware, tests, documentation, or release changes.
Why use it?
It helps keep files, names, settings, and publishing options in the expected places as the package grows.

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 MrPunyapal/laravel-auditor's own configuration. It tells Claude Code and Codex how to work on laravel-auditor 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 laravel-auditor configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MrPunyapal/laravel-auditor. 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/MrPunyapal/laravel-auditor/main/.agents/skills/package-scaffold/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/MrPunyapal/laravel-auditor

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 package-scaffold

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mrpunyapal/laravel-auditor/package-scaffold"><img src="https://agentmods.dev/badge/skills/mrpunyapal/laravel-auditor/package-scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 793 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod 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.00049 $0.00793
Opus 5 $0.00024 $0.00396
Sonnet 5 $0.00010 $0.00159
Haiku 4.5 $0.00005 $0.00079

Measured 11d ago against content hash 09c6f9098fbf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

package-scaffold scanned grade A with 0 findings 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 11d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to package-scaffold — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/package-scaffold/SKILL.md · 64 lines

How it starts

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

Package Scaffold

Primary Goal

Add package features in the right place and wire them through the service provider using explicit Laravel APIs, keeping package names, namespaces, config keys, and publish tags consistent.

Workflow

  1. Inspect the existing package structure, sibling examples, README setup notes, and the current service provider before creating files.
  2. Identify whether the request touches commands, migrations, routes, config, views, translations, assets, middleware, tests, README/contributing docs, compatibility, or release flow.
  3. Create the capability files under Laravel-native package paths and use the configured package names, namespaces, publish tags, URLs, and badges consistently.
  4. Wire the capability through the service provider using the patterns in Provider wiring below.
  5. Use package-testing for coverage, update README or contributing documentation when user-facing behavior changes, use package-compatibility for matrix-sensitive changes, and use package-release for release tasks.
  6. Add only the files needed for the requested capability and validate with the narrowest relevant command before broader checks.

Provider Wiring

  1. Keep provider wiring in register() or boot() unless extracting a method makes a real repeated concern clearer.
  2. Put container bindings and mergeConfigFrom calls in register() when the host app must be able to override configuration.
  3. Put resource loading in boot-time methods with Laravel-native APIs such as loadRoutesFrom, loadViewsFrom, and loadTranslationsFrom.
  4. Guard console-only publishing and command registration with runningInConsole() before calling publishes, publishesMigrations, or commands.
  5. Name publish tags with the laravel-auditor-* convention so consumers can target individual resource groups.
  6. Add tests for the observable provider behavior: merged config, loaded routes, publish tags, or command registration.

Provider wiring anti-patterns:

  • Loading host app state too early during provider registration.
  • Calling env() outside config files; use config values after mergeConfigFrom instead.
  • Registering web-only concerns unconditionally when the package can run in console contexts.
  • Replacing explicit provider methods with spatie/laravel-package-tools by default.

Read the full file on GitHub · 64 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. 11d ago First seen · 64 lines · 49 tokens per session scan A 09c6f9098fbf

Subscribe to this mod's changes

package-scaffold is a skill published in the GitHub repository MrPunyapal/laravel-auditor (47 stars, last pushed 5d ago), licensed MIT. It adds 49 tokens to every session and 793 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to package-scaffold, differing in 6 lines, and is treated as a copy.

Related

Other skills, from other repositories

laravel-best-practices

Laravel 13 conventions and best practices. Use when creating controllers, models, migrations, validation, services, or structuring Laravel applications. Triggers on tasks involving Laravel architecture, Eloquent, database, API development, or PHP patterns.

AsyrafHussin/agent-skills · 54 tokens

pw-module-development

Use when building, structuring, or refactoring native backend modules for ProcessWire using PHP 8.4 and strict typing.

trk/processwire-boost · 30 tokens

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens

owl-admin-devtools-generator

A development guide for Owl Admin, a Laravel-based administration system, covering its code generator, API templates, relationships, and visual pages.

slowlyo/owl-admin · 82 tokens

llamaindex-development

Expert guidance for LlamaIndex development including RAG applications, vector stores, document processing, query engines, and building production AI applications.

Mindrally/skills · 32 tokens

craftcms

Craft CMS 5 plugin and module development — extending Craft with PHP. Covers elements, element queries, services, models, records, controllers, migrations, queue jobs, console commands, field types, native fields, events, behaviors, Twig extensions, widgets, filesystems, permissions, project config, GraphQL, testing…

michtio/craftcms-claude-skills · 327 tokens