boost-asio-pro

boost-asio-pro is a skill for Claude Code from alexprivalov/boost-asio-skill. It costs 103 tokens per session (2,605 once invoked), scanned A, original, MIT.

A coding skill for asynchronous C++ networking with Boost.Asio or standalone Asio. It selects code patterns based on the project's Boost and C++ versions, including coroutines, callbacks, and older APIs.

In plain words
What is it for?
Use it for TCP or UDP clients and servers, SSL/TLS streams, timers, asynchronous input and output, strand-based concurrency, and composed operations.
Why use it?
Asio's interface changed over time, so using the wrong style can produce code that does not compile or behaves incorrectly. The skill also calls out version checks before code is written.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the boost-asio-pro plugin — 1 skill shipped together

Good fit Use it for TCP or UDP clients and servers, SSL/TLS streams, timers, asynchronous input and output, strand-based concurrency, and composed operations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexprivalov/boost-asio-skill/boost-asio-pro
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 alexprivalov/boost-asio-skill --skill boost-asio-pro
Clone the repo
git clone --depth 1 https://github.com/alexprivalov/boost-asio-skill

Made for: Claude Code.

Or install boost-asio-pro, the plugin that ships this one along with the rest of its 1 skill.

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 boost-asio-pro

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexprivalov/boost-asio-skill/boost-asio-pro"><img src="https://agentmods.dev/badge/skills/alexprivalov/boost-asio-skill/boost-asio-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,605 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.
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.00103 $0.02605
Opus 5 $0.00051 $0.01303
Sonnet 5 $0.00021 $0.00521
Haiku 4.5 $0.00010 $0.00261

Measured 8d ago against content hash 1c3f7d17ce28, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

boost-asio-pro 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 8d 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/boost-asio-pro/SKILL.md · 137 lines

How it starts

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

Boost.Asio / standalone Asio

Write async C++ networking code that compiles on the user's Boost, not the newest one. Asio's API changed shape three times (classic io_serviceio_context → C++20 coroutines) and most Asio code on the internet is from the first era, so pick the style from the toolchain first, then follow that style's reference file.

References: Boost.Asio · standalone Asio

Step 1: pick the style (do this before writing code)

Determine the Boost (or Asio) version and the C++ standard actually in use — find_package(Boost) output, dpkg -l libboost-dev, brew info boost, CMAKE_CXX_STANDARD, or ask. Do not assume the newest.

Boost C++ std Style Read
≥ 1.77 C++20 Coroutines (co_await + awaitable<T>) — preferred references/coroutines.md
≥ 1.74 C++11–17 Completion handlers (callbacks) — the portable baseline references/pre-cpp20.md
≥ 1.80 C++11–17 Stackful asio::spawn + yield_context (links Boost.Coroutine — not header-only) references/pre-cpp20.md
1.62–1.65 C++11 Classic io_service / strand.wrap / expires_from_now references/classic-boost.md

SSL/TLS in any style: references/ssl.md. CMake for any style: references/build.md.

io_context, make_strand, bind_executor, steady_timer, signal_set, async_read/async_write/async_read_until, buffers and resolver are library features — identical in the coroutine and callback styles. Only the suspension mechanism differs.

Step 2: version floors (verified by compiling, not from docs)

Reach for one of these and the build breaks on older distros:

Feature Floor
experimental/awaitable_operators.hpp (the || / && operators) Boost ≥ 1.77 / Asio ≥ 1.20
as_tuple completion token Boost ≥ 1.79 / Asio ≥ 1.21
co_composed (custom composed ops) Boost ≥ 1.85 / Asio ≥ 1.30
3-arg asio::spawn(ex, fn, token) Boost ≥ 1.80 (older Boost has only spawn(ex, fn))
any_io_executor (strand<any_io_executor>, tcp::socket's default executor) Boost ≥ 1.74 — the floor for the callback style; below it, use legacy io_context::strand
io_context, make_strand, expires_after Boost ≥ 1.66 — below it, classic io_service

Read the full file on GitHub · 137 lines

Files

What ships with it

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

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. 8d ago First seen · 137 lines · 103 tokens per session scan A 1c3f7d17ce28

Subscribe to this mod's changes

boost-asio-pro is a skill published in the GitHub repository alexprivalov/boost-asio-skill (1 stars, last pushed 17d ago), licensed MIT. It adds 103 tokens to every session and 2,605 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.

Related

Other skills, from other repositories