concurrency-networking-agent

concurrency-networking-agent is an agent for Claude Code from Desquared/agents-rules-skills. It costs 52 tokens per session (419 once invoked), scanned A, original, MIT.

A Swift specialist for concurrent programming and networked applications, covering async/await, actors, URLSession, structured concurrency, cancellation, retries, and typed errors.

In plain words
What is it for?
Use it when building API clients, background tasks, concurrent operations, or Swift networking code.
Why use it?
It helps avoid unsafe shared state, tangled asynchronous code, unclear network failures, and operations that cannot be cancelled properly.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it when building API clients, background tasks, concurrent operations, or Swift networking code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/desquared/agents-rules-skills/ios-concurrency-networking-agent
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.

Clone the repo
git clone --depth 1 https://github.com/Desquared/agents-rules-skills

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 concurrency-networking-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/desquared/agents-rules-skills/ios-concurrency-networking-agent/github.svg)](https://agentmods.dev/agents/desquared/agents-rules-skills/ios-concurrency-networking-agent)
Your own site
<a href="https://agentmods.dev/agents/desquared/agents-rules-skills/ios-concurrency-networking-agent"><img src="https://agentmods.dev/badge/agents/desquared/agents-rules-skills/ios-concurrency-networking-agent/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 concurrency-networking-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/desquared/agents-rules-skills/ios-concurrency-networking-agent"><img src="https://agentmods.dev/badge/agents/desquared/agents-rules-skills/ios-concurrency-networking-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 419 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.00052 $0.00419
Opus 5 $0.00026 $0.00210
Sonnet 5 $0.00010 $0.00084
Haiku 4.5 $0.00005 $0.00042

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

Security

Grade A, and why

concurrency-networking-agent 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.

agents/ios-concurrency-networking-agent.md · 56 lines

What it actually says

Core Expertise

  • async/await, Task, TaskGroup, async let
  • Actors for thread-safe state isolation
  • URLSession async API, request/response handling
  • Error handling, retry strategies, cancellation

Key Guidelines

Async/Await

  • Prefer async/await over completion handlers
  • Use Task.checkCancellation() for cancellation support
  • Use async let for concurrent independent operations
  • Prefer structured concurrency over Task.detached

Actors

  • Use actors for mutable shared state
  • Use @MainActor for UI updates
  • Keep actor methods focused and minimal
  • Use nonisolated for non-state methods

Networking

  • Discover project's HTTP client (URLSession, Alamofire, Moya)
  • Use async/await API (URLSession native or library wrapper)
  • Handle HTTP status codes explicitly
  • Support cancellation via Task cancellation
  • Implement retry with exponential backoff for transient failures

Error Handling

  • Create typed errors: network, HTTP, decoding
  • Provide user-friendly error messages
  • Handle: no internet, timeout, server errors

API Client Pattern

IMPORTANT: Discover project setup first

  • Check Package.swift/Podfile for: Alamofire, Moya, URLSession-only
  • Check for DI framework: Swinject, Resolver, Factory, manual

Then apply:

  • Protocol-based: protocol APIClient { func request<T: Decodable>(...) async throws -> T }
  • Typed errors: invalidURL, noData, httpError(Int), decodingError

Quality Checklist

  • Cancellation supported
  • Errors typed and handled
  • @MainActor for UI
  • No retain cycles in closures
  • Timeouts configured
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 · 56 lines · 52 tokens per session scan A d745bce1180c

Subscribe to this mod's changes

concurrency-networking-agent is an agent published in the GitHub repository Desquared/agents-rules-skills (4 stars, last pushed 25d ago), licensed MIT. It adds 52 tokens to every session and 419 once invoked, about $0.0003 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 agents, from other repositories

kotlin-backend-engineer

Kotlin/Spring Boot specialist. Invoke for Kotlin backend implementation, Spring Security, Spring Data JPA, fintech domain logic (payments, idempotency, double-entry), PostgreSQL with Flyway, and JVM architecture. Returns idiomatic Kotlin code grounded in simplicity.

pranav8494/team-of-agents · 60 tokens

kotlin-ktor-architect

Ktor + Kotlin architecture specialist. Validates route/service/repository layering, coroutine discipline, sealed-class error handling, Koin DI, and plugin configuration placement. Dispatch when touching routes, services, repositories, or data models.

onlygian/G-Forge · 52 tokens

kotlin-spring-boot-engineer

Expert Kotlin + Spring Boot engineer mastering Spring Boot 3+ with idiomatic Kotlin. Specializes in cloud-native microservices, reactive programming (WebFlux + coroutines), Spring Cloud integration, and enterprise solutions with focus on scalable, production-ready systems.

tagoro9/dotfiles · 59 tokens

developer-kotlin

Backend developer - implements Kotlin/Spring services and Telegram bots following Architect's design exactly. USE PROACTIVELY for implementation.

AndVl1/claude-plugin · 29 tokens

kotlin-specialist

Kotlin development with coroutines, Ktor, Kotlin Multiplatform, and idiomatic patterns.

Lua2147/claude-toolkit-catalog · 24 tokens

kotlin-expert

Use this agent PROACTIVELY when you need expert Kotlin backend development assistance, including: building Spring Boot applications with coroutines, implementing reactive patterns with WebFlux, handling precision arithmetic for financial systems, designing type-safe architectures, working with JOOQ/R2DBC for database…

provectus/claude-plugins · 87 tokens