Skills and subagents

Account vs computer

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.

account winswrites go to the accountcomputer is read-only here
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

Why there are two at all

AccountComputer
Followsthe account, to any devicethe machine
Editedthrough api.agents.skills.save()by editing the file
Good forwhat a team shareswhat one developer keeps on their own machine
Available on a phone or a cloud workspaceyesno — there is no disk to read

The merge

// 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"
# 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"
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

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

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

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.