rocket

rocket is a skill for Claude Code from claude-dev-suite/claude-dev-suite. It costs 119 tokens per session (1,261 once invoked), scanned A, original, MIT.

A Rust web framework for defining HTTP routes, request guards, shared application state, middleware-like fairings, and tests. Its route macros check route definitions while the code is compiled.

In plain words
What is it for?
Use it to build type-checked Rust APIs, handle requests, protect routes, manage shared state, and test web endpoints.
Why use it?
It provides the structure needed for a Rust web service without requiring you to assemble common routing and request-handling code yourself.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to build type-checked Rust APIs, handle requests, protect routes, manage shared state, and test web endpoints.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/claude-dev-suite/claude-dev-suite/rocket
Install

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.

Any agent
npx skills add claude-dev-suite/claude-dev-suite --skill rocket
Clone the repo
git clone --depth 1 https://github.com/claude-dev-suite/claude-dev-suite

Made for: Claude Code.

Wrote 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.

agentmods badge for rocket

README.md
[![agentmods](https://agentmods.dev/badge/skills/claude-dev-suite/claude-dev-suite/rocket/github.svg)](https://agentmods.dev/skills/claude-dev-suite/claude-dev-suite/rocket)
Your own site
<a href="https://agentmods.dev/skills/claude-dev-suite/claude-dev-suite/rocket"><img src="https://agentmods.dev/badge/skills/claude-dev-suite/claude-dev-suite/rocket/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.

agentmods 80×15 button for rocket

Your own site · 80×15
<a href="https://agentmods.dev/skills/claude-dev-suite/claude-dev-suite/rocket"><img src="https://agentmods.dev/badge/skills/claude-dev-suite/claude-dev-suite/rocket.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,261 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00119 $0.01261
Opus 5.5 $0.00048 $0.00504
Sonnet 5.5 $0.00024 $0.00252
Haiku 4.5 $0.00012 $0.00126

Measured 2mo ago against content hash 3632a042f594, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rocket 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 2mo 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.

skills/backend-frameworks/rocket/SKILL.md · 180 lines

How it starts

The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rocket Core Knowledge

Full Reference: See advanced.md for custom guards (authentication, API key), fairings (CORS, timing), database state, error catchers, and testing patterns.

Deep Knowledge: Use mcp__documentation__fetch_docs with technology: rocket for comprehensive documentation.

Basic Setup

# Cargo.toml
[dependencies]
rocket = { version = "0.5", features = ["json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }
#[macro_use] extern crate rocket;

#[get("/")]
fn index() -> &'static str {
    "Hello, World!"
}

#[launch]
fn rocket() -> _ {
    rocket::build().mount("/", routes![index])
}

Routing

#[get("/users/<id>")]
fn get_user(id: u32) -> String {
    format!("User {}", id)
}

#[post("/users", data = "<user>")]
fn create_user(user: Json<CreateUser>) -> Json<User> {
    Json(User::from(user.into_inner()))
}

#[get("/files/<path..>")]
fn get_file(path: PathBuf) -> Option<NamedFile> {
    NamedFile::open(Path::new("static/").join(path)).ok()
}

// Query parameters
#[derive(FromForm)]
struct Pagination { page: Option<u32>, per_page: Option<u32> }

#[get("/users?<pagination..>")]
fn list_users(pagination: Pagination) -> Json<Vec<User>> {
    let page = pagination.page.unwrap_or(1);
    Json(fetch_users(page, pagination.per_page.unwrap_or(20)))
}

// Mounting
#[launch]
fn rocket() -> _ {
    rocket::build()
        .mount("/", routes![index])
        .mount("/api/v1", routes![list_users, get_user, create_user])
}

Request Guards

// JSON body
#[post("/users", data = "<user>")]
fn create_user(user: Json<CreateUser>) -> Json<User> {
    Json(User::from(user.into_inner()))
}

// Form data
#[post("/login", data = "<login>")]
fn login(login: Form<LoginForm>) -> String {
    format!("Welcome, {}", login.username)
}

// Cookies
#[get("/session")]
fn session(cookies: &CookieJar<'_>) -> Option<String> {
    cookies.get("session_id").map(|c| c.value().to_string())
}

Read the full file on GitHub · 180 lines

Files

What ships with it

1 file 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.

Changes

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.

  1. 2mo ago First seen · 180 lines · 119 tokens per session scan A 3632a042f594

Subscribe to this mod's changes

rocket is a skill published in the GitHub repository claude-dev-suite/claude-dev-suite (51 stars, last pushed yesterday), licensed MIT. It adds 119 tokens to every session and 1,261 once invoked, about $0.0005 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-09-03.

Related

rocket compared with skills from other repositories

rocket next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rocketclaude-dev-suite/claude-dev-suiteSkill51yesterdayMITA119Claude Code
rust-gatewayBerriAI/litellmSkill64ktodaynoneA70Claude Code, Codex
rust-ops0xDarkMatter/claude-modsSkill867d agoMITA85Claude Code
rustolehsvyrydov/AI-development-teamSkill1812d agoMITA105Claude Code
rust-network-modulefakoli/fakoli-pluginsSkill43d agoMITA43Claude Code, Codex
aio-rust-api-migrationaiocean/claude-pluginsSkill45d agoMITA49Claude Code
dare-rust-workspacedewtech-technologies/dare-methodSkill54mo agoMITA81Claude Code, Codex