# Account vs computer

Canonical URL: https://developers.iagenify.com/sdk/agent/skills-and-subagents/account-vs-computer/
Language: en

The same name can exist in two places. The account's wins, writing always goes to the account, and a computer item is changed on that computer.

Status: account wins · writes go to the account · computer is read-only here

## Why there are two at all {#two}

|  | Account | Computer |
| --- | --- | --- |
| Follows | the account, to any device | the machine |
| Edited | through `api.agents.skills.save()` | by editing the file |
| Good for | what a team shares | what one developer keeps on their own machine |
| Available on a phone or a cloud workspace | yes | no — there is no disk to read |

## The merge {#merge}

```javascript
// account:   legal-review, release-notes
// computer:  release-notes, scratch

await api.agents.skills.list();
// legal-review   source: "account"
// release-notes  source: "account"     ← the computer's copy is hidden
// scratch        source: "computer"
```

> **The account wins so that a shared instruction cannot be overridden locally**
>
> If the disk won, a stale file on one machine would quietly replace what the account distributes — and nothing in the run would say which one applied. Being able to tell which copy is in force is worth more than local override.

## Writing {#writing}

```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…",
});
// Always the account — never the disk.
```

`save()` and `remove()` act on the account. Saving a name that also exists on the disk makes the account's version the one that applies, from then on, everywhere.

## Reading a computer skill's files {#reading-files}

`readFile()` reaches the extra files of a skill on this computer. An account skill carries its files with it, and the same call serves both — the agent's `skill { name, file }` does not know the difference either.

## Where there is no disk {#no-disk}

On a phone or a cloud workspace there is no computer source, so `libraryStatus` reads `"none"` for it and only account items are available. That is the normal case for anything that runs on a server rather than on a developer's machine.

- [libraryStatus](/sdk/agent/skills-and-subagents/library-status): Reading why a source is missing.
- [skills.save()](/sdk/ref/agents/skills/save): The write.

```python
# account:   legal-review, release-notes
# computer:  release-notes, scratch

api.agents.skills.list()
# legal-review   "source": "account"
# release-notes  "source": "account"     ← the computer's copy is hidden
# scratch        "source": "computer"
```

```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…",
)
# Always the account — never the disk.
```
