Async Rust With Tokio
Writes async Rust with Tokio properly, covering tasks, channels, timeouts and clean shutdown.
Claude's review
8/10 Runnable Tokio patterns with graceful shutdown, plus the traps that bite: mutex across await, cancel safety, unbounded channels.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Tokio is the asynchronous runtime for Rust: a task scheduler, async TCP/UDP, timers, channels and synchronization primitives that most async Rust crates (axum, hyper, reqwest, tonic) run on. Use it when asked to write async Rust, spawn concurrent tasks, build a TCP server, use mpsc or broadcast channels, add timeouts, limit concurrency with a semaphore, run blocking code from async code, or shut a Tokio service down gracefully.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: tokio
description: >-
Tokio is the asynchronous runtime for Rust: a task scheduler, async TCP/UDP,
timers, channels and synchronization primitives that most async Rust crates
(axum, hyper, reqwest, tonic) run on. Use it when asked to write async Rust,
spawn concurrent tasks, build a TCP server, use mpsc or broadcast channels,
add timeouts, limit concurrency with a semaphore, run blocking code from
async code, or shut a Tokio service down gracefully.
license: Apache-2.0
compatibility: 'Rust 1.85+ (Tokio 1.54); Tokio 1.51.x and 1.53.x are LTS releases with MSRV 1.71'
metadata:
author: terminal-skills
version: 1.1.0
repository: https://github.com/tokio-rs/tokio
category: development
tags: "rust, async, runtime, concurrency, networking"
---
# Tokio — Async Runtime for Rust
## Overview
Tokio runs `async` Rust code. `#[tokio::main]` starts a multi-threaded scheduler, `tokio::spawn` runs futures as lightweight tasks, and the `net`, `time`, `sync`, `io`, `fs`, `process` and `signal` modules provide async versions of the std building blocks. The current release is 1.54.1 (2026-10-21, MSRV 1.85). Tokio keeps a rolling MSRV of at least six months and designates some minor versions as LTS (1.51.x until March 2027, 1.53.x until September 2027); pin to an LTS line, for example `version = "~1.53"`, if you cannot raise your Rust version often.
## Instructions
### Install
```toml
# Cargo.toml
[dependencies]
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "io-util", "time", "sync", "signal"] }
tokio-util = { version = "0.7", features = ["rt"] } # CancellationToken; the "rt" feature adds TaskTracker
```
`features = ["full"]` turns everything on and is fine for applications; libraries should enable only what they use. Without `macros` and `rt-multi-thread`, `#[tokio::main]` does not compile.
### Tasks, join, select, blocking work
...From TerminalSkills's repository, Apache-2.0 licence.
Related skills
-
Checked
Rust code review
Reviews Rust code for idiom, errors, safety and API design, with a ranked report and a fix for every finding.
7/101 credit -
Checked
Java Debugging Guide
Finds the cause of Java bugs and failing tests, and attaches a debugger safely in Maven, Gradle, Spring or Docker.
7/101 credit -
Checked
Python games with pygame
Builds and debugs 2D pygame games with a proper loop and delta time, so they run the same on any PC.
7/101 credit -
Checked
Go Benchmarking and Profiling
Writes Go benchmarks, profiles them with pprof and proves each speedup with benchstat before you claim it.
7/101 credit -
Checked
nvMolKit GPU cheminformatics
Writes nvMolKit code for GPU fingerprints, similarity and clustering, so molecule searches run far faster.
7/101 credit -
Checked
Modern Java Coding
Writes and reviews modern Java 21 and 25 code with records, sealed types, pattern matching and virtual threads.
7/101 credit