All Documentation

Everywhere else

Documentation Settings: This Mac

Saved helper types

A delegated task can run as a helper you already described in a file: where the files are read from, which keys count, and what each becomes.

When the lead delegates a task it may name a type: a helper you already described in a file, with its own instructions, whether it may change things, and which model suits it. If you keep such files for a terminal agent, they work here as they are. Nothing needs converting.

Where to find it. Mac only, which is also what runs on a Cloud Computer. The switch is Use saved helper types: Settings → Billing → Spending → Brakes on the Mac, on by default, shared with the web and the iPhone. Off, the lead describes every helper itself.

Where the files are read from

Two formats, looked for in the workspace and in each folder above it up to the repository's root, then in your home folder. The nearest file wins a shared name, so a project's type replaces your own of the same name.

  • .claude/agents/, subfolders included: Markdown with YAML front matter. name and description are required. tools, disallowedTools and model are read. The text under the front matter is the instructions.
  • .codex/agents/*.toml: name and description are required. developer_instructions is the instructions. model and sandbox_mode are read.

Every other key is ignored.

What a file becomes

In the fileHere
Tools that only read, search, list or use the web; or a read-only sandboxAn explore task: it can change nothing, in any permission mode.
Any tool that writes or runs commands, or no tool listA general task, with the rules a general task has.
haikuThe seat's cheaper model.
sonnet, opus, or the seat's own model by its idThe seat's full model.
inherit, nothing, or a model the seat does not haveThe usual choice for the task.

A tool list decides the kind and nothing finer, and it never gives a helper more than its kind has: a type that only reads stays read-only even when the lead asks for a general task, and a lead's explore task stays explore whatever the type could do. Tool names the app does not know are ignored. A model the lead names for a task wins over the file's.

The type's instructions go in front of the lead's brief, marked with the file they came from, and the helper's report says which type it ran as.

Which files are offered

Files in your home folder are yours, and are always offered. Files in a project are content from that project, so they follow the rule its instruction files follow, a little more strictly: they are offered in your own repository, in a folder where you chose Always for the project's instruction files, when that question is switched off, and on your Cloud Computer. Anywhere else they are not offered and nothing is asked. The app says so once.

Limits

The lead is shown at most 30 types, by name and description. A file over 48,000 bytes, one with no name or no description, or one that cannot be read is skipped, never an error. Instructions past 24,000 characters are cut, and the report says so.

A name that matches no type is not an error either: the task runs as the lead wrote it, and its report says the type was not found.

On Windows, a seat that runs on its own command line tool is not shown the list and delegates as before; a seat on a key is.

When not to use it. Helpers in a discussion on the web and in a cloud run only look, and do not read these files.

See Also

Not what you were looking for? The help centre answers one question at a time, and the support page says how to reach a person.