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.
npx skills add AsyrafHussin/agent-skills --skill laravel-rust-best-practicesgit clone --depth 1 https://github.com/AsyrafHussin/agent-skillsWrote 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/skills/asyrafhussin/agent-skills/laravel-rust-best-practices)<a href="https://agentmods.dev/skills/asyrafhussin/agent-skills/laravel-rust-best-practices"><img src="https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/laravel-rust-best-practices/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/skills/asyrafhussin/agent-skills/laravel-rust-best-practices"><img src="https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/laravel-rust-best-practices.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.00225 | $0.03525 |
| Opus 5.5 | $0.00090 | $0.01410 |
| Sonnet 5.5 | $0.00045 | $0.00705 |
| Haiku 4.5 | $0.00022 | $0.00352 |
Grade A, and why
laravel-rust-best-practices 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Laravel for Rust Best Practices
Best practices for apps built with Laravel for Rust (laravel-rust 0.1.x). Contains 30 rules across 7 categories. Every Rust example compiles against laravel-rust 0.1.4, and each "Tested on laravel-rust 0.1.4" note records what a test on that version showed.
Version 1.0.2 (December 2026). Laravel for Rust is in beta; check APIs against the docs bundled with the version you install (.agents/skills/writing-laravel-rust-apps/scripts/docs-path.sh, which needs cargo, rustc, awk and python3 on PATH; otherwise the docs are in ~/.cargo/registry/src/*/laravel-rust-<version>/docs).
When to Apply
- Writing handlers, input structs, models, queries, migrations, jobs, listeners, scheduled tasks or configuration in a Laravel for Rust app
- Reviewing Laravel for Rust code before it ships
- Deciding between two ways to do something the framework allows (a background task or a job,
parseorvalidate,OptionorSometimes)
How This Skill Fits
A new app ships seven skills in .agents/skills/ (writing, testing, database, validation, auth, queues, Inertia) that describe how the framework works. This skill adds what they leave out: the mistakes that compile and still behave wrongly, each with the version to write and, where it matters, a test that proves the difference.
- Writing: before writing code in an area below, read its rules and follow their Correct examples
- Reviewing: follow "Reviewing Laravel for Rust Code" below
- Related skills:
laravel-rust-testing(tests),laravel-rust-audit(security audit),laravel-php-to-rust(porting from Laravel PHP),rust-for-laravel-developers(the Rust language)
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Data | CRITICAL | data- |
| 2 | Authorization | CRITICAL | auth- |
| 3 | Architecture | HIGH | arch- |
| 4 | HTTP | HIGH | http- |
| 5 | Runtime | HIGH | run- |
| 6 | Background Work | HIGH | jobs- |
| 7 | Operations | MEDIUM | ops- |
What ships with it
35 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AGENTS.md 103 KB
- metadata.json 3.6 KB
- README.md 4.8 KB
- rules/_sections.md 1.4 KB
- rules/_template.md 763 B
- rules/arch-config-sections.md 3.1 KB
- rules/arch-container-services.md 4.1 KB
- rules/arch-resource-handlers.md 3.8 KB
- rules/auth-authorize-records.md 4.2 KB
- rules/data-chunk-large-sets.md 3.1 KB
- rules/data-eager-load.md 3.6 KB
- rules/data-indexes-and-migrations.md 3.4 KB
- rules/data-pagination-order.md 3.2 KB
- rules/data-relationship-counts.md 2.8 KB
- rules/data-select-only-needed.md 2.8 KB
- rules/data-transactions.md 3.5 KB
- rules/data-typed-queries-and-raw-sql.md 3.6 KB
- rules/data-writes-with-fill-structs.md 3.8 KB
- rules/http-errors-with-status.md 3.2 KB
- rules/http-input-structs.md 3.7 KB
- rules/http-middleware-placement.md 3.7 KB
- rules/http-partial-updates.md 3.2 KB
- rules/http-responses-send-only-needed.md 4.2 KB
- rules/jobs-events-and-listeners.md 4.1 KB
- rules/jobs-payloads-retries-idempotency.md 3.5 KB
- rules/jobs-thin-schedule.md 3.7 KB
- rules/ops-cache-and-locks.md 3.6 KB
- rules/ops-cargo-features-and-drivers.md 2.6 KB
- rules/ops-deploy-checklist.md 3.6 KB
- rules/ops-logging-and-tracing.md 2.4 KB
- rules/run-background-vs-queue.md 4.5 KB
- rules/run-blocking-work.md 3.2 KB
- rules/run-concurrent-work.md 3.3 KB
- rules/run-http-client.md 2.9 KB
- rules/run-time-and-clock.md 2.7 KB
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.
- yesterday First seen · 164 lines · 225 tokens per session scan A a492acdfddce
laravel-rust-best-practices is a skill published in the GitHub repository AsyrafHussin/agent-skills (116 stars, last pushed today), licensed MIT. It adds 225 tokens to every session and 3,525 once invoked, about $0.0009 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-12-03.
laravel-rust-best-practices compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| laravel-rust-best-practicesAsyrafHussin/agent-skills | Skill | 116 | today | MIT | A | 225 | Claude Code, Codex |
| rust-skillsleonardomso/rust-skills | Skill | 792 | 7d ago | MIT | A | 56 | Claude Code, Codex |
| rustolehsvyrydov/AI-development-team | Skill | 18 | 14d ago | MIT | A | 105 | Claude Code |
| standardssamibs/skillfoundry | Skill | 13 | 2mo ago | MIT | A | 29 | Claude Code, Codex |
| rust-coreadonai-labs/agent-runway | Skill | 2 | 7d ago | MIT | A | 82 | Claude Code, Codex |
| rust-reviewcamilooscargbaptista/cto-toolkit | Skill | 9 | 8mo ago | MIT | A | 100 | Claude Code |
| ia-rust-systemsiliaal/whetstone | Skill | 37 | today | MIT | A | 61 | Claude Code |