wshobson/agents

rust-async-patterns

All-time #1043 Trending #2502 First seen Jan 20, 2026
8-week activity · all time api

Installation

$ npx skills add https://github.com/wshobson/agents

Summary

  • Production patterns for async Rust with Tokio, channels, error handling, and concurrent task management.
  • Covers seven core patterns: concurrent task execution with JoinSet and select! , multi-producer channels (mpsc, broadcast, oneshot, watch), custom error types with anyhow and thiserror , graceful shutdown via CancellationToken , async traits with async_trait , streams and async iteration, and resource pooling with RwLock and Semaphore Includes practical examples for racing futures, limiting concurrency, timeout handling, and task cancellation across shutdown scenarios Provides debugging guidance using tokio-console , tracing instrumentation, and common pitfalls like blocking in async contexts or holding locks across awaits Best practices section covers when to use channels over shared state, proper error propagation, and spawn limits to prevent resource exhaustion

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Security audits

Partner security reviews for this skill.

agent-trust-hub SAFE

Analyzed Mar 8, 2026

The skill provides educational code patterns and best practices for asynchronous Rust development using the Tokio runtime. It contains no executable scripts, malicious instructions, or security vulnerabilities.

snyk LOW

Analyzed Mar 8, 2026

No issues detected.

socket Score 0.9000 · 0 alerts

Analyzed Mar 18, 2026

  • license 1
  • maintenance 1
  • quality 0.9
  • supply chain 1
  • vulnerability 1

0 alerts

Also in this package

Other skills from wshobson/agents · top by installs.

npx skills add https://github.com/wshobson/agents

Browse all from wshobson/agents

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 39.5K
License LICENSE
Default branch main
Open issues 4
Status Active

History

  1. First seen on skills.sh
  2. First recorded snapshot · 18,200 installs