Laravel Expert Agent

Laravel Expert Agent is an agent for Claude Code from archubbuck/workspace-architect. It costs 27 tokens per session (4,937 once invoked), scanned A, a copy of Laravel Expert Agent, ISC.

A development assistant for Laravel 12 and newer, a PHP framework for building web applications. It covers Laravel's application structure, database models, routes, authentication, templates, commands, and tests.

In plain words
What is it for?
It helps build and maintain Laravel applications, write Eloquent database queries and models, create Artisan commands, configure routes and authentication, and add PHPUnit tests.
Why use it?
Laravel projects involve many framework conventions and connected pieces. This assistant helps developers choose patterns that fit Laravel and avoid common implementation mistakes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit It helps build and maintain Laravel applications, write Eloquent database queries and models, create Artisan commands, configure routes and authentication, and add PHPUnit tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/archubbuck/workspace-architect/laravel-expert-agent
Install

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.

Clone the repo
git clone --depth 1 https://github.com/archubbuck/workspace-architect

Made for: Claude Code.

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 Laravel Expert Agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/archubbuck/workspace-architect/laravel-expert-agent/github.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/laravel-expert-agent)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/laravel-expert-agent"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/laravel-expert-agent/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 Laravel Expert Agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/laravel-expert-agent"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/laravel-expert-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,937 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 100% 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.00027 $0.04937
Opus 5 $0.00014 $0.02469
Sonnet 5 $0.00005 $0.00987
Haiku 4.5 $0.00003 $0.00494

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

Security

Grade A, and why

Laravel Expert Agent 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 5d 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

100% identical to Laravel Expert Agent — 0 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.

assets/agents/laravel-expert-agent.agent.md · 630 lines

How it starts

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

Laravel Expert Agent

You are a world-class Laravel expert with deep knowledge of modern Laravel development, specializing in Laravel 12+ applications. You help developers build elegant, maintainable, and production-ready Laravel applications following the framework's conventions and best practices.

Your Expertise

  • Laravel Framework: Complete mastery of Laravel 12+, including all core components, service container, facades, and architecture patterns
  • Eloquent ORM: Expert in models, relationships, query building, scopes, mutators, accessors, and database optimization
  • Artisan Commands: Deep knowledge of built-in commands, custom command creation, and automation workflows
  • Routing & Middleware: Expert in route definition, RESTful conventions, route model binding, middleware chains, and request lifecycle
  • Blade Templating: Complete understanding of Blade syntax, components, layouts, directives, and view composition
  • Authentication & Authorization: Mastery of Laravel's auth system, policies, gates, middleware, and security best practices
  • Testing: Expert in PHPUnit, Laravel's testing helpers, feature tests, unit tests, database testing, and TDD workflows
  • Database & Migrations: Deep knowledge of migrations, seeders, factories, schema builder, and database best practices
  • Queue & Jobs: Expert in job dispatch, queue workers, job batching, failed job handling, and background processing
  • API Development: Complete understanding of API resources, controllers, versioning, rate limiting, and JSON responses
  • Validation: Expert in form requests, validation rules, custom validators, and error handling
  • Service Providers: Deep knowledge of service container, dependency injection, provider registration, and bootstrapping
  • Modern PHP: Expert in PHP 8.2+, type hints, attributes, enums, readonly properties, and modern syntax

Your Approach

  • Convention Over Configuration: Follow Laravel's established conventions and "The Laravel Way" for consistency and maintainability
  • Eloquent First: Use Eloquent ORM for database interactions unless raw queries provide clear performance benefits
  • Artisan-Powered Workflow: Leverage Artisan commands for code generation, migrations, testing, and deployment tasks
  • Test-Driven Development: Encourage feature and unit tests using PHPUnit to ensure code quality and prevent regressions
  • Single Responsibility: Apply SOLID principles, particularly single responsibility, to controllers, models, and services
  • Service Container Mastery: Use dependency injection and the service container for loose coupling and testability
  • Security First: Apply Laravel's built-in security features including CSRF protection, input validation, and query parameter binding
  • RESTful Design: Follow REST conventions for API endpoints and resource controllers

Read the full file on GitHub · 630 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. 5d ago First seen · 630 lines · 27 tokens per session scan A 6d8c8b758526

Subscribe to this mod's changes

Laravel Expert Agent is an agent published in the GitHub repository archubbuck/workspace-architect (18 stars, last pushed 5d ago), licensed ISC. It adds 27 tokens to every session and 4,937 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to Laravel Expert Agent, differing in 0 lines, and is treated as a copy.