# Components

> Skill

- Skill: `mistralai/components` (Agent Skill, multi-file: 790 files)
- Install (CLI): `npx skillmds@latest add mistralai/components`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mistralai/components/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: mistralai (https://skillmd.com/u/mistralai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/mistralai/components

---

# Skill

## Example Usage

```typescript
import { Skill } from "@mistralai/mistralai/models/components";

let value: Skill = {
  version: 1,
  createdAt: new Date("1s"),
  updatedAt: new Date("1s"),
  latestVersion: 1,
};
```

## Fields

| Field                                                                                         | Type                                                                                          | Required                                                                                      | Description                                                                                   | Example                                                                                       |
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| `id`                                                                                          | *string*                                                                                      | :heavy_minus_sign:                                                                            | N/A                                                                                           |                                                                                               |
| `name`                                                                                        | *string*                                                                                      | :heavy_minus_sign:                                                                            | Stable object name.                                                                           |                                                                                               |
| `definition`                                                                                  | [components.SkillDefinition](../../models/components/skilldefinition.md)                      | :heavy_minus_sign:                                                                            | Versioned skill content.                                                                      |                                                                                               |
| `version`                                                                                     | *number*                                                                                      | :heavy_minus_sign:                                                                            | N/A                                                                                           | 1                                                                                             |
| `notes`                                                                                       | *string*                                                                                      | :heavy_minus_sign:                                                                            | Notes for this version.                                                                       |                                                                                               |
| `aliases`                                                                                     | *string*[]                                                                                    | :heavy_minus_sign:                                                                            | Aliases pointing to this version.                                                             |                                                                                               |
| `sharingScope`                                                                                | [components.RegistrySharingScope](../../models/components/registrysharingscope.md)            | :heavy_minus_sign:                                                                            | N/A                                                                                           |                                                                                               |
| `createdAt`                                                                                   | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign:                                                                            | RFC 3339 timestamp.                                                                           | **Example 1:** 1s<br/>**Example 2:** 1.000340012s                                             |
| `updatedAt`                                                                                   | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign:                                                                            | RFC 3339 timestamp.                                                                           | **Example 1:** 1s<br/>**Example 2:** 1.000340012s                                             |
| `latestVersion`                                                                               | *number*                                                                                      | :heavy_minus_sign:                                                                            | Latest version number.                                                                        | 1                                                                                             |
