---
title: "UpdateSkillBody"
description: "Request body for updating a Skill."
section: "Reference"
group: "Types"
order: 191
---

## Definition

```ts
interface UpdateSkillBody {
  name?: string | undefined;
  description?: string | undefined;
  kind?: "concept" | "procedure" | undefined;
  target?: "cli" | "assistant" | "mcp" | undefined;
  body?: string | undefined;
  resources?: Array<{ path: string; content: string }> | undefined;
}
```

## Fields

| Field         | Type                                                     | Notes                                                                        |
| ------------- | -------------------------------------------------------- | ---------------------------------------------------------------------------- |
| `name`        | `string \| undefined`                                    | `optional` — New name                                                        |
| `description` | `string \| undefined`                                    | `optional` — New description                                                 |
| `kind`        | `"concept" \| "procedure" \| undefined`                  | `optional` — New content kind                                                |
| `target`      | `"cli" \| "assistant" \| "mcp" \| undefined`             | `optional` — New target consumer                                             |
| `body`        | `string \| undefined`                                    | `optional` — New markdown body                                               |
| `resources`   | `Array<{ path: string; content: string; }> \| undefined` | `optional` — Replace all resources with this array. Omit to leave unchanged. |
