# الحساب والحاسوب

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

نفس الاسم يمكن أن يوجد في مكانين. الحساب هو الفائز، الكتابة دائماً يذهب إلى الحساب، و عنصر حاسوب تغير على ذلك الحاسوب.

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

## لماذا هناك اثنان على الإطلاق {#two}

|  | الحساب | الحاسوب |
| --- | --- | --- |
| &يلي | إلى أي جهاز | الآلـ |
| مُمَرَّر | (ي `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()` 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-files}

`readFile()` مهارة حسابية تحمل ملفاتها معه، ونفس النداء يخدم كلاهما - الوكيل `skill { name, file }` لا أعرف الفرق أيضاً

## حيث لا يوجد قرص {#no-disk}

على هاتف أو سحابة مجال عمل عمل لا يوجد مصدر حاسوبي، لذا `libraryStatus` في نص `"none"` وفقط عناصر الحساب متاحة. هذه هي الحالة العادية لأي شيء يعمل على الخادم بدلاً من آلة المطور.

- [الحوانيتStots](/ar/sdk/agent/skills-and-subagents/library-status): قراءة لماذا المصدر مفقود.
- [skills.save()](/ar/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.
```
