laraskills AGENTS.md

laraskills AGENTS.md is an instructions file for Codex, OpenCode from elmochilyas/laraskills. It costs 4,609 tokens per session, scanned A, original, MIT.

A set of Laravel 13 rules, specialist agents, and command-line configurations for AI coding tools. Laravel is a PHP framework for building web applications.

In plain words
What is it for?
It helps with Laravel commands, database migrations, Eloquent data models and queries, SQL performance, and related application tasks.
Why use it?
It gives agents project-specific development principles, including input validation, test-first work, immutability, and planning for complex changes.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/elmochilyas/laraskills/agents-md
Clone the repo
git clone --depth 1 https://github.com/elmochilyas/laraskills

Made for: Codex, OpenCode.

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 laraskills AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/elmochilyas/laraskills/agents-md.svg)](https://agentmods.dev/instructions/elmochilyas/laraskills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/elmochilyas/laraskills/agents-md"><img src="https://agentmods.dev/badge/instructions/elmochilyas/laraskills/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,609 This file is loaded in full into every session.
When invoked 4,609 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.04609 $0.04609
Opus 5 $0.02305 $0.02305
Sonnet 5 $0.00922 $0.00922
Haiku 4.5 $0.00461 $0.00461

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

Security

Grade A, and why

laraskills AGENTS.md 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.

AGENTS.md · 347 lines

How it starts

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

LaraSkills — Agent Instructions

Laravel 13 AI-ready skills, rules, agents, and CLI harness configs for OpenCode, Claude Code, Cursor, Gemini CLI, Codex CLI, Copilot, and more.

Version: 1.0.0-beta.15

Core Principles

  1. Laravel 13 First — All patterns target Laravel 13 (PHP 8.3+, Pest 4, attribute-driven models)
  2. Security-First — Validate all input, escape all output, never trust user data
  3. Test-Driven — Write tests before implementation, 80%+ coverage required
  4. Immutability — Always create new objects, never mutate existing ones
  5. Plan Before Execute — Plan complex features before writing code

Available Agents

Agent Purpose When to Use
laravel-artisan Artisan command generation Creating commands, schedules, make:classes
laravel-eloquent Advanced Eloquent ORM specialist Relationship mapping, query optimization, N+1 elimination, domain modeling, scopes, casts, events, performance tuning
laravel-migration Database migration design Schema design, migrations, seeders, factories
laravel-database Database engineering specialist SQL optimization, indexing, PostgreSQL (JSONB, materialized views, vector search), MySQL (InnoDB, utf8mb4, partitioning, replication), transactions, scaling
laravel-container Container, DI, provider, facade architecture Container bindings, providers, contract design, facade review
laravel-api-rest REST API architecture specialist Resource naming, HTTP methods, status codes, HATEOAS, versioning, resource transformation, pagination
laravel-api-jsonapi JSON:API specification specialist Native JsonApiResource, sparse fieldsets, includes, relationships, compound documents, links, meta objects
laravel-api-graphql GraphQL architecture specialist Lighthouse schema-first, resolvers, DataLoader, query complexity, subscriptions, Federation
laravel-api-grpc gRPC & Protobuf specialist Proto definition, RoadRunner gRPC services, interceptors, streaming, client integration
laravel-api-microservices Microservice architecture specialist Service boundaries, database ownership, event-driven communication, saga patterns
laravel-authentication Authentication & authorization specialist Sanctum, Passport, OAuth2, OIDC, JWT, Policies, Gates, Roles, Permissions, MFA, SSO
laravel-identity-architecture Enterprise IAM & zero-trust specialist SCIM, LDAP/AD, Entra ID, Okta, Keycloak, SAML, zero-trust, conditional access

Read the full file on GitHub · 347 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 · 347 lines · 4,609 tokens per session scan A 58b3402547e8

Subscribe to this mod's changes

laraskills AGENTS.md is an instructions file published in the GitHub repository elmochilyas/laraskills (8 stars, last pushed 2mo ago), licensed MIT. It adds 4,609 tokens to every session, about $0.0230 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-31.