# save()

Canonical URL: https://developers.iagenify.com/sdk/ref/agents/skills/save/
Language: en

`api.agents.skills.save({ name, description, content }) → Promise<Skill>`

Creates or replaces a skill on the account. It never writes to the disk — a developer's files stay theirs.

Status: always the account · same name replaces · returns the saved item

```javascript
await api.agents.skills.save({
  name: "release-notes",
  description: "Write release notes from a range of commits, in our house format.",
  content: "Group changes under Added, Changed, Fixed.\nOne line per change, past tense…",
});
```

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `name` | string | required | Lowercase letters, digits and dashes, 64 characters at most. |
| `description` | string | required | One line. **This is what decides whether the agent ever loads it.** |
| `content` | string | required | The instructions, up to 100 000 characters. |

> **The description is the trigger, not a label**
>
> The agent matches a request against it. « Release notes » matches almost nothing; the sentence above matches the request that needs it. A skill nobody ever loads usually has a description that restates its title.

## It never touches the disk {#account-only}

The disk is a read-only source. A developer edits those files themselves — that is the point of the format — and nobody wants an API call rewriting them from under them.

## Saving a name that exists on a disk {#shadowing}

Allowed, and from then on the account's version is the one that applies, everywhere. Which is the intended way to promote a local skill to a shared one.

## The same name replaces {#replacing}

There is no separate update. Read it, change it, save it back.

- [SKILL.md format](/sdk/agent/skills-and-subagents/skill-format): What a good one looks like.
- [remove()](/sdk/ref/agents/skills/remove): Taking one away.

```python
api.agents.skills.save(
    name="release-notes",
    description="Write release notes from a range of commits, in our house format.",
    content="Group changes under Added, Changed, Fixed.\nOne line per change, past tense…",
)
```
