Creator · Aaronontheweb
Last updated · Sep 2, 2026
Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary.
Creator · Aaronontheweb
Last updated · Sep 2, 2026
Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary.
Creator · Aaronontheweb
Last updated · Sep 2, 2026
Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary.
Creator · Aaronontheweb
Last updated · Sep 2, 2026
Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary.
Sandbox only
Install targets
Codex install prompt
Install the "csharp-concurrency-patterns" agent skill from https://github.com/Aaronontheweb/dotnet-skills/tree/master/skills/csharp-concurrency-patterns. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"aaronontheweb-csharp-concurrency-patterns","task":"Install csharp-concurrency-patterns","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Maintenance
fresh
30d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
1.1K
77/100 Quality · 79/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
1.1K GitHub stars
Repo activity
1.1K stars, 101 forks
Maintenance
30d since push
License
MIT
Install
npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patternsDo not use when
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
medium
Skill may inspect schemas, query databases, or work with persistent stores.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20csharp-concurrency-patterns%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20csharp-concurrency-patterns%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/aaronontheweb-csharp-concurrency-patterns/install
Agent should check
Copy prompt
Task: Use csharp-concurrency-patterns in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20csharp-concurrency-patterns%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/aaronontheweb-csharp-concurrency-patterns/install
Install command: npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/aaronontheweb-csharp-concurrency-patterns/install
LLM text format
/api/skills/aaronontheweb-csharp-concurrency-patterns/install?format=text
Find alternatives
/api/skills/search?q=csharp-concurrency-patterns&limit=3
Agent prompt
Use csharp-concurrency-patterns for this task. Review https://www.openagentskill.com/api/skills/aaronontheweb-csharp-concurrency-patterns/install, then install with: npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patternsRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/aaronontheweb-csharp-concurrency-patterns
LLM text
/api/registry/manifest/aaronontheweb-csharp-concurrency-patterns?format=text
Install alias
/api/registry/install/aaronontheweb-csharp-concurrency-patterns
Recommend
/api/registry/recommend?task=Use%20csharp-concurrency-patterns%20in%20an%20agent%20workflow&limit=3
Agent fit
Workflow automation
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Workflow automation
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS1.1K GitHub stars
Stars/forks activity
INFO1.1K stars, 101 forks; issue activity unavailable in current metadata
Recent maintenance
PASS30d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Workflow fit
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: csharp-concurrency-patterns description: Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary. invocable: false ---
# .NET Concurrency: Choosing the Right Tool
## When to Use This Skill
Use this skill when: - Deciding how to handle concurrent operations in .NET - Evaluating whether to use async/await, Channels, Akka.NET, or other abstractions - Tempted to use locks, semaphores, or other synchronization primitives - Need to process streams of data with backpressure, batching, or debouncing - Managing state across multiple concurrent entities
## Reference Files
- [advanced-concurrency.md](advanced-concurrency.md): Akka.NET Streams, Reactive Extensions, Akka.NET Actors (entity-per-actor, state machines, cluster sharding), and async local function patterns
## The Philosophy
**Start simple, escalate only when needed.**
Most concurrency problems can be solved with `async/await`. Only reach for more sophisticated tools when you have a specific need that async/await can't address cleanly.
**Try to avoid shared mutable state.** The best way to handle concurrency is to design it away. Immutable data, message passing, and isolated state (like actors) eliminate entire categories of bugs.
**Locks should be the exception, not the rule.** When you can't avoid shared mutable state: 1. **First choice:** Redesign to avoid it (immutability, message passing, actor isolation) 2. **Second choice:** Use `System.Collections.Concurrent` (ConcurrentDictionary, etc.) 3. **Third choice:** Use `Channel<T>` to serialize access through message passing 4. **Last resort:** Use `lock` for simple, short-lived critical sections
---
## Decision Tree
``` What are you trying to do? │ ├─► Wait for I/O (HTTP, database, file)? │ └─► Use async/await │ ├─► Process a collection in parallel (CPU-bound)? │ └─► Use Parallel.ForEachAsync │ ├─► Producer/consumer pattern (work queue)? │ └─► Use System.Threading.Channels │ ├─► UI event handling (debounce, throttle, combine)? │ └─► Use Reactive Extensions (Rx) │ ├─► Server-side stream processing (backpressure, batching)? │ └─► Use Akka.NET Streams │ ├─► State machines with complex transitions? │ └─► Use Akka.NET Actors (Become pattern) │ ├─► Manage state for many independent entities? │ └─► Use Akka.NET Actors (entity-per-actor) │ ├─► Coordinate multiple async operations? │ └─► Use Task.WhenAll / Task.WhenAny │ └─► None of the above fits? └─► Ask yourself: "Do I really need shared mutable state?" ├─► Yes → Consider redesigning to avoid it └─► Truly unavoidable → Use Channels or Actors to serialize access ```
---
## Level 1: async/await (Default Choice)
**Use for:** I/O-bound operations, non-blocking waits, most everyday concurrency.
```csharp // Simple async I/O public async Task<Order> GetOrderAsync(string orderId, CancellationToken ct) { var order = await _database.GetAsync(orderId, ct); var customer = await _customerService.GetAsync(order.CustomerId, ct); return order with { Customer = customer }; }
// Parallel async operations (when independent) public async Task<Dashboard> LoadDashboardAsync(string userId, CancellationToken ct) { var ordersTask = _orderService.GetRecentOrdersAsync(userId, ct); var notificationsTask = _notificationService.GetUnreadAsync(userId, ct); var statsTask = _statsService.GetUserStatsAsync(userId, ct);
await Task.WhenAll(ordersTask, notificationsTask, statsTask);
return new Dashboard( Orders: await ordersTask, Notifications: await notificationsTask, Stats: await statsTask); } ```
**Key principles:** Always accept `CancellationToken`. Use `ConfigureAwait(false)` in library code. Don't block on async code.
---
## Level 2: Parallel.ForEachAsync (CPU-Bound Parallelism)
**Use for:** Processing collections in parallel when work is CPU-bound or you need controlled concurrency.
```csharp public async Task ProcessOrdersAsync( IEnumerable<Order> orders, CancellationToken ct) { await Parallel.ForEachAsync( orders, new ParallelOptions { MaxDegreeOfParallelism = Environment.ProcessorCount, CancellationToken = ct }, async (order, token) => { await ProcessOrderAsync(order, token); }); } ```
**When NOT to use:** Pure I/O operations, when order matters, when you need backpressure.
---
## Level 3: System.Threading.Channels (Producer/Consumer)
**Use for:** Work queues, producer/consumer patterns, decoupling producers from consumers.
```csharp public class OrderProcessor { private readonly Channel<Order> _channel;
public OrderProcessor() { _channel = Channel.CreateBounded<Order>(new BoundedChannelOptions(100) { FullMode = BoundedChannelFullMode.Wait }); }
// Producer public async Task EnqueueOrderAsync(Order order, CancellationToken ct) { await _channel.Writer.WriteAsync(order, ct); }
// Consumer (run as background task) public async Task ProcessOrdersAsync(CancellationToken ct) { await foreach (var order in _channel.Reader.ReadAllAsync(ct)) { await ProcessOrderAsync(order, ct); } }
public void Complete() => _channel.Writer.Complete(); } ```
**Channels are good for:** Decoupling speed, buffering with backpressure, fan-out to workers, background queues.
**Channels are NOT good for:** Complex stream operations (batching, windowing), stateful per-entity processing, sophisticated supervision.
---
## Level 4+: Akka.NET Streams, Reactive Extensions, Actors
For advanced scenarios requiring stream processing, UI event composition, or stateful entity management, see [advanced-concurrency.md](advanced-concurrency.md).
**Akka.NET Streams** excel at server-side batching, throttling, and backpressure. **Reactive Extensions** are ideal for UI event composition. **Akka.NET Actors** handle entity-per-actor patterns, state machines with `Become()`, and distributed systems via Cluster Sharding.
---
## Anti-Patterns: What to Avoid
### Locks for Business Logic
```csharp // BAD: Using locks to protect shared state private readonly object _lock = new(); private Dictionary<string, Order> _orders = new();
public void UpdateOrder(string id, Action<Order> update) { lock (_lock) { if (_orders.TryGetValue(id, out var order)) update(order); } }
// GOOD: Use an actor or Channel to serialize access ```
### Manual Thread Management
```csharp // BAD: Creating threads manually var thread = new Thread(() => ProcessOrders()); thread.Start();
// GOOD: Use Task.Run or better abstractions _ = Task.Run(() => ProcessOrdersAsync(cancellationToken)); ```
### Blocking in Async Code
```csharp // BAD: Blocking on async - deadlock risk! var result = GetDataAsync().Result;
// GOOD: Async all the way var result = await GetDataAsync(); ```
### Shared Mutable State Without Protection
```csharp // BAD: Multiple tasks mutating shared state var results = new List<Result>(); await Parallel.ForEachAsync(items, async (item, ct) => { var result = await ProcessAsync(item, ct); results.Add(result); // Race condition! });
// GOOD: Use ConcurrentBag var results = new ConcurrentBag<Result>(); ```
---
## Quick Reference: Which Tool When?
| Need | Tool | Example | |------|------|---------| | Wait for I/O | `async/await` | HTTP calls, database queries | | Parallel CPU work | `Parallel.ForEachAsync` | Image processing, calculations | | Work queue | `Channel<T>` | Background job processing | | UI events with debounce/throttle | Reactive Extensions | Search-as-you-type, auto-save | | Server-side batching/throttling | Akka.NET Streams | Event aggregation, rate limiting | | State machines | Akka.NET Actors | Payment flows, order lifecycles | | Entity state management | Akka.NET Actors | Order management, user sessions | | Fire multiple async ops | `Task.WhenAll` | Loading dashboard data | | Race multiple async ops | `Task.WhenAny` | Timeout with fallback | | Periodic work | `PeriodicTimer` | Health checks, polling |
---
## The Escalation Path
``` async/await (start here) │ ├─► Need parallelism? → Parallel.ForEachAsync │ ├─► Need producer/consumer? → Channel<T> │ ├─► Need UI event composition? → Reactive Extensions │ ├─► Need server-side stream processing? → Akka.NET Streams │ └─► Need state machines or entity management? → Akka.NET Actors ```
**Only escalate when you have a concrete need.** Don't reach for actors or streams "just in case".
Source provenance
Decision snapshot
1,135 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for csharp-concurrency-patterns, ready for a manual X post.
csharp-concurrency-patterns: Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for... 1.1K stars https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=x
Listing + install path for csharp-concurrency-patterns: https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=x Install: npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to Aaronontheweb but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns/audit)
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)Aaronontheweb
@aaronontheweb
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsSandbox only
Install targets
Codex install prompt
Install the "csharp-concurrency-patterns" agent skill from https://github.com/Aaronontheweb/dotnet-skills/tree/master/skills/csharp-concurrency-patterns. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"aaronontheweb-csharp-concurrency-patterns","task":"Install csharp-concurrency-patterns","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Maintenance
fresh
30d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
1.1K
77/100 Quality · 79/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
1.1K GitHub stars
Repo activity
1.1K stars, 101 forks
Maintenance
30d since push
License
MIT
Install
npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patternsDo not use when
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
medium
Skill may inspect schemas, query databases, or work with persistent stores.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20csharp-concurrency-patterns%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20csharp-concurrency-patterns%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/aaronontheweb-csharp-concurrency-patterns/install
Agent should check
Copy prompt
Task: Use csharp-concurrency-patterns in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20csharp-concurrency-patterns%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/aaronontheweb-csharp-concurrency-patterns/install
Install command: npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/aaronontheweb-csharp-concurrency-patterns/install
LLM text format
/api/skills/aaronontheweb-csharp-concurrency-patterns/install?format=text
Find alternatives
/api/skills/search?q=csharp-concurrency-patterns&limit=3
Agent prompt
Use csharp-concurrency-patterns for this task. Review https://www.openagentskill.com/api/skills/aaronontheweb-csharp-concurrency-patterns/install, then install with: npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patternsRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/aaronontheweb-csharp-concurrency-patterns
LLM text
/api/registry/manifest/aaronontheweb-csharp-concurrency-patterns?format=text
Install alias
/api/registry/install/aaronontheweb-csharp-concurrency-patterns
Recommend
/api/registry/recommend?task=Use%20csharp-concurrency-patterns%20in%20an%20agent%20workflow&limit=3
Agent fit
Workflow automation
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Workflow automation
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS1.1K GitHub stars
Stars/forks activity
INFO1.1K stars, 101 forks; issue activity unavailable in current metadata
Recent maintenance
PASS30d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Workflow fit
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: csharp-concurrency-patterns description: Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary. invocable: false ---
# .NET Concurrency: Choosing the Right Tool
## When to Use This Skill
Use this skill when: - Deciding how to handle concurrent operations in .NET - Evaluating whether to use async/await, Channels, Akka.NET, or other abstractions - Tempted to use locks, semaphores, or other synchronization primitives - Need to process streams of data with backpressure, batching, or debouncing - Managing state across multiple concurrent entities
## Reference Files
- [advanced-concurrency.md](advanced-concurrency.md): Akka.NET Streams, Reactive Extensions, Akka.NET Actors (entity-per-actor, state machines, cluster sharding), and async local function patterns
## The Philosophy
**Start simple, escalate only when needed.**
Most concurrency problems can be solved with `async/await`. Only reach for more sophisticated tools when you have a specific need that async/await can't address cleanly.
**Try to avoid shared mutable state.** The best way to handle concurrency is to design it away. Immutable data, message passing, and isolated state (like actors) eliminate entire categories of bugs.
**Locks should be the exception, not the rule.** When you can't avoid shared mutable state: 1. **First choice:** Redesign to avoid it (immutability, message passing, actor isolation) 2. **Second choice:** Use `System.Collections.Concurrent` (ConcurrentDictionary, etc.) 3. **Third choice:** Use `Channel<T>` to serialize access through message passing 4. **Last resort:** Use `lock` for simple, short-lived critical sections
---
## Decision Tree
``` What are you trying to do? │ ├─► Wait for I/O (HTTP, database, file)? │ └─► Use async/await │ ├─► Process a collection in parallel (CPU-bound)? │ └─► Use Parallel.ForEachAsync │ ├─► Producer/consumer pattern (work queue)? │ └─► Use System.Threading.Channels │ ├─► UI event handling (debounce, throttle, combine)? │ └─► Use Reactive Extensions (Rx) │ ├─► Server-side stream processing (backpressure, batching)? │ └─► Use Akka.NET Streams │ ├─► State machines with complex transitions? │ └─► Use Akka.NET Actors (Become pattern) │ ├─► Manage state for many independent entities? │ └─► Use Akka.NET Actors (entity-per-actor) │ ├─► Coordinate multiple async operations? │ └─► Use Task.WhenAll / Task.WhenAny │ └─► None of the above fits? └─► Ask yourself: "Do I really need shared mutable state?" ├─► Yes → Consider redesigning to avoid it └─► Truly unavoidable → Use Channels or Actors to serialize access ```
---
## Level 1: async/await (Default Choice)
**Use for:** I/O-bound operations, non-blocking waits, most everyday concurrency.
```csharp // Simple async I/O public async Task<Order> GetOrderAsync(string orderId, CancellationToken ct) { var order = await _database.GetAsync(orderId, ct); var customer = await _customerService.GetAsync(order.CustomerId, ct); return order with { Customer = customer }; }
// Parallel async operations (when independent) public async Task<Dashboard> LoadDashboardAsync(string userId, CancellationToken ct) { var ordersTask = _orderService.GetRecentOrdersAsync(userId, ct); var notificationsTask = _notificationService.GetUnreadAsync(userId, ct); var statsTask = _statsService.GetUserStatsAsync(userId, ct);
await Task.WhenAll(ordersTask, notificationsTask, statsTask);
return new Dashboard( Orders: await ordersTask, Notifications: await notificationsTask, Stats: await statsTask); } ```
**Key principles:** Always accept `CancellationToken`. Use `ConfigureAwait(false)` in library code. Don't block on async code.
---
## Level 2: Parallel.ForEachAsync (CPU-Bound Parallelism)
**Use for:** Processing collections in parallel when work is CPU-bound or you need controlled concurrency.
```csharp public async Task ProcessOrdersAsync( IEnumerable<Order> orders, CancellationToken ct) { await Parallel.ForEachAsync( orders, new ParallelOptions { MaxDegreeOfParallelism = Environment.ProcessorCount, CancellationToken = ct }, async (order, token) => { await ProcessOrderAsync(order, token); }); } ```
**When NOT to use:** Pure I/O operations, when order matters, when you need backpressure.
---
## Level 3: System.Threading.Channels (Producer/Consumer)
**Use for:** Work queues, producer/consumer patterns, decoupling producers from consumers.
```csharp public class OrderProcessor { private readonly Channel<Order> _channel;
public OrderProcessor() { _channel = Channel.CreateBounded<Order>(new BoundedChannelOptions(100) { FullMode = BoundedChannelFullMode.Wait }); }
// Producer public async Task EnqueueOrderAsync(Order order, CancellationToken ct) { await _channel.Writer.WriteAsync(order, ct); }
// Consumer (run as background task) public async Task ProcessOrdersAsync(CancellationToken ct) { await foreach (var order in _channel.Reader.ReadAllAsync(ct)) { await ProcessOrderAsync(order, ct); } }
public void Complete() => _channel.Writer.Complete(); } ```
**Channels are good for:** Decoupling speed, buffering with backpressure, fan-out to workers, background queues.
**Channels are NOT good for:** Complex stream operations (batching, windowing), stateful per-entity processing, sophisticated supervision.
---
## Level 4+: Akka.NET Streams, Reactive Extensions, Actors
For advanced scenarios requiring stream processing, UI event composition, or stateful entity management, see [advanced-concurrency.md](advanced-concurrency.md).
**Akka.NET Streams** excel at server-side batching, throttling, and backpressure. **Reactive Extensions** are ideal for UI event composition. **Akka.NET Actors** handle entity-per-actor patterns, state machines with `Become()`, and distributed systems via Cluster Sharding.
---
## Anti-Patterns: What to Avoid
### Locks for Business Logic
```csharp // BAD: Using locks to protect shared state private readonly object _lock = new(); private Dictionary<string, Order> _orders = new();
public void UpdateOrder(string id, Action<Order> update) { lock (_lock) { if (_orders.TryGetValue(id, out var order)) update(order); } }
// GOOD: Use an actor or Channel to serialize access ```
### Manual Thread Management
```csharp // BAD: Creating threads manually var thread = new Thread(() => ProcessOrders()); thread.Start();
// GOOD: Use Task.Run or better abstractions _ = Task.Run(() => ProcessOrdersAsync(cancellationToken)); ```
### Blocking in Async Code
```csharp // BAD: Blocking on async - deadlock risk! var result = GetDataAsync().Result;
// GOOD: Async all the way var result = await GetDataAsync(); ```
### Shared Mutable State Without Protection
```csharp // BAD: Multiple tasks mutating shared state var results = new List<Result>(); await Parallel.ForEachAsync(items, async (item, ct) => { var result = await ProcessAsync(item, ct); results.Add(result); // Race condition! });
// GOOD: Use ConcurrentBag var results = new ConcurrentBag<Result>(); ```
---
## Quick Reference: Which Tool When?
| Need | Tool | Example | |------|------|---------| | Wait for I/O | `async/await` | HTTP calls, database queries | | Parallel CPU work | `Parallel.ForEachAsync` | Image processing, calculations | | Work queue | `Channel<T>` | Background job processing | | UI events with debounce/throttle | Reactive Extensions | Search-as-you-type, auto-save | | Server-side batching/throttling | Akka.NET Streams | Event aggregation, rate limiting | | State machines | Akka.NET Actors | Payment flows, order lifecycles | | Entity state management | Akka.NET Actors | Order management, user sessions | | Fire multiple async ops | `Task.WhenAll` | Loading dashboard data | | Race multiple async ops | `Task.WhenAny` | Timeout with fallback | | Periodic work | `PeriodicTimer` | Health checks, polling |
---
## The Escalation Path
``` async/await (start here) │ ├─► Need parallelism? → Parallel.ForEachAsync │ ├─► Need producer/consumer? → Channel<T> │ ├─► Need UI event composition? → Reactive Extensions │ ├─► Need server-side stream processing? → Akka.NET Streams │ └─► Need state machines or entity management? → Akka.NET Actors ```
**Only escalate when you have a concrete need.** Don't reach for actors or streams "just in case".
Source provenance
Decision snapshot
1,135 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for csharp-concurrency-patterns, ready for a manual X post.
csharp-concurrency-patterns: Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for... 1.1K stars https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=x
Listing + install path for csharp-concurrency-patterns: https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=x Install: npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to Aaronontheweb but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns/audit)
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)Aaronontheweb
@aaronontheweb
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsSandbox only
Install targets
Codex install prompt
Install the "csharp-concurrency-patterns" agent skill from https://github.com/Aaronontheweb/dotnet-skills/tree/master/skills/csharp-concurrency-patterns. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"aaronontheweb-csharp-concurrency-patterns","task":"Install csharp-concurrency-patterns","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Maintenance
fresh
30d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
1.1K
77/100 Quality · 79/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
1.1K GitHub stars
Repo activity
1.1K stars, 101 forks
Maintenance
30d since push
License
MIT
Install
npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patternsDo not use when
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
medium
Skill may inspect schemas, query databases, or work with persistent stores.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20csharp-concurrency-patterns%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20csharp-concurrency-patterns%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/aaronontheweb-csharp-concurrency-patterns/install
Agent should check
Copy prompt
Task: Use csharp-concurrency-patterns in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20csharp-concurrency-patterns%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/aaronontheweb-csharp-concurrency-patterns/install
Install command: npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/aaronontheweb-csharp-concurrency-patterns/install
LLM text format
/api/skills/aaronontheweb-csharp-concurrency-patterns/install?format=text
Find alternatives
/api/skills/search?q=csharp-concurrency-patterns&limit=3
Agent prompt
Use csharp-concurrency-patterns for this task. Review https://www.openagentskill.com/api/skills/aaronontheweb-csharp-concurrency-patterns/install, then install with: npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patternsRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/aaronontheweb-csharp-concurrency-patterns
LLM text
/api/registry/manifest/aaronontheweb-csharp-concurrency-patterns?format=text
Install alias
/api/registry/install/aaronontheweb-csharp-concurrency-patterns
Recommend
/api/registry/recommend?task=Use%20csharp-concurrency-patterns%20in%20an%20agent%20workflow&limit=3
Agent fit
Workflow automation
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Workflow automation
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS1.1K GitHub stars
Stars/forks activity
INFO1.1K stars, 101 forks; issue activity unavailable in current metadata
Recent maintenance
PASS30d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Workflow fit
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: csharp-concurrency-patterns description: Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary. invocable: false ---
# .NET Concurrency: Choosing the Right Tool
## When to Use This Skill
Use this skill when: - Deciding how to handle concurrent operations in .NET - Evaluating whether to use async/await, Channels, Akka.NET, or other abstractions - Tempted to use locks, semaphores, or other synchronization primitives - Need to process streams of data with backpressure, batching, or debouncing - Managing state across multiple concurrent entities
## Reference Files
- [advanced-concurrency.md](advanced-concurrency.md): Akka.NET Streams, Reactive Extensions, Akka.NET Actors (entity-per-actor, state machines, cluster sharding), and async local function patterns
## The Philosophy
**Start simple, escalate only when needed.**
Most concurrency problems can be solved with `async/await`. Only reach for more sophisticated tools when you have a specific need that async/await can't address cleanly.
**Try to avoid shared mutable state.** The best way to handle concurrency is to design it away. Immutable data, message passing, and isolated state (like actors) eliminate entire categories of bugs.
**Locks should be the exception, not the rule.** When you can't avoid shared mutable state: 1. **First choice:** Redesign to avoid it (immutability, message passing, actor isolation) 2. **Second choice:** Use `System.Collections.Concurrent` (ConcurrentDictionary, etc.) 3. **Third choice:** Use `Channel<T>` to serialize access through message passing 4. **Last resort:** Use `lock` for simple, short-lived critical sections
---
## Decision Tree
``` What are you trying to do? │ ├─► Wait for I/O (HTTP, database, file)? │ └─► Use async/await │ ├─► Process a collection in parallel (CPU-bound)? │ └─► Use Parallel.ForEachAsync │ ├─► Producer/consumer pattern (work queue)? │ └─► Use System.Threading.Channels │ ├─► UI event handling (debounce, throttle, combine)? │ └─► Use Reactive Extensions (Rx) │ ├─► Server-side stream processing (backpressure, batching)? │ └─► Use Akka.NET Streams │ ├─► State machines with complex transitions? │ └─► Use Akka.NET Actors (Become pattern) │ ├─► Manage state for many independent entities? │ └─► Use Akka.NET Actors (entity-per-actor) │ ├─► Coordinate multiple async operations? │ └─► Use Task.WhenAll / Task.WhenAny │ └─► None of the above fits? └─► Ask yourself: "Do I really need shared mutable state?" ├─► Yes → Consider redesigning to avoid it └─► Truly unavoidable → Use Channels or Actors to serialize access ```
---
## Level 1: async/await (Default Choice)
**Use for:** I/O-bound operations, non-blocking waits, most everyday concurrency.
```csharp // Simple async I/O public async Task<Order> GetOrderAsync(string orderId, CancellationToken ct) { var order = await _database.GetAsync(orderId, ct); var customer = await _customerService.GetAsync(order.CustomerId, ct); return order with { Customer = customer }; }
// Parallel async operations (when independent) public async Task<Dashboard> LoadDashboardAsync(string userId, CancellationToken ct) { var ordersTask = _orderService.GetRecentOrdersAsync(userId, ct); var notificationsTask = _notificationService.GetUnreadAsync(userId, ct); var statsTask = _statsService.GetUserStatsAsync(userId, ct);
await Task.WhenAll(ordersTask, notificationsTask, statsTask);
return new Dashboard( Orders: await ordersTask, Notifications: await notificationsTask, Stats: await statsTask); } ```
**Key principles:** Always accept `CancellationToken`. Use `ConfigureAwait(false)` in library code. Don't block on async code.
---
## Level 2: Parallel.ForEachAsync (CPU-Bound Parallelism)
**Use for:** Processing collections in parallel when work is CPU-bound or you need controlled concurrency.
```csharp public async Task ProcessOrdersAsync( IEnumerable<Order> orders, CancellationToken ct) { await Parallel.ForEachAsync( orders, new ParallelOptions { MaxDegreeOfParallelism = Environment.ProcessorCount, CancellationToken = ct }, async (order, token) => { await ProcessOrderAsync(order, token); }); } ```
**When NOT to use:** Pure I/O operations, when order matters, when you need backpressure.
---
## Level 3: System.Threading.Channels (Producer/Consumer)
**Use for:** Work queues, producer/consumer patterns, decoupling producers from consumers.
```csharp public class OrderProcessor { private readonly Channel<Order> _channel;
public OrderProcessor() { _channel = Channel.CreateBounded<Order>(new BoundedChannelOptions(100) { FullMode = BoundedChannelFullMode.Wait }); }
// Producer public async Task EnqueueOrderAsync(Order order, CancellationToken ct) { await _channel.Writer.WriteAsync(order, ct); }
// Consumer (run as background task) public async Task ProcessOrdersAsync(CancellationToken ct) { await foreach (var order in _channel.Reader.ReadAllAsync(ct)) { await ProcessOrderAsync(order, ct); } }
public void Complete() => _channel.Writer.Complete(); } ```
**Channels are good for:** Decoupling speed, buffering with backpressure, fan-out to workers, background queues.
**Channels are NOT good for:** Complex stream operations (batching, windowing), stateful per-entity processing, sophisticated supervision.
---
## Level 4+: Akka.NET Streams, Reactive Extensions, Actors
For advanced scenarios requiring stream processing, UI event composition, or stateful entity management, see [advanced-concurrency.md](advanced-concurrency.md).
**Akka.NET Streams** excel at server-side batching, throttling, and backpressure. **Reactive Extensions** are ideal for UI event composition. **Akka.NET Actors** handle entity-per-actor patterns, state machines with `Become()`, and distributed systems via Cluster Sharding.
---
## Anti-Patterns: What to Avoid
### Locks for Business Logic
```csharp // BAD: Using locks to protect shared state private readonly object _lock = new(); private Dictionary<string, Order> _orders = new();
public void UpdateOrder(string id, Action<Order> update) { lock (_lock) { if (_orders.TryGetValue(id, out var order)) update(order); } }
// GOOD: Use an actor or Channel to serialize access ```
### Manual Thread Management
```csharp // BAD: Creating threads manually var thread = new Thread(() => ProcessOrders()); thread.Start();
// GOOD: Use Task.Run or better abstractions _ = Task.Run(() => ProcessOrdersAsync(cancellationToken)); ```
### Blocking in Async Code
```csharp // BAD: Blocking on async - deadlock risk! var result = GetDataAsync().Result;
// GOOD: Async all the way var result = await GetDataAsync(); ```
### Shared Mutable State Without Protection
```csharp // BAD: Multiple tasks mutating shared state var results = new List<Result>(); await Parallel.ForEachAsync(items, async (item, ct) => { var result = await ProcessAsync(item, ct); results.Add(result); // Race condition! });
// GOOD: Use ConcurrentBag var results = new ConcurrentBag<Result>(); ```
---
## Quick Reference: Which Tool When?
| Need | Tool | Example | |------|------|---------| | Wait for I/O | `async/await` | HTTP calls, database queries | | Parallel CPU work | `Parallel.ForEachAsync` | Image processing, calculations | | Work queue | `Channel<T>` | Background job processing | | UI events with debounce/throttle | Reactive Extensions | Search-as-you-type, auto-save | | Server-side batching/throttling | Akka.NET Streams | Event aggregation, rate limiting | | State machines | Akka.NET Actors | Payment flows, order lifecycles | | Entity state management | Akka.NET Actors | Order management, user sessions | | Fire multiple async ops | `Task.WhenAll` | Loading dashboard data | | Race multiple async ops | `Task.WhenAny` | Timeout with fallback | | Periodic work | `PeriodicTimer` | Health checks, polling |
---
## The Escalation Path
``` async/await (start here) │ ├─► Need parallelism? → Parallel.ForEachAsync │ ├─► Need producer/consumer? → Channel<T> │ ├─► Need UI event composition? → Reactive Extensions │ ├─► Need server-side stream processing? → Akka.NET Streams │ └─► Need state machines or entity management? → Akka.NET Actors ```
**Only escalate when you have a concrete need.** Don't reach for actors or streams "just in case".
Source provenance
Decision snapshot
1,135 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for csharp-concurrency-patterns, ready for a manual X post.
csharp-concurrency-patterns: Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for... 1.1K stars https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=x
Listing + install path for csharp-concurrency-patterns: https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=x Install: npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to Aaronontheweb but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns/audit)
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)Aaronontheweb
@aaronontheweb
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsSandbox only
Install targets
Codex install prompt
Install the "csharp-concurrency-patterns" agent skill from https://github.com/Aaronontheweb/dotnet-skills/tree/master/skills/csharp-concurrency-patterns. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"aaronontheweb-csharp-concurrency-patterns","task":"Install csharp-concurrency-patterns","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Maintenance
fresh
30d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
1.1K
77/100 Quality · 79/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
1.1K GitHub stars
Repo activity
1.1K stars, 101 forks
Maintenance
30d since push
License
MIT
Install
npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patternsDo not use when
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
medium
Skill may inspect schemas, query databases, or work with persistent stores.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20csharp-concurrency-patterns%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20csharp-concurrency-patterns%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/aaronontheweb-csharp-concurrency-patterns/install
Agent should check
Copy prompt
Task: Use csharp-concurrency-patterns in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20csharp-concurrency-patterns%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/aaronontheweb-csharp-concurrency-patterns/install
Install command: npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/aaronontheweb-csharp-concurrency-patterns/install
LLM text format
/api/skills/aaronontheweb-csharp-concurrency-patterns/install?format=text
Find alternatives
/api/skills/search?q=csharp-concurrency-patterns&limit=3
Agent prompt
Use csharp-concurrency-patterns for this task. Review https://www.openagentskill.com/api/skills/aaronontheweb-csharp-concurrency-patterns/install, then install with: npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patternsRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/aaronontheweb-csharp-concurrency-patterns
LLM text
/api/registry/manifest/aaronontheweb-csharp-concurrency-patterns?format=text
Install alias
/api/registry/install/aaronontheweb-csharp-concurrency-patterns
Recommend
/api/registry/recommend?task=Use%20csharp-concurrency-patterns%20in%20an%20agent%20workflow&limit=3
Agent fit
Workflow automation
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Workflow automation
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS1.1K GitHub stars
Stars/forks activity
INFO1.1K stars, 101 forks; issue activity unavailable in current metadata
Recent maintenance
PASS30d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Workflow fit
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: csharp-concurrency-patterns description: Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary. invocable: false ---
# .NET Concurrency: Choosing the Right Tool
## When to Use This Skill
Use this skill when: - Deciding how to handle concurrent operations in .NET - Evaluating whether to use async/await, Channels, Akka.NET, or other abstractions - Tempted to use locks, semaphores, or other synchronization primitives - Need to process streams of data with backpressure, batching, or debouncing - Managing state across multiple concurrent entities
## Reference Files
- [advanced-concurrency.md](advanced-concurrency.md): Akka.NET Streams, Reactive Extensions, Akka.NET Actors (entity-per-actor, state machines, cluster sharding), and async local function patterns
## The Philosophy
**Start simple, escalate only when needed.**
Most concurrency problems can be solved with `async/await`. Only reach for more sophisticated tools when you have a specific need that async/await can't address cleanly.
**Try to avoid shared mutable state.** The best way to handle concurrency is to design it away. Immutable data, message passing, and isolated state (like actors) eliminate entire categories of bugs.
**Locks should be the exception, not the rule.** When you can't avoid shared mutable state: 1. **First choice:** Redesign to avoid it (immutability, message passing, actor isolation) 2. **Second choice:** Use `System.Collections.Concurrent` (ConcurrentDictionary, etc.) 3. **Third choice:** Use `Channel<T>` to serialize access through message passing 4. **Last resort:** Use `lock` for simple, short-lived critical sections
---
## Decision Tree
``` What are you trying to do? │ ├─► Wait for I/O (HTTP, database, file)? │ └─► Use async/await │ ├─► Process a collection in parallel (CPU-bound)? │ └─► Use Parallel.ForEachAsync │ ├─► Producer/consumer pattern (work queue)? │ └─► Use System.Threading.Channels │ ├─► UI event handling (debounce, throttle, combine)? │ └─► Use Reactive Extensions (Rx) │ ├─► Server-side stream processing (backpressure, batching)? │ └─► Use Akka.NET Streams │ ├─► State machines with complex transitions? │ └─► Use Akka.NET Actors (Become pattern) │ ├─► Manage state for many independent entities? │ └─► Use Akka.NET Actors (entity-per-actor) │ ├─► Coordinate multiple async operations? │ └─► Use Task.WhenAll / Task.WhenAny │ └─► None of the above fits? └─► Ask yourself: "Do I really need shared mutable state?" ├─► Yes → Consider redesigning to avoid it └─► Truly unavoidable → Use Channels or Actors to serialize access ```
---
## Level 1: async/await (Default Choice)
**Use for:** I/O-bound operations, non-blocking waits, most everyday concurrency.
```csharp // Simple async I/O public async Task<Order> GetOrderAsync(string orderId, CancellationToken ct) { var order = await _database.GetAsync(orderId, ct); var customer = await _customerService.GetAsync(order.CustomerId, ct); return order with { Customer = customer }; }
// Parallel async operations (when independent) public async Task<Dashboard> LoadDashboardAsync(string userId, CancellationToken ct) { var ordersTask = _orderService.GetRecentOrdersAsync(userId, ct); var notificationsTask = _notificationService.GetUnreadAsync(userId, ct); var statsTask = _statsService.GetUserStatsAsync(userId, ct);
await Task.WhenAll(ordersTask, notificationsTask, statsTask);
return new Dashboard( Orders: await ordersTask, Notifications: await notificationsTask, Stats: await statsTask); } ```
**Key principles:** Always accept `CancellationToken`. Use `ConfigureAwait(false)` in library code. Don't block on async code.
---
## Level 2: Parallel.ForEachAsync (CPU-Bound Parallelism)
**Use for:** Processing collections in parallel when work is CPU-bound or you need controlled concurrency.
```csharp public async Task ProcessOrdersAsync( IEnumerable<Order> orders, CancellationToken ct) { await Parallel.ForEachAsync( orders, new ParallelOptions { MaxDegreeOfParallelism = Environment.ProcessorCount, CancellationToken = ct }, async (order, token) => { await ProcessOrderAsync(order, token); }); } ```
**When NOT to use:** Pure I/O operations, when order matters, when you need backpressure.
---
## Level 3: System.Threading.Channels (Producer/Consumer)
**Use for:** Work queues, producer/consumer patterns, decoupling producers from consumers.
```csharp public class OrderProcessor { private readonly Channel<Order> _channel;
public OrderProcessor() { _channel = Channel.CreateBounded<Order>(new BoundedChannelOptions(100) { FullMode = BoundedChannelFullMode.Wait }); }
// Producer public async Task EnqueueOrderAsync(Order order, CancellationToken ct) { await _channel.Writer.WriteAsync(order, ct); }
// Consumer (run as background task) public async Task ProcessOrdersAsync(CancellationToken ct) { await foreach (var order in _channel.Reader.ReadAllAsync(ct)) { await ProcessOrderAsync(order, ct); } }
public void Complete() => _channel.Writer.Complete(); } ```
**Channels are good for:** Decoupling speed, buffering with backpressure, fan-out to workers, background queues.
**Channels are NOT good for:** Complex stream operations (batching, windowing), stateful per-entity processing, sophisticated supervision.
---
## Level 4+: Akka.NET Streams, Reactive Extensions, Actors
For advanced scenarios requiring stream processing, UI event composition, or stateful entity management, see [advanced-concurrency.md](advanced-concurrency.md).
**Akka.NET Streams** excel at server-side batching, throttling, and backpressure. **Reactive Extensions** are ideal for UI event composition. **Akka.NET Actors** handle entity-per-actor patterns, state machines with `Become()`, and distributed systems via Cluster Sharding.
---
## Anti-Patterns: What to Avoid
### Locks for Business Logic
```csharp // BAD: Using locks to protect shared state private readonly object _lock = new(); private Dictionary<string, Order> _orders = new();
public void UpdateOrder(string id, Action<Order> update) { lock (_lock) { if (_orders.TryGetValue(id, out var order)) update(order); } }
// GOOD: Use an actor or Channel to serialize access ```
### Manual Thread Management
```csharp // BAD: Creating threads manually var thread = new Thread(() => ProcessOrders()); thread.Start();
// GOOD: Use Task.Run or better abstractions _ = Task.Run(() => ProcessOrdersAsync(cancellationToken)); ```
### Blocking in Async Code
```csharp // BAD: Blocking on async - deadlock risk! var result = GetDataAsync().Result;
// GOOD: Async all the way var result = await GetDataAsync(); ```
### Shared Mutable State Without Protection
```csharp // BAD: Multiple tasks mutating shared state var results = new List<Result>(); await Parallel.ForEachAsync(items, async (item, ct) => { var result = await ProcessAsync(item, ct); results.Add(result); // Race condition! });
// GOOD: Use ConcurrentBag var results = new ConcurrentBag<Result>(); ```
---
## Quick Reference: Which Tool When?
| Need | Tool | Example | |------|------|---------| | Wait for I/O | `async/await` | HTTP calls, database queries | | Parallel CPU work | `Parallel.ForEachAsync` | Image processing, calculations | | Work queue | `Channel<T>` | Background job processing | | UI events with debounce/throttle | Reactive Extensions | Search-as-you-type, auto-save | | Server-side batching/throttling | Akka.NET Streams | Event aggregation, rate limiting | | State machines | Akka.NET Actors | Payment flows, order lifecycles | | Entity state management | Akka.NET Actors | Order management, user sessions | | Fire multiple async ops | `Task.WhenAll` | Loading dashboard data | | Race multiple async ops | `Task.WhenAny` | Timeout with fallback | | Periodic work | `PeriodicTimer` | Health checks, polling |
---
## The Escalation Path
``` async/await (start here) │ ├─► Need parallelism? → Parallel.ForEachAsync │ ├─► Need producer/consumer? → Channel<T> │ ├─► Need UI event composition? → Reactive Extensions │ ├─► Need server-side stream processing? → Akka.NET Streams │ └─► Need state machines or entity management? → Akka.NET Actors ```
**Only escalate when you have a concrete need.** Don't reach for actors or streams "just in case".
Source provenance
Decision snapshot
1,135 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for csharp-concurrency-patterns, ready for a manual X post.
csharp-concurrency-patterns: Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for... 1.1K stars https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=x
Listing + install path for csharp-concurrency-patterns: https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=x Install: npx skills add Aaronontheweb/dotnet-skills --skill csharp-concurrency-patterns
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to Aaronontheweb but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns/audit)
[](https://www.openagentskill.com/skills/aaronontheweb-csharp-concurrency-patterns?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)Aaronontheweb
@aaronontheweb
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsPermission surface
secrets or environment access, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness