laravel-audit-performance

laravel-audit-performance is a skill for Claude Code, Codex from MrPunyapal/laravel-auditor. It costs 63 tokens per session (2,171 once invoked), scanned A, original, MIT.

A guide for finding worthwhile performance problems in Laravel applications, which are web applications built with the Laravel framework. It examines database queries, memory, file and network operations, background jobs, and page rendering, then requires each proposed fix to be checked against the application's actual behavior.

In plain words
What is it for?
Use it to investigate repeated queries, N+1 query problems, excessive data loading, unnecessary computation, slow input/output, queue work, or expensive rendering.
Why use it?
It avoids treating every suspicious code pattern as a real problem and focuses reports on changes that are both safe and likely to matter.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate repeated queries, N+1 query problems, excessive data loading, unnecessary computation, slow input/output, queue work, or expensive rendering.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mrpunyapal/laravel-auditor/laravel-audit-performance
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.

Any agent
npx skills add MrPunyapal/laravel-auditor --skill laravel-audit-performance
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 laravel-audit-performance

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mrpunyapal/laravel-auditor/laravel-audit-performance"><img src="https://agentmods.dev/badge/skills/mrpunyapal/laravel-auditor/laravel-audit-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,171 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.00063 $0.02171
Opus 5 $0.00032 $0.01086
Sonnet 5 $0.00013 $0.00434
Haiku 4.5 $0.00006 $0.00217

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

Security

Grade A, and why

laravel-audit-performance 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 13d 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.

resources/auditor/skills/laravel-audit-performance/SKILL.md · 184 lines

How it starts

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

Laravel Performance Audit

Audit how the application spends time, memory, queries, and I/O — and report only optimizations that are semantically verified and worth acting on.

List applicable rules first:

php artisan auditor:rules --domain=performance --applicable

Ecosystem rules (AUD-LW-003, AUD-FIL-003, AUD-IN-003) appear only when those packages are installed.

The methodology

Work every candidate through this pipeline. A pattern that stops at any stage is not a finding.

Signal        A suspicious shape (query in a loop, get()->count(), unbounded all())
  ↓
Context       Who calls this? What route/job/command? What data volume? What else uses the result?
  ↓
Behavior      What does the code actually do — accessors, casts, custom collections, callbacks?
  ↓
Verification  Is the proposed replacement semantically equivalent FOR THIS USAGE?
  ↓
Impact        Which resource does it save (queries, rows transferred, memory, CPU, I/O)? Is it meaningful?
  ↓
Finding       Evidence-backed report with mechanism-based impact and justified severity

A suspicious pattern is not automatically a performance bug.

Worked example — when it IS a finding

$total = User::where('active', true)->get()->count();

The collection is materialized only to be collapsed into one number. Every matching row is transferred and hydrated to produce what User::where('active', true)->count() returns as a single value. Verified: $total is a scalar; no other code uses the collection. Report via AUD-PER-008.

Counter-example — same shape, NOT a finding

$users = User::where('active', true)->get();

$count = $users->count();

return view('users.index', compact('users', 'count'));

Do not recommend ->count() here. The collection is rendered by the view; replacing the aggregate would issue a second query or force a refactor. Deriving the count from already-loaded data is the cheapest correct option. This rule applies to every "obvious" optimization in this skill: check what else consumes the value first.

Read the full file on GitHub · 184 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. 13d ago First seen · 184 lines · 63 tokens per session scan A c28106095366

Subscribe to this mod's changes

laravel-audit-performance is a skill published in the GitHub repository MrPunyapal/laravel-auditor (47 stars, last pushed 6d ago), licensed MIT. It adds 63 tokens to every session and 2,171 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-08-30.

Related

Other skills, from other repositories

ring:using-assert

Using lib-observability/assert, Lerian's runtime assertion package, in two modes. Sweep Mode detects panic()/log.Fatal zero-panic violations, DIY invariant checks, hand-rolled domain predicates, and missing InitAssertionMetrics. Reference Mode catalogs the asserter lifecycle, domain predicates, observability trident…

LerianStudio/ring · 99 tokens

roundtrip-radar

Per-journey code audit tracing data through complete user flows for bugs, data safety, performance, and round-trip completeness. Discovers workflows, audits each end-to-end, rolls up cross-cutting issues, and supports natural-language flow tracing. Triggers: "roundtrip audit", "trace user journey", "/roundtrip-radar".

Terryc21/radar-suite · 73 tokens

time-bomb-radar

Finds deferred operations that crash on aged data -- code that passes every test but breaks weeks or months after release. Covers cascade deletes, cache expiry, trial paths, background accumulation, date-threshold transitions, and scheduled side effects. Triggers: "time bomb", "time-bomb", "/time-bomb-radar", "aged…

Terryc21/radar-suite · 80 tokens

radar-suite-axis-classification

Shared axis classification framework for all radar-suite skills. Every finding must be classified as axis1 (bug), axis2 (scatter), or axis3 (dead/smelly) before emission, with mandatory coaching fields and file:line citations to existing patterns in the audited codebase. Triggers: invoked by every radar before…

Terryc21/radar-suite · 77 tokens

dxkit-flow

Configure, diagnose, and repair the dxkit UI→API integration gate — set up flow gating, explain the flow-contract diagnosis, fix a net-new broken integration a guardrail flagged, and run the cross-repo handshake. Use when the user says "set up the flow gate", "why is this call unresolved", "the guardrail says I broke…

vyuh-labs/dxkit · 112 tokens

ops

Use this agent when you need to generate operational tooling for a project - admin/monitoring panels, debug mode overlays, or end-user feedback forms.

samibs/skillfoundry · 32 tokens