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-testinggit 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-testing)<a href="https://agentmods.dev/skills/asyrafhussin/agent-skills/laravel-rust-testing"><img src="https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/laravel-rust-testing/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-testing"><img src="https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/laravel-rust-testing.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.00227 | $0.02904 |
| Opus 5.5 | $0.00091 | $0.01162 |
| Sonnet 5.5 | $0.00045 | $0.00581 |
| Haiku 4.5 | $0.00023 | $0.00290 |
Grade A, and why
laravel-rust-testing 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 — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Laravel for Rust Testing
Testing apps built with Laravel for Rust (laravel-rust 0.1.x) with #[laravel::test]. Contains 20 rules across 6 categories. Every 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. Examples use the routes, handlers and commands of a typical app (/login, /posts, /orders/{id}/ship, drafts:prune); adapt the names to yours.
Version 1.0.1 (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 ~/.cargo/registry/src/*/laravel-rust-<version>/docs).
When to Apply
- Writing tests for a Laravel for Rust app
- Reviewing a test suite: tests that pass while the app is broken, flaky tests, tests with real side effects
- A test fails or passes and you are not sure why
How This Skill Fits
A new app ships testing-laravel-rust-apps in .agents/skills/, which lists the testing tools. This skill covers the ways those tools give false confidence, with the test to write instead. Two corrections to the shipped skill on 0.1.4: acting_as is a method on the request (app.post(..).acting_as(&user)), and feature::fake(flag, value) takes two arguments and returns nothing. For the app code itself use laravel-rust-best-practices; for a security audit, laravel-rust-audit.
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Fakes | CRITICAL | fake- |
| 2 | HTTP | CRITICAL | http- |
| 3 | Setup | HIGH | setup- |
| 4 | Database | HIGH | db- |
| 5 | Background Work | HIGH | bg- |
| 6 | Time | MEDIUM | time- |
Quick Reference
1. Fakes (CRITICAL)
fake-bind-before-use- Bind every fake (let _ =drops it); install fakes and swaps before the first requestfake-queue-vs-sync- Tests run jobs inline onsync: delays, retries and failures behave differently; fake the queue to test dispatchfake-stacked-fakes-event::fakehides queued work fromqueue::fake; one layer per assertionfake-http-client-strict- Unmatched requests get an empty200;prevent_stray_requests, specific patterns firstfake-mail-sent-vs-queued-assert_sentversusassert_queued;assert_not_sentcounts bothfake-storage-and-flags-storage::fakefirst;feature::fake(flag, value);fake_imagefor image rules
What ships with it
25 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 71 KB
- metadata.json 2.9 KB
- README.md 3.9 KB
- rules/_sections.md 1.1 KB
- rules/_template.md 763 B
- rules/bg-assert-job-outcomes.md 2.6 KB
- rules/bg-background-tasks.md 3.6 KB
- rules/bg-commands-ticks-and-schedule.md 3.5 KB
- rules/bg-workflows.md 2.9 KB
- rules/db-assertions-awaited-and-specific.md 3.0 KB
- rules/fake-bind-before-use.md 3.5 KB
- rules/fake-http-client-strict.md 3.6 KB
- rules/fake-mail-sent-vs-queued.md 3.5 KB
- rules/fake-queue-vs-sync.md 3.6 KB
- rules/fake-stacked-fakes.md 3.4 KB
- rules/fake-storage-and-flags.md 3.7 KB
- rules/http-authorization-matrix.md 3.8 KB
- rules/http-error-assertions.md 3.2 KB
- rules/http-exhaustive-assertions.md 3.5 KB
- rules/http-real-login-vs-acting-as.md 4.2 KB
- rules/http-validation-assertions.md 3.5 KB
- rules/setup-app-factories-and-config.md 3.9 KB
- rules/setup-factories-and-seeding.md 2.9 KB
- rules/setup-isolation-and-ids.md 3.9 KB
- rules/time-travel.md 3.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 · 132 lines · 227 tokens per session scan A b289a525babd
laravel-rust-testing is a skill published in the GitHub repository AsyrafHussin/agent-skills (116 stars, last pushed today), licensed MIT. It adds 227 tokens to every session and 2,904 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-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| laravel-rust-testingAsyrafHussin/agent-skills | Skill | 116 | today | MIT | A | 227 | Claude Code, Codex |
| rust-skillsleonardomso/rust-skills | Skill | 792 | 7d ago | MIT | A | 56 | Claude Code, Codex |
| standardssamibs/skillfoundry | Skill | 13 | 2mo ago | MIT | A | 29 | Claude Code, Codex |
| rust-reviewcamilooscargbaptista/cto-toolkit | Skill | 9 | 8mo ago | MIT | A | 100 | Claude Code |
| rust-patternsNmor/the-claude-council | Skill | 12 | 2mo ago | none | A | 144 | Claude Code |
| rust-best-practicesbgauryy/octocode | Skill | 974 | yesterday | MIT | A | 47 | Claude Code, Codex |
| ring:adopting-lib-commons-huma-wrapperLerianStudio/ring | Skill | 218 | 1mo ago | Apache-2.0 | A | 142 | Cursor |