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 pedromneto97/custom-skills --skill http-actix-axumgit clone --depth 1 https://github.com/pedromneto97/custom-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/pedromneto97/custom-skills/http-actix-axum)<a href="https://agentmods.dev/skills/pedromneto97/custom-skills/http-actix-axum"><img src="https://agentmods.dev/badge/skills/pedromneto97/custom-skills/http-actix-axum/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/pedromneto97/custom-skills/http-actix-axum"><img src="https://agentmods.dev/badge/skills/pedromneto97/custom-skills/http-actix-axum.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.00099 | $0.01921 |
| Opus 5 | $0.00049 | $0.00960 |
| Sonnet 5 | $0.00020 | $0.00384 |
| Haiku 4.5 | $0.00010 | $0.00192 |
Grade A, and why
http-actix-axum 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 12d 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 — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HTTP Best Practices — actix-web / axum
1. Resource Naming
| Rule | Good | Bad |
|---|---|---|
| Plural nouns | /orders, /users |
/order, /getOrders |
| Lowercase + hyphens | /order-items |
/orderItems, /Order_Items |
| Hierarchical nesting | /orders/{id}/items |
/order-items?orderId={id} |
| No verbs in path | POST /orders |
POST /createOrder |
| Filter / sort in query | /orders?status=pending&sort=created_at |
/pending-orders |
Max nesting depth: 2 levels (/resource/{id}/sub-resource). Avoid deeper hierarchies.
2. API Versioning
Prefix at the router level. Handlers are version-agnostic.
actix-web
// inbound/src/http/router.rs
pub fn configure(cfg: &mut web::ServiceConfig) {
cfg.service(
web::scope("/api/v1")
.service(web::scope("/orders")
.route("", web::get().to(list))
.route("", web::post().to(create))
.route("/{id}", web::get().to(get_one))
.route("/{id}", web::put().to(update))
.route("/{id}", web::delete().to(delete)),
),
);
}
axum
// inbound/src/http/router.rs
pub fn build_router() -> Router {
Router::new()
.nest("/api/v1", Router::new()
.nest("/orders", Router::new()
.route("/", get(list).post(create))
.route("/:id", get(get_one).put(update).delete(delete)),
),
)
}
3. HTTP Status Codes
| Operation | Method | Success | Error cases |
|---|---|---|---|
| Fetch one | GET | 200 | 404 if not found |
| Fetch list | GET | 200 | Empty list → 200 [], never 404 |
| Create | POST | 201 + Location header |
400, 422 |
| Full replace | PUT | 200 | 404, 422 |
| Partial update | PATCH | 200 | 404, 422 |
| Delete | DELETE | 204 No Content | 404 |
| Async action | POST | 202 Accepted | — |
| Bad input | — | 400 Bad Request | — |
| Unauthenticated | — | 401 Unauthorized | — |
| Forbidden | — | 403 Forbidden | — |
| Conflict (duplicate) | — | 409 Conflict | — |
| Business rule violated | — | 422 Unprocessable Entity | — |
| Server fault | — | 500 Internal Server Error | Never leak stack traces |
What ships with it
6 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.
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.
- 12d ago First seen · 226 lines · 99 tokens per session scan A edbefccba0fe
http-actix-axum is a skill published in the GitHub repository pedromneto97/custom-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 99 tokens to every session and 1,921 once invoked, about $0.0005 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.
Other skills, from other repositories
rust-programming-expert
Expert-level skill for Rust programming (Rust 2024 / v1.85+). Covers memory safety, async, Axum/SQLx, CLI, and optimization in English and Indonesian.
rust-systems
Rust patterns for CLI tools, backend services, and general application code. Use when working with Rust, Cargo workspaces, axum/tokio services, clap CLIs, async concurrency, or configuring clippy, rustfmt, cargo-nextest, or Cargo.toml.
rust-backend
Rust coding guidelines for the Windmill backend. MUST use when writing or modifying Rust code in the backend directory.
azure-eventhub-rust
Azure Event Hubs library for Rust. Send and receive events for streaming data ingestion and batch processing. Triggers: "event hubs rust", "ProducerClient rust", "ConsumerClient rust", "send event rust", "streaming rust", "eventhub rust".
rust-learner
Learn Rust language features and crate updates. Use when user asks about Rust version changelog, what's new in Rust, crate updates, Cargo.toml dependencies, tokio/serde/axum features, or any Rust ecosystem questions.
new
Create a new project to start development quickly.