Skill files and discovery

On your computer, a skill is a folder with a SKILL.md file inside, or a single .md file. That file decides how the skill is named, when Oda turns to it, and what it does. This page covers the file's shape, where Oda looks for skill files, and the skills that come with Oda. To add a skill, see Create and install skills; to see and manage the skills on your computer, see Skills in Settings.

What a skill file looks like

A skill folder sits directly inside a skills folder, and its SKILL.md is the file that makes it a skill:

text
<skills folder>/
  review-checklist/
    SKILL.md
    references/
      format.md

The lines at the top of the file

The block between the two --- lines is the skill's frontmatter. It carries the skill's settings as plain line: value pairs.

Two lines are required:

A few lines are optional:

A true or false line accepts true and false, the spellings yes and no, on and off, and 1 and 0, in any letter case. Oda does not guess at a misspelled line or a value it does not accept: it drops the whole skill, and the warning names the field. How the two invocation lines play out in a chat is on Skills in chat.

Here is a complete example:

yaml
---
name: review-checklist
description: Check a change against our review checklist. Use when asked to review a change before it is shared.
whenToUse: When the user asks for a review pass, or a check before sharing.
---

When Oda saves a skill from an install, it tidies the file on the way in: a name such as Weekly Report is written as weekly-report, when_to_use becomes whenToUse, and older invocation spellings are written in their current form. Everything else, including your own extra lines, is kept.

Extra files a skill can carry

A skill can bring extra files beside SKILL.md, commonly in folders named references, scripts and assets. When Oda loads a skill it also knows the skill's folder, so a file the skill mentions by a relative path, such as references/format.md, is found where it belongs. Oda loads the files a skill mentions only as needed.

Where Oda finds skills

Oda reads skills from more than one place:

When the same name exists in more than one place, the nearer one is used: a project skill before one from your own folder, and your own folder before the skills that come with Oda.

Oda keeps its lists up to date on its own:

Tip

To open your skills folder, use Open skills folder in Settings > Skills.

If a skill file is refused or skipped

When Oda saves a skill, from a chat or from Settings > Skills, the file is checked first, and a refusal names what to fix:

A file you place in a skills folder yourself meets the same rules. When Oda reads the folder, a file that does not pass is skipped: the skill does not appear, and a warning records the file and the reason:

Two more checks apply to the settings lines themselves:

Fix the file and save it again; Oda reads it afresh.

Skills that come with Oda

Several skills come with DataMind Oda itself:

Questions, answered

What decides the name I run a skill by?

The name line in the skill's file. It must be lowercase letters, digits and single hyphens, at most 64 characters, and it becomes /<name>. When Oda installs a skill from a source, it normalises the name to this form as it saves it: Weekly Report is written as weekly-report.

Can I write a skill as a single file?

Yes. A single .md file directly inside a skills folder works in the same way as a folder with SKILL.md: Oda reads its top block and its instructions. The rest of this page applies to both forms.

Can a skill live outside my skills folder?

Yes. A project you work in can carry its own skills, and shared or custom folders on your computer can too. Oda reads them all, and when the same name exists in more than one place, the nearer one is used: a project skill before one from your own folder, and your own folder before the skills that come with Oda.

Why is a skill file I wrote not showing up?

Most often the file did not pass the checks: its top block is missing, or its name or description line is missing or not in the accepted form. Oda skips the file and records the reason, and a skipped skill does not appear, so a small typo can look like a missing skill. Another common cause: the SKILL.md sits deeper than one level inside a skill folder, where Oda does not look. Fix the file or move it, and Oda picks it up.

Oda says a frontmatter field is unsupported. What should I write instead?

The warning names the spelling to use. Change the line to that spelling and save the file again. The two invocation lines have one current spelling each: disable-model-invocation and user-invocable; an older spelling, such as disableModelInvocation, is refused rather than guessed at.

Can I keep my own notes in a skill file?

Yes. Extra lines, such as metadata, are allowed and are left as they are; they do not change how the skill runs. When Oda saves a skill from an install, it keeps your extra lines.

Do I need to restart Oda after adding or editing a skill file?

No. Oda picks up new, renamed and removed skills on its own, and it reads a skill's file fresh every time it loads the skill, so an edit takes effect the next time the skill is loaded. A skills folder you have not created yet is picked up as soon as you create it; if a skill still does not appear, check the file against the rules above.

What are the references, scripts and assets folders for?

They carry a skill's extra files: reference notes, scripts and other assets that sit beside SKILL.md. When Oda loads the skill it knows the skill's folder, so a file the skill mentions by a relative path, such as references/format.md, is found where it belongs, and Oda loads such files only as needed.

Where do the skills that come with Oda live?

They are not in your skills folder: they come with the app itself, and Settings > Skills lists them as read-only. Oda reads each one fresh every time it loads it, so what it follows stays in step with your copy of Oda. Bundled skills goes through them.

What is the difference between the description and the when-to-use line?

The description is required, says what the skill does and when to use it, and is the only text Oda sees before loading the skill; Oda chooses from it. The whenToUse line is an optional longer note, up to 1024 characters, that travels with the skill for people, such as in the save request when Oda writes a skill from a chat.