# 账户与计算机

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

同一名称可以存在于两个地方。 账户的赢项, 写入总是转到账户, 计算机上的项目也会被更改 。

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

## 为什么有两只 {#two}

|  | Account | 计算机 |
| --- | --- | --- |
| 后续 | 账户,到任何设备 | 机器 |
| 编辑编辑 | 中 中 `api.agents.skills.save()` | 通过编辑文件 |
| 良好 | 团队分享什么 | 开发者自己在机器上 保存什么 |
| 手机或云工作空间可用 | 否 是 | 没有 - 没有磁盘可读取 |

## 合并 {#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"
```

> **账户赢赢, 共同教学无法在本地推翻**
>
> 如果磁盘获胜,一个机器上的破旧文件将悄悄地取代账户分配的内容,而运行过程中没有任何内容能说明应用了哪个。 能够知道哪个副本有效比本地覆盖更值得。

## 写书 {#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()` 和 `remove()` 保存磁盘上也存在的名称, 使账户的版本从那时起, 随处可见。

## 阅读计算机技能文件 {#reading-files}

`readFile()` 计算机上包含技能的额外文件。 账户技能随其文件随同而来, 同一电话既服务于—— 代理 `skill { name, file }` 也不知道区别。

## 没有磁盘的 {#no-disk}

电话或云工作空间没有计算机源,所以 `libraryStatus` 原文如下: `"none"` 并且只有账户项目可用。 这是在服务器上运行的正常情况, 而不是开发器上的正常情况 。

- [库状态](/zh/sdk/agent/skills-and-subagents/library-status): 读取为何缺少源代码 。
- [skills.save()](/zh/sdk/ref/agents/skills/save): 写作

```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.
```
