# .NET AI and Machine Learning

> The .NET team's skill for picking the right AI or ML stack in .NET 8+ apps, from ML.NET to Microsoft.Extensions.AI and Agent Framework.

The .NET team's skill for adding AI and machine learning to .NET 8+ apps. It picks the right technology for the task first (classic ML, an LLM, an agent, local inference or vector search), then delivers only what you asked for: a plan when you ask for a plan, code when you ask for code.

What you can do with it
- Add classification, regression, clustering, anomaly detection or recommendations with ML.NET, trained with a fixed seed and evaluated on a held-out set
- Add text generation, summarization or reasoning through Microsoft.Extensions.AI's IChatClient, with retries, timeouts and keys kept out of your code
- Build agentic workflows with tool calling on Microsoft Agent Framework, with an iteration limit and a cost ceiling
- Build RAG pipelines: document ingestion and chunking, cached embeddings and vector search through Microsoft.Extensions.VectorData, with providers such as Azure AI Search, Qdrant, Postgres (pgvector) or Redis
- Run pre-trained models with ONNX Runtime or local models through Ollama (OllamaSharp), or build GitHub Copilot extensions with the Copilot SDK

What it steers you away from
- Using an LLM for tabular predictions that ML.NET handles faster and more cheaply
- LLM calls without retries or timeouts, and API keys committed in appsettings.json
- Hand-rolled agent loops, the archived Accord.NET, and defaulting to Semantic Kernel for new work without a reason

How to install it
In Claude Code or GitHub Copilot CLI, run /plugin marketplace add dotnet/skills, then /plugin install dotnet-ai@dotnet-agent-skills. The dotnet/skills marketplace also works in VS Code (preview), Cursor and Codex.

Good to know
- It targets .NET 8 or later, not .NET Framework.
- It isn't meant for pure data engineering, or for training custom deep-learning models: for those it points you to Python, then ONNX Runtime for inference in .NET.

- Type: Skill
- Made by: dotnet
- Category: AI & agents
- Formats: Skills
- Version: 836b3d6
- Website: https://github.com/dotnet/skills/tree/main/plugins/dotnet-ai
- Source: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection
- Page: https://pluginboard.ai/skills/dotnet-ai

## Works with

- ChatGPT
- Claude
- Gemini
- GitHub Copilot
- Cursor
- Claude Code
- Codex
- Antigravity
- Gemini CLI
- Replit
- OpenClaw
- OpenCode
- Hermes Agent

## Install

### ChatGPT

In ChatGPT: Download the technology-selection folder and zip it, then Plugins → Skills → Create → Upload from your computer. Business and Enterprise plans.

View the folder on GitHub: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection

### Claude

In Claude (web or desktop): Download the technology-selection folder and zip the folder itself, then upload it in Customize → Skills.

View the folder on GitHub: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection

### Gemini

In Gemini: Download the technology-selection folder, then at gemini.google.com click Customize → Skills → Create → Upload and pick the folder (or a .zip of it).

View the folder on GitHub: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection

### GitHub Copilot

Run in your terminal:

```shell
npx -y degit dotnet/skills/plugins/dotnet-ai/skills/technology-selection ~/.copilot/skills/technology-selection
```

View the folder on GitHub: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection

### Cursor

Run in your terminal:

```shell
npx -y degit dotnet/skills/plugins/dotnet-ai/skills/technology-selection ~/.cursor/skills/technology-selection
```

View the folder on GitHub: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection

### Claude Code

Run in your terminal:

```shell
npx -y degit dotnet/skills/plugins/dotnet-ai/skills/technology-selection ~/.claude/skills/technology-selection
```

View the folder on GitHub: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection

Or as a Claude Code plugin:

```text
/plugin marketplace add dotnet/skills
/plugin install dotnet-ai@dotnet-agent-skills
```

### Codex

Run in your terminal:

```shell
npx -y degit dotnet/skills/plugins/dotnet-ai/skills/technology-selection ~/.agents/skills/technology-selection
```

View the folder on GitHub: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection

### Antigravity

In Antigravity: Copy the technology-selection folder into ~/.gemini/config/skills (Antigravity app and IDE) or ~/.gemini/antigravity-cli/skills (Antigravity CLI).

View the folder on GitHub: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection

### Gemini CLI

Run in your terminal:

```shell
npx -y degit dotnet/skills/plugins/dotnet-ai/skills/technology-selection ~/.gemini/skills/technology-selection
```

View the folder on GitHub: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection

### Replit

Run in your terminal:

```shell
npx -y degit dotnet/skills/plugins/dotnet-ai/skills/technology-selection .agents/skills/technology-selection
```

View the folder on GitHub: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection

### OpenClaw

Run in your terminal:

```shell
npx -y degit dotnet/skills/plugins/dotnet-ai/skills/technology-selection ~/.openclaw/skills/technology-selection
```

View the folder on GitHub: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection

### OpenCode

Run in your terminal:

```shell
npx -y degit dotnet/skills/plugins/dotnet-ai/skills/technology-selection ~/.config/opencode/skills/technology-selection
```

View the folder on GitHub: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection

### Hermes Agent

Run in your terminal:

```shell
npx -y degit dotnet/skills/plugins/dotnet-ai/skills/technology-selection ~/.hermes/skills/technology-selection
```

View the folder on GitHub: https://github.com/dotnet/skills/tree/HEAD/plugins/dotnet-ai/skills/technology-selection

---
From Pluginboard (https://pluginboard.ai).
