# get()

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

`api.agents.skills.get(name) → Promise<Skill>`

One skill with its content. The account is tried first; failing that, this computer.

Status: free · account first · content included

```javascript
const skill = await api.agents.skills.get("release-notes");

console.log(skill.description);
console.log(skill.content);
console.log(skill.source);      // "account" or "computer"
```

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `name` | string | required | Lowercase letters, digits and dashes, 64 characters at most. |
| `returns` | object |  | `name`, `description`, `content`, `source`, and for a computer skill its `files` and `folder`. |

## The order {#order}

The account first. Only a 404 falls through to the disk — any other refusal is raised, because a network failure is not a reason to serve a possibly older local copy.

## A computer skill carries its files {#files}

`files` lists the other documents in the skill's folder, and `folder` is where they are. Open one with [readFile()](/sdk/ref/agents/skills/read-file). An account skill is a single document and has neither.

## Errors {#errors}

| Code | Status | When |
| --- | --- | --- |
| invalid_name | 400 | Not lowercase letters, digits and dashes. |
| not_found | 404 | In neither source. |

- [readFile()](/sdk/ref/agents/skills/read-file): A skill's extra files.
- [save()](/sdk/ref/agents/skills/save): Changing it.

```python
skill = api.agents.skills.get("release-notes")

print(skill["description"])
print(skill["content"])
print(skill["source"])      # "account" or "computer"
```
