Bots › Bot files and templates

Bot files and templates

5 min read

A bot is one file. It holds the bot's name, its instructions, the knowledge base folders it may use, its tools and, optionally, a timetable. You can copy the file, email it, keep it in a shared drive and import it into another install.

On this page
  1. The short version
  2. What's in a bot file
  3. The tool list
  4. Add, import and export bots
  5. The starter templates
  6. Use a bot
  7. Advanced: persona files for board work

The short version

  • One bot, one file: agents/<slug>/agent.yaml (or agent.md) in your server's workspace folder.
  • Add them from the screen: Agents → Templates, then Add agent on a starter, or Import agent file for one someone sent you.
  • Use them two ways: talk to a bot on the Bots screen, or assign it to a card on the board.
  • Safe by default: a bot only gets the tools its file lists, and its schedules start switched off.

What's in a bot file

name: Personal assistant
slug: personal-assistant
description: Keeps your inbox, calendar and to-do list in order.
avatar: "PA"
colour: green
version: 1.0.0
author: Operation Kit
knowledge_folders:
  - personal/notes
  - personal/todos
tools: [search, read_file, write_doc, email, calendar]
# provider: claude          optional, otherwise the install default
# model: claude-sonnet-5    optional
schedules:
  - name: Morning briefing
    cron: "30 7 * * 1-5"
    prompt: |
      Write today's briefing and save it in personal/notes.
system_prompt: |
  You are a personal assistant for one busy person. ...

The same bot can be written as agent.md: the settings go between two --- lines at the top, and everything below them is the instructions.

FieldNeeded?What it means
nameyesThe display name
slugyesA short id: lowercase letters, numbers and hyphens. Must match the folder name.
descriptionrecommendedOne or two sentences that help people pick the right bot
system_promptyesThe bot's instructions, in plain language
knowledge_foldersnoFolders inside the knowledge base the bot may read and write, written as they appear in the Knowledge base page list. Never a full server path.
toolsnoWhat the bot may do, by name (see below)
model, providernoA specific model, and one of claude, anthropic, openai, xai, openai-compatible or demo. Leave them out to use the install default.
schedulesnoJobs the bot runs on a timetable. cron is the usual five-part timetable (minute, hour, day, month, weekday).
avatar, colournoOne emoji or up to two letters for the badge, and blue, pink, green, amber or grey
version, authorfor sharingRaise the version when you change the bot. The author is a person or a company.

The tool list

A bot can only use the tools its file names, and the server checks every call.

ToolLets the bot
search, list_folders, read_file, write_docFind, browse, open and save notes, only inside its knowledge_folders
file_answerSave a good answer into the wiki, linked from the pages it used
create_objective, get_objective, list_objectivesPut a job on the board as a card, and check on the cards it created
email, calendarRead mail and the calendar and prepare drafts. Nothing is sent until a person presses Send. Today these work with the demo bot's sample inbox only; see What a bot can do.

That's the whole list. Any other name still imports, with a warning that it isn't a built-in tool. It does nothing unless a connector with that name is installed.

No secrets in files

Bot files are made to be shared, so they must never contain a password or key. Mention a credential by name only, for example "use the CRM_API_KEY secret", and store the value in Settings → Secrets. The importer refuses a file that looks like it contains a real key.

Add, import and export bots

Admins manage bot files on the Agents page (in the account menu, under Admin), Templates tab.

  1. Add a starter

    Under Available templates, press Add agent. Three starters ship with every install: Personal assistant, Knowledge librarian and Operator.

  2. Or import a file

    Press Import agent file and pick the file. It is checked first. Any problem is listed by field with what to fix, and nothing changes until you press Add agent. If a bot with the same slug exists, you're asked before it's replaced.

  3. Export to share

    Under Agents on this install, press Export next to a bot. You get a <slug>.agent.yaml file.

The same page can import from a folder on the server (only the folders the page lists are allowed). On the server you can also use the script in the source folder:

scripts/agent-template.sh install all              # all three starters
scripts/agent-template.sh validate ./my-bot.yaml   # check only
scripts/agent-template.sh import ./my-bot.yaml     # add it

When a bot is added, its file is saved as agents/<slug>/agent.yaml, it shows up on the Bots screen and in every bot picker on the board, and each schedule becomes a scheduled job, switched off. Turn a schedule on when you're ready, so nothing runs by surprise. New or changed files show up the next time someone opens Bots, with no restart. If a file has a mistake, admins see it listed with the reason.

The starter templates

BotKnowledge foldersToolsSchedule (off until you turn it on)
Personal assistantpersonal/notes, personal/todossearch, read_file, write_doc, email, calendarMorning briefing, 7:30 on weekdays
Knowledge librarianinbox, clients, projects, referencesearch, list_folders, read_file, write_docWeekly tidy-up, Mondays at 9:00
Operatorprojects, referencesearch, read_file, create_objective, get_objective, list_objectivesNone

The folder names are generic. After adding a starter, point its knowledge_folders at the folders your pages are in, for example your workspace's folder from the Knowledge base page list. Edit the file on the server, or export it, change it and import it again.

Use a bot

  • Talk to it on the Bots screen. It answers with its instructions, folders and tools.
  • Assign it to a card on the board. The job receives the bot's instructions plus its folder and tool limits. Jobs that run in a sandbox never read the file themselves: the server reads it and passes the instructions in. See The board.
  • Use it from another AI app. Claude, ChatGPT and others can list your bots and follow their instructions. See Use your bots from other AI apps.

Advanced: persona files for board work

Some installs also keep plain markdown persona files for board work, one per bot at agents/<name>.md in the same workspace folder. The product repo has three generic examples (engineer.md, general.md, ops.md) in examples/workspace. It holds the bot's instructions for jobs and can also list, in a skills: block in its frontmatter, the skills the bot always loads and the skills it may use.

Admins see these persona files, and the skills on disk, in Settings → Agents & Skills. More in Tools, skills and integrations and Designing a bot.

Last checked against Operation Kit main (f504a64), 11 Nov 2026Suggest an edit