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 makifbaysal/tasktrooper --skill rust-testinggit clone --depth 1 https://github.com/makifbaysal/tasktrooperWrote 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/makifbaysal/tasktrooper/rust-testing)<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/rust-testing"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/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/makifbaysal/tasktrooper/rust-testing"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/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.00057 | $0.01076 |
| Opus 5.5 | $0.00023 | $0.00430 |
| Sonnet 5.5 | $0.00011 | $0.00215 |
| Haiku 4.5 | $0.00006 | $0.00108 |
Grade A, and why
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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rust Testing
Overview
Test-first, same discipline as everywhere (see tdd-workflow): write the failing test, watch it fail, minimal code to pass. This skill is the Rust mechanics for a service.
Core principle: the type system already rules out a lot; tests cover behaviour, invariants and the boundaries the compiler cannot see — HTTP wiring, serialization and SQL.
Test levels
| Level | What it covers | Tools |
|---|---|---|
| Unit | Domain types and pure functions | #[cfg(test)] mod tests in the same file, #[test] |
| Unit with fakes | Service, its port traits faked | a hand-written fake struct, or mockall where the repository uses it |
| HTTP | Routing, extractors, status codes, error body | the Router called with tower::ServiceExt::oneshot — no port |
| Persistence | sqlx queries and migrations | #[sqlx::test]: a fresh database per test with migrations applied |
Integration tests that use the crate's public API go in tests/.
Unit and service tests
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn title_rejects_blank_and_overlong() {
for bad in ["", " ", &"x".repeat(201)] {
assert!(TaskTitle::try_from(bad.to_string()).is_err(), "{bad:?} should be rejected");
}
assert!(TaskTitle::try_from("x".repeat(200)).is_ok());
}
#[tokio::test]
async fn create_stores_the_task() {
let repo = FakeTaskRepo::default();
let service = TaskService::new(repo.clone());
let task = service.create(UserId::new(1), TaskTitle::try_from("Report".into()).unwrap()).await.unwrap();
assert_eq!(repo.stored(), vec![task]);
}
}
unwrap() is fine in tests: a panic is a failure with a line number.
HTTP without a port
#[tokio::test]
async fn blank_title_is_400_in_the_problem_shape() {
let app = router(test_state());
let res = app
.oneshot(Request::post("/tasks").header("content-type", "application/json")
.header("authorization", test_token(1)).body(Body::from(r#"{"title":""}"#)).unwrap())
.await
.unwrap();
assert_eq!(res.status(), StatusCode::BAD_REQUEST);
let body: serde_json::Value = serde_json::from_slice(&res.into_body().collect().await.unwrap().to_bytes()).unwrap();
assert!(body["errors"]["title"].is_string());
}
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.
- 1mo ago First seen · 91 lines · 57 tokens per session scan A b5649df3b24d
rust-testing is a skill published in the GitHub repository makifbaysal/tasktrooper (123 stars, last pushed today), licensed Apache-2.0. It adds 57 tokens to every session and 1,076 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-10-17.
rust-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rust-testingmakifbaysal/tasktrooper | Skill | 123 | today | Apache-2.0 | A | 57 | Claude Code, Codex |
| agent-testerruvnet/ruflo | Skill | 83k | today | MIT | A | 15 | Claude Code |
| temporal-python-testingwshobson/agents | Skill | 43k | 5d ago | MIT | A | 45 | Claude Code |
| python-testingmicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 29 | Claude Code, Codex |
| nemo-automodel-model-onboardingNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 33 | Claude Code |
| cuequivariance-jaxNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 38 | Claude Code, Codex |
| cuequivariance-torchNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 37 | Claude Code, Codex |