Fundamentals
Provide instructions to your agents with skills from your organization and connected MCP servers
Introduction
A skill tells an agent how to do a task, such as deploy a service or review a pull request. Gatana provides skills from your organization and from connected MCP servers. Agents can use local copies or read skills through MCP.
Quick start
- Publish a skill in Gatana.
- Run
gatana skills installon each machine that needs them. - Start an agent session. The installed hook checks for updates.
For agent folder locations and a comparison with Git, see How to share skills across Claude Code, Codex and other agents.
Definitions
| Term | Meaning |
|---|---|
| Skill | Instructions for a task, with a name and a short description of when to use them |
SKILL.md | The skill's main file. The YAML frontmatter contains the name and description. The Markdown body contains the instructions. The folder has the same name as the skill |
| Supporting file | A reference document, script or other file in the skill folder. SKILL.md tells the agent when to read it |
| Collection | A named group of skills that you can install and share together |
| Skills folder | Where an agent reads skills, such as ~/.claude/skills for Claude Code or ~/.agents/skills for Codex, Cursor and others |
| Hook | A command that runs at session start. Gatana's hook updates the installed skills |
| Share | Permission for a person or team to read or maintain a private skill or collection |
What is a skill in Gatana?
Gatana stores SKILL.md and supporting files for your organization's skills. For skills from connected MCP servers, Gatana reads files from the source server on request. Agents can read both kinds of skill from local folders or through MCP. See Consuming Skills.
Uploaded files are stored byte for byte. The dashboard editor removes a byte order mark and converts mixed line endings to the file's most common kind.
File content is encrypted. Gatana also stores frontmatter fields, including names and descriptions, in plain text so it can list skills without decrypting files.
Why use skills in Gatana?
- Shared updates. Changes reach installed copies at the next session start.
- Multiple agents. Gatana writes to the folders used by Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Copilot, Amp and Hermes.
- Access control. Share a skill with the whole organization or selected people and teams. An agent has the same read access as its user.
- Local editing. Edit in Gatana or push local changes. Agents can also save skills with the MCP tools.
- No repository required. Users do not need to clone a repository, create symlinks or run a pull before each session.
What your team experiences
For example, a developer writes a release checklist in ~/.claude/skills/release-checklist.
- The developer runs
gatana skills pushto share it with the organization. - Colleagues run
gatana skills installonce to get it in their agent folders. - The developer updates it in Gatana, or edits the local copy and pushes again. Colleagues get the update at their next session start.
New team members use the same install command to get all skills they can read.
Publish a skill
Create a skill on the Skills page in Gatana. To publish an existing local folder with a SKILL.md file, run the following command.
gatana skills push ./my-skillNew skills are readable by the whole organization by default. To limit access, set the skill to Private and share it with the people or teams you choose. See Permissions.
Push sends SKILL.md and its supporting files. Files you deleted locally can also be deleted in Gatana. If your changes conflict with the version in Gatana, push skips the skill. Merge your changes with the current version before you push again.
Overview of the parts
Skill
| Field | Rule |
|---|---|
| Name | Lowercase letters, digits and single dashes, 1 to 64 characters. The same rule as a Claude Code SKILL.md name. Must be unique in the organization |
| Description | One line, at most 1024 characters. Tell the agent when to use the skill |
| Instructions | Markdown, at most 200 KiB. The agent reads the whole document into its context, so keep it short |
| Supporting files | Optional. At most 512 files and 4 MiB per skill, with SKILL.md included in both numbers. See Supporting files. |
| Access | Organization or Private. See Permissions. |
| Collection | The collection the skill is in, or none. |
The stored SKILL.md
Gatana preserves frontmatter comments, layout and extra fields such as license, compatibility, metadata and allowed-tools. Editing only the instructions keeps the frontmatter unchanged.
Changing the name or description through separate fields, as the MCP tools do, rebuilds the frontmatter. Extra fields remain, but comments and layout are lost.
Gatana checks frontmatter so agents can read it consistently. Invalid frontmatter returns status 400 with a reason and, where applicable, a line number. Gatana does not correct it.
| Rule | Example that is refused |
|---|---|
| The frontmatter is valid YAML | description: Use when: deploying (put the value in quotes) |
name and description are strings | name: 2024 (write name: "2024") |
metadata maps strings to strings | A list or a nested map under metadata |
compatibility is a string of 1 to 500 characters | An empty value |
| No YAML anchors, tags or quoted values over several lines | description: &d Deploy |
Supporting files
A skill can include reference documents, templates, scripts and small images beside SKILL.md or in subfolders. Gatana accepts text and binary files.
| Limit | Value |
|---|---|
| Files per skill | 512, including SKILL.md |
| Size per skill | 4 MiB, including SKILL.md |
Instructions in SKILL.md | 200 KiB |
| Length of a file path | 255 bytes |
Paths are relative to the skill folder and use /, for example references/guide.md. Gatana rejects .. segments, backslashes, colons, paths that differ only in letter case, and SKILL.md files in subfolders.
| Interface | File support |
|---|---|
| Dashboard | The Files tree shows file sizes. Select a text file to read it. Binary files show size and type. You can edit SKILL.md. Supporting files are read-only |
| MCP | Hosts with the Skills extension can read all files. Agents can read text files with skills_get_skill. See Consuming Skills |
| API | PUT /api/v1/skills/{skillId}/files replaces all files together. Requires Can maintain |
| CLI | Push sends skill files. Install writes all files and removes files deleted in Gatana. Neither follows symlinks |
Collections
Collections use the same name rule as skills. You can install or share a whole collection. When you delete a collection, its skills move to the root level.
Permissions
Each skill or collection has an access level.
| Access | Who can read it |
|---|---|
| Organization | Every member (default) |
| Private | The creator and the people and teams it is shared with |
You can give people or teams one of these permissions on a private skill or collection.
| Level | What it gives |
|---|---|
| Can read | Read the skill, and agents acting for that person read it |
| Can maintain | Edit, share, change access, add and remove maintainers, delete |
Anyone who can read a collection can read its skills, in addition to each skill's own shares. Organization owners can maintain every skill.
Installed folders
gatana skills install copies skills into agent folders and adds a hook to update them at session start. See Install skills with the CLI.
The Skills server
Agents without a local skills folder can use the built-in Skills server.
Next steps
- Install skills on your machine.
- Push local skills to share them.
- Set up MCP tools for agents without a skills folder.
Last updated on