Skip to content

Skills ​

A skill teaches golem one job, such as "open a pull request the way this project likes it". It is a folder with a SKILL.md: a short header that says what it is for, then the instructions, in plain markdown. Scripts and notes can sit next to it.

markdown
---
name: release-notes
description: Write release notes from the merged pull requests. Use when the user asks for release notes or a changelog entry.
---

# Write release notes

1. List the pull requests merged since the last tag.
2. Group them into Features and Fixes, one line each.

golem uses the same format as Claude Code and other agents (agentskills.io), so the skills you already have work unchanged.

Where golem finds them ​

The project's folders come first:

WhereFolders
The project you chat in.golem/skills/, .agents/skills/, .claude/skills/
Yours, on this machine~/.golem/skills/, ~/.agents/skills/, ~/.claude/skills/

golem also ships a few skills of its own. They come last, so a skill of the same name in your project or in ~/.golem/skills/ replaces the bundled one.

Put each skill in its own folder, named like the skill: ~/.golem/skills/release-notes/SKILL.md. Save a change and golem sees it within two seconds, with no restart.

Skills and agents ​

A skill is a procedure the model loads and follows. An agent is a different thing: a type of helper, a second agent that golem starts for one job. It is also one Markdown file, in ~/.golem/agents/ or .golem/agents/, but its body is the prompt of the helper, not instructions for the model.

See them ​

Type /skills in the chat, or open Settings, Skills in the web app, to see every skill golem found, and why one is not used: it is broken, turned off, or a skill of the same name in the project hides it. In the web app you can also create a skill, edit its SKILL.md, turn it off, or copy a bundled one to your own skills.

bash
golem skills                                       # the same list, in a shell
golem skills check ~/.golem/skills/release-notes   # find mistakes before you share one
golem skills new release-checklist                 # make one and open it in $EDITOR (--project: for this folder)
golem skills edit release-checklist                # open it again, then check it

new takes --description "…"; without it the description is a line to replace. After the editor closes, both commands run the same check as golem skills check and print its mistakes. The file is saved even when it has mistakes, and then lists as broken until you fix it.

Run one by name ​

Type /release-notes v0.5. The model gets that skill's instructions, with v0.5 filled in where the skill asks for its arguments.

  • Skills show in the / suggestions, with their argument hint.
  • A command such as /help keeps its name, so /skill run help runs a skill of that name.
  • A skill with user-invocable: false is left out of the suggestions.
  • The transcript shows the line you typed, marked ◆ skill. Ctrl-O shows the instructions the model got.
  • Once a chat runs a skill, the model may read the files in that skill's folder, and its commands may run the skill's scripts. Nothing writes there.

Keep one on ​

/skill pin terse puts that skill's instructions in front of every message to the model, for the rest of the chat. The status line shows skills: terse.

  • /skill unpin terse turns it off, and /skill alone lists what is pinned.
  • A pin survives a restart of golem, and /fork keeps it.
  • Skills with user-invocable: false can be pinned too.
  • Edit the skill, and the next message uses the new version.
  • If you delete or break it, golem says so once, shows terse (skipped), and goes on without it. It stays pinned, so fixing the file brings it back.
  • A pinned skill's own files, such as references/, are readable while it is pinned.

Edit, create, or turn one off ​

A client (the web app, and later the terminal) edits a skill through the daemon, which checks the text the way golem skills check does before it writes.

  • Edit. skill.read returns the file's text and its version, a hash of the bytes. skill.write takes the new text with that version as base_version. If the file changed since you read it, the write is refused and nothing changes. (A client may still send base_mtime_ns, the file's modification time, when it has no base_version; a web page cannot hold that number exactly.) dry_run only checks. A mistake comes back with its line number. Without dry_run the text is saved even with a mistake, and the skill lists as broken until it is fixed.
  • Create. skill.create makes ~/.golem/skills/<name>/SKILL.md for you, or <project>/.agents/skills/<name>/SKILL.md for a project, with a name and a description. A name that is taken, or that is not lowercase letters, digits and single hyphens, is refused.
  • Turn off. skill.set_disabled adds the name to [skills] disabled in config.toml, or takes it out, and keeps your comments there. The skill stays in the list, marked off.
  • Only a SKILL.md in a folder golem reads can be written. A bundled skill, a path outside those folders, and a symlink are refused.
  • Every change shows in the skill list at once, with no restart.
  • The browser edits your own skills. It edits a project's skills only in a project listed in trusted_projects. In any other project the browser can read a skill, and the terminal can still write it. Writing a skill never trusts it. See ADR-054.

What works today, and what is next ​

golem finds, checks, lists, runs, and pins skills, and lets a skill read its own files. Letting the model pick a skill by itself when the task fits is the next step of Phase 2. How it works inside is in Skills and Context.

Settings ​

In ~/.golem/config.toml:

toml
[skills]
disabled = ["release-notes"]   # listed, but never used
claude_dirs = true             # read .claude/skills folders (the default)
extra_dirs = ["~/team-skills"] # more folders of skills, after your own

A header field golem does not know yet is kept and shown as a warning, never an error. The fields it reads are name, description, argument-hint, disable-model-invocation, user-invocable, allowed-tools, and model.

The decisions are in ADR-025, ADR-030, and ADR-032.