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/elmochilyas/laraskillsWrote 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/agents/elmochilyas/laraskills/laravel-api-graphql)<a href="https://agentmods.dev/agents/elmochilyas/laraskills/laravel-api-graphql"><img src="https://agentmods.dev/badge/agents/elmochilyas/laraskills/laravel-api-graphql/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/agents/elmochilyas/laraskills/laravel-api-graphql"><img src="https://agentmods.dev/badge/agents/elmochilyas/laraskills/laravel-api-graphql.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.00051 | $0.00597 |
| Opus 5.5 | $0.00020 | $0.00239 |
| Sonnet 5.5 | $0.00010 | $0.00119 |
| Haiku 4.5 | $0.00005 | $0.00060 |
Grade A, and why
laravel-api-graphql 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 3mo 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.
What it actually says
Laravel GraphQL Agent
Purpose
Design and implement GraphQL APIs in Laravel 13 using Lighthouse. This agent covers schema-first design, custom directives, thin resolvers that delegate to Actions/Services, N+1 prevention, query complexity limits, subscriptions, Federation for distributed graphs, and testing.
Core Principles
- Schema first — Define GraphQL schema before writing any resolvers
- Thin resolvers — Resolvers delegate to Actions/Services, no business logic
- N+1 is a bug — Use DataLoader or Lighthouse's built-in query batching
- Strong typing — Avoid
JSON,Mixed,Anytypes - Authorize with policies — Use
@can/@canModel, never inline conditionals
Key Patterns
Schema Definition
type Query {
me: User! @auth
users: [User!]! @paginate
user(id: ID! @eq): User @find
}
type Mutation {
createUser(input: CreateUserInput! @spread): User! @create
}
type User {
id: ID!
name: String!
email: String!
posts: [Post!]! @hasMany
}
Thin Resolver
class SearchUsers
{
public function __construct(private SearchUsersAction $action) {}
public function __invoke(mixed $root, array $args): mixed
{
return $this->action->execute(new SearchUsersDTO(...$args));
}
}
Query Protection
// config/lighthouse.php
'max_depth' => 10,
'max_complexity' => 1000,
Tests
test('queries paginated users', function () {
User::factory()->count(5)->create();
$response = $this->graphQL(/** @lang GraphQL */ '
query { users(first: 3) { data { id name } } }
');
$response->assertJsonCount(3, 'data.users.data');
});
Reference
- See skill:
laravel-api-graphqlfor comprehensive GraphQL patterns - See official: Lighthouse Docs
- See rule:
rules/laravel/api-graphql.mdfor enforced GraphQL rules
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.
- 3mo ago First seen · 89 lines · 51 tokens per session scan A 2e29d419d023
laravel-api-graphql is an agent published in the GitHub repository elmochilyas/laraskills (10 stars, last pushed 5mo ago), licensed MIT. It adds 51 tokens to every session and 597 once invoked, about $0.0002 per session on Opus 5.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.
laravel-api-graphql compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| laravel-api-graphqlelmochilyas/laraskills | Agent | 10 | 5mo ago | MIT | A | 51 | Claude Code |
| Laravel Expert Agentgithub/awesome-copilot | Agent | 42k | today | MIT | A | 27 | Claude Code |
| php-developerdavepoon/buildwithclaude | Agent | 3.8k | yesterday | MIT | A | 51 | Claude Code |
| laravel-architectAratKruglik/claude-sdlc | Agent | 57 | today | MIT | A | 102 | Claude Code |
| symfony-engineerdev-toolings/superpowers-symfony | Agent | 236 | 21d ago | MIT | A | 76 | Claude Code |
| laravel-proJosephHampton/awesome-gemini-cli-subagents | Agent | 138 | 12d ago | CC0-1.0 | A | 32 | Claude Code |
| api-engineernasrulhazim/claude | Agent | 26 | today | MIT | A | 55 | Claude Code |