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.
npx agentmods add agents/desquared/agents-rules-skills/android-concurrency-networking-agentgit clone --depth 1 https://github.com/Desquared/agents-rules-skillsWrote 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.
[](https://agentmods.dev/agents/desquared/agents-rules-skills/android-concurrency-networking-agent)<a href="https://agentmods.dev/agents/desquared/agents-rules-skills/android-concurrency-networking-agent"><img src="https://agentmods.dev/badge/agents/desquared/agents-rules-skills/android-concurrency-networking-agent.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.00497 |
| Opus 5 | $0.00028 | $0.00249 |
| Sonnet 5 | $0.00011 | $0.00099 |
| Haiku 4.5 | $0.00006 | $0.00050 |
Grade A, and why
concurrency-networking-agent-android 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 5d 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.
What it actually says
Core Expertise
- Coroutines: suspend, launch, async, withContext
- Flow: StateFlow, SharedFlow, cold flows, operators
- Structured concurrency: CoroutineScope, SupervisorJob, cancellation
- Ktor/Retrofit async APIs, request/response handling
- Error handling, retry strategies, cancellation
Key Guidelines
Coroutines
- Prefer suspend functions over callbacks
- Use structured concurrency (avoid GlobalScope)
- Switch dispatchers: Dispatchers.IO for network/disk, Dispatchers.Main for UI
- Support cancellation: check isActive or use ensureActive()
- Use supervisorScope for independent child failures
Flow
- StateFlow for single value state (like LiveData)
- SharedFlow for events (hot flow)
- Cold flows for data streams
- Use .stateIn() or .shareIn() to convert cold → hot
- Collect in lifecycleScope or viewModelScope
Networking
- Discover project's HTTP client (Ktor, Retrofit, OkHttp)
- Use suspend functions for API calls
- Handle HTTP status codes explicitly
- Support cancellation via Job cancellation
- Implement retry with exponential backoff for transient failures
- Use sealed class for Result types
Error Handling
- Create typed errors: NetworkError, HttpError, ParseError
- Provide user-friendly error messages
- Handle: no internet, timeout, server errors
- Use Result or sealed class for success/failure
API Client Pattern
IMPORTANT: Discover project setup first
- Check build.gradle for: Ktor, Retrofit, OkHttp
- Check for DI framework: Koin, Hilt, Dagger, manual
Then apply:
- Repository pattern: suspend functions return Result
- Typed errors: sealed class ApiError
- Use Dispatchers.IO for network operations
- Inject HttpClient via DI (discovered framework)
Quality Checklist
- Cancellation supported
- Errors typed and handled
- Dispatchers used correctly (IO/Main)
- No leaked coroutines (use structured scopes)
- Timeouts configured
- Flow lifecycle-aware collection
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.
- 5d ago First seen · 64 lines · 55 tokens per session scan A 1a1630c5eb7c
concurrency-networking-agent-android is an agent published in the GitHub repository Desquared/agents-rules-skills (4 stars, last pushed 22d ago), licensed MIT. It adds 55 tokens to every session and 497 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.
Other agents, from other repositories
android-dev
Android/Kotlin development expert. Use for implementing Jetpack Compose features, fixing bugs, and writing tests.
ios-engineer
实现和审查单平台 iOS Native Module、Bridge Adapter、Native UI、Xcode/SwiftPM 接线、平台测试与构建;不负责 Android、Dart Client 或跨端 Wire Contract。.
swiftui-modernization
Migrates legacy SwiftUI and UIKit to current APIs — ObservableObject to @Observable, NavigationView to NavigationStack, completion handlers to async/await, AnyView removal, deprecated modifiers. Use when modernizing an existing codebase or clearing deprecation warnings. Behavior-preserving; requires a green test…
swiftui-architect
Specialist in modern iOS app architecture with SwiftUI (iOS 26 / Swift 6.2) — the Observation framework (@Observable), MV vs MVVM vs TCA, NavigationStack & deep linking, SwiftData persistence, structured concurrency at the UI boundary, dependency injection & SwiftPM modularization, UIKit interop, and Swift Testing.…
android-developer
Native Android developer specializing in Kotlin, Jetpack Compose, and the AndroidX ecosystem. Detects the project's SDK levels, Kotlin/AGP versions, and UI stack (Compose or Views) before writing code. Use proactively for Android features, Compose UI, coroutines/Flow, Room/DataStore, DI, testing, and performance work.
kmp-architect
KMP architecture expert. Designs shared module structures, expect/actual patterns, navigation, and DI for Kotlin Multiplatform projects.