File contents Skill
Example Usage
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
: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
:heavy_minus_sign:
N/A
createdAt
Date
:heavy_minus_sign:
RFC 3339 timestamp.
Example 1: 1sExample 2: 1.000340012s
updatedAt
Date
:heavy_minus_sign:
RFC 3339 timestamp.
Example 1: 1sExample 2: 1.000340012s
latestVersion
number
:heavy_minus_sign:
Latest version number.
1
1 --- 2 name: components 3 description: Skill 4 --- 5 # Skill 6 7 ## Example Usage 8 9 ```typescript 10 import { Skill } from "@mistralai/mistralai/models/components"; 11 12 let value: Skill = { 13 version: 1, 14 createdAt: new Date("1s"), 15 updatedAt: new Date("1s"), 16 latestVersion: 1, 17 }; 18 ``` 19 20 ## Fields 21 22 | Field | Type | Required | Description | Example | 23 | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | 24 | `id` | *string* | :heavy_minus_sign: | N/A | | 25 | `name` | *string* | :heavy_minus_sign: | Stable object name. | | 26 | `definition` | [components.SkillDefinition](../../models/components/skilldefinition.md) | :heavy_minus_sign: | Versioned skill content. | | 27 | `version` | *number* | :heavy_minus_sign: | N/A | 1 | 28 | `notes` | *string* | :heavy_minus_sign: | Notes for this version. | | 29 | `aliases` | *string*[] | :heavy_minus_sign: | Aliases pointing to this version. | | 30 | `sharingScope` | [components.RegistrySharingScope](../../models/components/registrysharingscope.md) | :heavy_minus_sign: | N/A | | 31 | `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 | 32 | `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 | 33 | `latestVersion` | *number* | :heavy_minus_sign: | Latest version number. | 1 |
mistralai/client-ts/tree/main/docs/models/components commit 4a3d796a0d
Frequently asked questions How do I install the Components skill? Run npx skillmds@latest add mistralai/components in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Components skill do? Skill It is listed under Coding & Dev Tools on SkillMD.
Is Components safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Components? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Components free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Components? mistralai (@mistralai) published this skill. Their other Agent Skills are listed on their SkillMD profile.