mentor-wizard-webapp: Agent for Claude Code

.claude/agents/laravel-refactoring-expert.md

laravel-refactoring-expert is an agent for Claude Code from Mentor-Wizard/mentor-wizard-webapp. It costs 50 tokens per session (855 once invoked), scanned A, original, no licence file.

A Laravel code-quality specialist for improving existing PHP applications without adding new features or writing tests. Laravel is a PHP web framework.

In plain words
What is it for?
Use it to refactor complex Laravel code, fix N+1 queries (many unnecessary database queries caused by loading related records one by one), split large classes, and improve the application structure.
Why use it?
It helps reduce tangled code, repeated database queries, oversized classes, and other design problems that make an application harder to change.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is Mentor-Wizard/mentor-wizard-webapp's own configuration. It tells Claude Code how to work on mentor-wizard-webapp 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 mentor-wizard-webapp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Mentor-Wizard/mentor-wizard-webapp. 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/Mentor-Wizard/mentor-wizard-webapp/develop/.claude/agents/laravel-refactoring-expert.md
Clone the repo
git clone --depth 1 https://github.com/Mentor-Wizard/mentor-wizard-webapp

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-refactoring-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/mentor-wizard/mentor-wizard-webapp/laravel-refactoring-expert/github.svg)](https://agentmods.dev/agents/mentor-wizard/mentor-wizard-webapp/laravel-refactoring-expert)
Your own site
<a href="https://agentmods.dev/agents/mentor-wizard/mentor-wizard-webapp/laravel-refactoring-expert"><img src="https://agentmods.dev/badge/agents/mentor-wizard/mentor-wizard-webapp/laravel-refactoring-expert/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-refactoring-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/mentor-wizard/mentor-wizard-webapp/laravel-refactoring-expert"><img src="https://agentmods.dev/badge/agents/mentor-wizard/mentor-wizard-webapp/laravel-refactoring-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 855 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 unknown No closer match found 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.00050 $0.00855
Opus 5 $0.00025 $0.00428
Sonnet 5 $0.00010 $0.00171
Haiku 4.5 $0.00005 $0.00085

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

Security

Grade A, and why

laravel-refactoring-expert 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 4d 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.

.claude/agents/laravel-refactoring-expert.md · 85 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 4d ago First seen · 85 lines · 50 tokens per session scan A 0501dee516fe

Subscribe to this mod's changes

laravel-refactoring-expert is an agent published in the GitHub repository Mentor-Wizard/mentor-wizard-webapp (10 stars, last pushed yesterday), with no licence file. It adds 50 tokens to every session and 855 once invoked, about $0.0003 per session on Opus 5. 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-09-04.

Related

Other agents, from other repositories

php-expert

Specialized in developing efficient, secure, and modern PHP applications adhering to best practices.

andisab/swe-marketplace · 21 tokens

call-tracer

Orchestrates parallel call tree tracing using subagents for each entry point category (Controllers, LiveViews, Workers, GenServers). Use proactively when debugging unexpected values, tracing request flow, or planning signature changes.

oliver-kriska/claude-elixir-phoenix · 46 tokens

cqrs-generator

CQRS/ES component generator. Creates Commands, Queries, Event Stores, Snapshots, and Read Models for PHP 8.4. Called by acc:generate-ddd command and acc:architecture-generator coordinator.

dykyi-roman/awesome-claude-code · 47 tokens

backend-debugging-agent

Agent "backend-debugging-agent" from girijashankarj/cursor-handbook, covering debugging agent, invocation, scope, expertise and when to use.

girijashankarj/cursor-handbook · 0 tokens

debug-integracao

Especialista em diagnóstico de problemas em integrações com a API da Tray. Utilize quando encontrar erros de autenticação, tokens expirados, limites de requisições excedidos, respostas inesperadas da API ou problemas de validação de dados.

tray-tecnologia/tray-api-ai-plugin · 52 tokens

drupal-dev

Drupal 10 backend development specialist. Use when creating or modifying custom modules, services, entities, forms, plugins, routing, or hook implementations. Handles PHP backend development only — delegates theming to drupal-theme and visual testing to visual-test. Generates SEARCH/REPLACE blocks and delegates file…

trebormc/drupal-ai-agents · 65 tokens