process-api-net11

process-api-net11 is a skill for Claude Code from dotnet/skills. It costs 174 tokens per session (9,836 once invoked), scanned A, original, MIT.

A guide to process-management APIs introduced in .NET 11. These APIs let a C# or other .NET program start external programs, capture their output, control inherited handles, and manage child-process lifetimes.

In plain words
What is it for?
Use it when a .NET 11-or-later application must run external commands, read their text, bytes, or lines, start detached processes, or stop children when the parent ends.
Why use it?
It reduces repeated process-handling code and addresses problems such as output-capture deadlocks or child processes continuing after the parent exits.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dotnet11 plugin — 2 skills shipped together

Good fit Use it when a .NET 11-or-later application must run external commands, read their text, bytes, or lines, start detached processes, or stop children when the parent ends.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dotnet/skills/process-api-net11
About the project

.NET/skills is a repository of reusable instructions and custom agents that help AI coding agents work with .NET and C#. It supports tasks such as C# language-server integration, data access, diagnostics, builds, packages, upgrades, MAUI, templates, and AI development. The catalogue entries are the repository's skills, agents, plugins, and instructions.

dotnet/skills · 6,409 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dotnet/skills --skill process-api-net11
Clone the repo
git clone --depth 1 https://github.com/dotnet/skills

Made for: Claude Code.

Or install dotnet11, the plugin that ships this one along with the rest of its 2 skills.

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 process-api-net11

README.md
[![agentmods](https://agentmods.dev/badge/skills/dotnet/skills/process-api-net11/github.svg)](https://agentmods.dev/skills/dotnet/skills/process-api-net11)
Your own site
<a href="https://agentmods.dev/skills/dotnet/skills/process-api-net11"><img src="https://agentmods.dev/badge/skills/dotnet/skills/process-api-net11/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 process-api-net11

Your own site · 80×15
<a href="https://agentmods.dev/skills/dotnet/skills/process-api-net11"><img src="https://agentmods.dev/badge/skills/dotnet/skills/process-api-net11.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 174 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,836 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. Third-party audits
  • Socket pass 12 Oct 2026
  • Snyk pass 12 Oct 2026
How audits are shown
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.00174 $0.09836
Opus 5.5 $0.00070 $0.03934
Sonnet 5.5 $0.00035 $0.01967
Haiku 4.5 $0.00017 $0.00984

Measured 9d ago against content hash f460887a09fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

process-api-net11 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 9d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/dotnet11/skills/process-api-net11/SKILL.md · 666 lines

How it starts

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

Starting and Managing Processes in .NET 11

Choose the appropriate .NET 11 Process APIs for launching executables, capturing or forwarding output, waiting for termination, and controlling handle inheritance and child lifetime. Recognize common deadlock patterns and preserve the intended output and lifetime behavior.

When to Use

For applications targeting .NET 11 or later:

  • Starting an executable and waiting for its exit status, with captured, inherited, or discarded output.
  • Reading stdout and stderr as text, bytes, or interleaved lines while avoiding pipe-buffer deadlocks.
  • Redirecting standard handles to files, other processes, or the null device.
  • Controlling handle inheritance, including custom native process creation.
  • Managing cancellation, timeouts, parent-exit termination, or terminal detachment.

When Not to Use

  • The project must remain on .NET 10 or earlier; do not introduce APIs unavailable on its target framework.
  • Opening a URL or document through the operating system's shell rather than launching an executable.

Target Framework

Inspect the project's actual TargetFramework or TargetFrameworks before introducing these APIs; they require .NET 11 or later. Do not upgrade the target framework implicitly. For multi-targeted projects that include older frameworks, preserve those targets and their existing behavior; use conditional compilation or framework-specific implementations to keep .NET 11 APIs out of older-target builds.

<TargetFramework>net11.0</TargetFramework>

When starting a process with the APIs or ProcessStartInfo features described in this skill, keep UseShellExecute at its default value of false. Leave the property unset rather than explicitly assigning false: when the application never sets it, the AOT compiler can eliminate the unused shell-execution code.

Prefer argument collections over concatenating, interpolating, or joining arguments into ProcessStartInfo.Arguments.

Do not manually copy the parent's environment variables: ProcessStartInfo.Environment and EnvironmentVariables already initialize from them automatically. Apply only the child-specific changes.

Read the full file on GitHub · 666 lines

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. 9d ago Changed · +422 lines · +65 tokens per session f460887a09fb
  2. 1mo ago First seen · 244 lines · 109 tokens per session scan A 66f79536a3d8

Subscribe to this mod's changes

process-api-net11 is a skill published in the GitHub repository dotnet/skills (6,409 stars, last pushed today), licensed MIT. It adds 174 tokens to every session and 9,836 once invoked, about $0.0007 per session on Opus 5.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-10-13.

Related

process-api-net11 compared with skills from other repositories

process-api-net11 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
process-api-net11dotnet/skillsSkill6.4ktodayMITA174Claude Code
agui-dotnet-streaming-chatag-ui-protocol/ag-uiSkill22k2d agoMITA223Claude Code
build-and-testmicrosoft/agent-frameworkSkill15k13d agoMITA26Claude Code, Codex
azure-mgmt-apicenter-dotnetmicrosoft/skillsSkill3.3k3d agoMITA97Claude Code
agents-sdk-dotnetmicrosoft/AgentsSkill1.1k5d agoMITA112Claude Code
bf-to-agents-sdk-dotnet-migrationmicrosoft/AgentsSkill1.1k5d agoMITA56Claude Code
agents-sdk-dotnet-otelmicrosoft/AgentsSkill1.1k5d agoMITA86Claude Code