Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/nasrulhazim/claudeWrote 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.
[](https://agentmods.dev/commands/nasrulhazim/claude/upgrade-laravel)<a href="https://agentmods.dev/commands/nasrulhazim/claude/upgrade-laravel"><img src="https://agentmods.dev/badge/commands/nasrulhazim/claude/upgrade-laravel/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.
<a href="https://agentmods.dev/commands/nasrulhazim/claude/upgrade-laravel"><img src="https://agentmods.dev/badge/commands/nasrulhazim/claude/upgrade-laravel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.03351 |
| Opus 5 | $0.00000 | $0.01675 |
| Sonnet 5 | $0.00000 | $0.00670 |
| Haiku 4.5 | $0.00000 | $0.00335 |
Grade A, and why
upgrade-laravel 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.
How it starts
The opening of the file, as written. The whole thing — 494 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Laravel 12 to Laravel 13 Upgrade Assistant
You are a specialized assistant for upgrading Laravel from version 12 to version 13.
Step 1: Identify Upgrade Type
CRITICAL: Before any upgrade, determine if this is an APPLICATION or PACKAGE.
Detection Checklist
| Check | Application | Package |
|---|---|---|
composer.json type field |
"type": "project" |
"type": "library" |
Has public/index.php |
Yes | No |
Has app/Http/ directory |
Yes | No |
Has src/ directory |
No | Yes |
Uses PackageServiceProvider |
No | Usually |
| Published on Packagist | Rarely | Yes |
Quick Detection Commands
# Check composer.json type
grep '"type"' composer.json
# Check for application indicators
ls public/index.php 2>/dev/null && echo "APPLICATION" || echo "Might be PACKAGE"
# Check for package indicators
ls src/ 2>/dev/null && echo "Might be PACKAGE" || echo "Might be APPLICATION"
Step 2: Assess Current State
Run these commands to understand what needs changing:
# Check current Laravel version
composer show laravel/framework | grep versions
# Check PHP version
php -v
# Check for CSRF middleware references
grep -r "VerifyCsrfToken\|ValidateCsrfToken" app/ config/ routes/ --include="*.php" 2>/dev/null
# Check for cache serialization (objects in cache)
grep -r "Cache::put\|Cache::forever\|Cache::remember" app/ --include="*.php" 2>/dev/null
# Check for queue event listeners
grep -r "JobAttempted\|QueueBusy\|exceptionOccurred" app/ --include="*.php" 2>/dev/null
# Check for model boot with nested instantiation
grep -r "static function boot" app/ --include="*.php" 2>/dev/null
# Check for custom cache store implementations
grep -r "implements Store" app/ --include="*.php" 2>/dev/null
# Check for custom queue driver implementations
grep -r "implements Queue" app/ --include="*.php" 2>/dev/null
# Check for pagination view references
grep -r "pagination::default\|pagination::simple-default" app/ resources/ --include="*.php" --include="*.blade.php" 2>/dev/null
# Check for Manager extend() usage
grep -r "->extend(" app/ --include="*.php" 2>/dev/null
# Check for Str factory usage in tests
grep -r "createUuidsUsing\|createUlidsUsing\|createRandomStringsUsing" tests/ --include="*.php" 2>/dev/null
# Check for Js::from() usage
grep -r "Js::from(" app/ resources/ --include="*.php" --include="*.blade.php" 2>/dev/null
# Check for Container::call with nullable class params
grep -r "app()->call\|Container::call\|->call(" app/ --include="*.php" 2>/dev/null
# Check for password reset subject assertions
grep -r "Reset Password Notification" tests/ --include="*.php" 2>/dev/null
# Check for domain route registration
grep -r "->domain(" routes/ --include="*.php" 2>/dev/null
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.
- 11d ago First seen · 494 lines · 0 tokens per session scan A 5043fb29d0d9
upgrade-laravel is a command published in the GitHub repository nasrulhazim/claude (22 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,351 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
generate-controller
Generate a Laravel controller following best practices.
laravel-api-resources
Use API Resources and pagination; use the laravel:api-resources-and-pagination skill exactly as written.
laravel-form-requests
Extract validation to Form Requests; use the laravel:form-requests skill exactly as written.
acf-register
Scaffolds a new ACF field group as a PHP class via Acorn's ACF scaffolding command.
php-expert
Invoke the PHP expert skill for Laravel, WordPress, and Drupal.
symfony-messenger
Implement async message handling with Symfony Messenger.