Codex skills for Rust

With these skills Codex fixes borrow checker errors by restructuring ownership instead of adding clone or Rc<RefCell>, picks thiserror or anyhow by crate type, and audits unsafe blocks against their SAFETY preconditions with Miri. Further skills cover Axum 0.8 services, Tokio cancellation, Cargo workspaces, clap CLIs, WebAssembly and no_std Embassy firmware.

Every Rust skill in one command

Installs these 13 into ~/.agents/skills/. Add --project after -- to install into the current repository instead.

The installer is a 104-line POSIX shell script. It fetches the skills you name from codexskills.dev and unpacks each into its own folder in your skills directory. No sudo, no telemetry, and every skill page shows the full SKILL.md first. Read install.sh

curl -fsSL codexskills.dev/install.sh | sh -s -- rust-clap-cli rust-wasm embedded-rust rust-tokio-async rust-axum rust-ownership rust-error-handling rust-cargo-workspaces rust-unsafe-review bevy-engine tauri-apps fuzz-testing solana-anchor

Rust FAQ

Is there a Codex skill for Axum 0.8?

Rust Axum targets Axum 0.8, where paths use {id} and {*rest} and the old :id syntax panics at startup; when upgrading from 0.7 it also removes #[async_trait] from custom extractors. It keeps body extractors last, shares state through one Clone struct and maps failures through a single AppError, then tests routes in-process with oneshot.

Can Codex fix Rust borrow checker errors without cloning everything?

Rust Ownership reads the full rustc diagnostic for codes such as E0499, E0502 and E0505, then tries structural fixes first: ending a borrow early, splitting fields, mem::take, the entry API or index-based graphs. Clone and Rc become deliberate, justified choices. It checks the crate's edition, since Rust 2024 (1.85+) changes temporary scopes and impl Trait capture, and reviews the diff from cargo fix --edition instead of accepting it.

Do these skills cover async Rust with Tokio and graceful shutdown?

Rust Tokio Async gives every spawned task an owner through JoinSet or TaskTracker, wires shutdown with CancellationToken, and moves blocking work such as std::fs or bcrypt into spawn_blocking. It checks each select! branch for cancellation safety, because awaiting read_exact inside a select! loop can discard partially read data, and tests time-dependent logic with start_paused instead of real sleeps.

How do I install all 13 Rust skills at once?

Pass every name to the installer in one command: curl -fsSL https://codexskills.dev/install.sh | sh -s -- rust-clap-cli rust-wasm embedded-rust rust-tokio-async rust-axum rust-ownership rust-error-handling rust-cargo-workspaces rust-unsafe-review bevy-engine tauri-apps fuzz-testing solana-anchor. Add --project right after -- to put them in the current repository's .agents/skills/ so your team gets them too.

Which Rust skill should I try first?

Rust CLI with clap is the closest fit for most Rust work. Mention it with $rust-clap-cli in a prompt to load it on purpose; after that, Codex picks it up on its own whenever a task matches.

esc