Skill repositories#
A skill repository holds AI agent skills for your team. Everyone who can read the repository gets its skills, and their agents decide which skill to use for a task. It's still an ordinary Git repository: clone it, branch, and review changes in pull requests. Skill repositories are on every plan, Free included, and count against the same repository and storage limits as any other repository; see Plans and limits.
Any repository can become a skill repository and go back to code, with the
repo:manage permission. Nothing in the repository changes when it does.
Skills in a code repository, such as a .claude/skills folder next to the
code, stay with that code. An agent working in a checkout of the repository
can load them from there, but Gitoro doesn't share them in the Library or
over MCP: they're usually about that one codebase, and would be noise in
every other project. Put the skills your whole team should have in a skill
repository.
A new skill repository starts with a README. You can also have it start with
the skill-writer skill (starter_skill in the API and MCP): ask your agent
to turn a procedure into a skill, and it writes one that follows the rules
below and opens a pull request for it in the repository. Keep it, change it,
or delete it.
Writing a skill#
Each skill is a folder with a SKILL.md file, plus any scripts or reference
files the skill needs:
my-skill/
SKILL.md
scripts/ (optional)
reference.md (optional)SKILL.md starts with a header that names the skill and says when an agent
should use it:
---
name: my-skill
description: What this skill does and when an agent should use it.
---
# My skill
Instructions for the agent go here.| Rule | Limit |
|---|---|
name | Lowercase letters, numbers and hyphens, up to 64 characters, unique in the repository |
description | Required, up to 1024 characters |
Where SKILL.md can be | Up to 3 folders deep; a SKILL.md at the root makes the whole repository one skill |
| Size of one skill | Up to 200 files and 5 MB |
A skill that breaks a rule isn't published. The repository lists it with the reason until it's fixed. Its files stay in Git, so anyone who clones the repository still has them.
Publishing#
Whatever is on the default branch is published, as soon as it's pushed or a pull request is merged into it. To have changes reviewed before they reach everyone, protect the default branch and require approvals; see Branch and tag protection.
Who can find and use skills#
Skills follow read access to their repository, and nothing else; see Members and access.
| Who | Sees |
|---|---|
| Workspace member | The skills in every skill repository they can read |
| Member with the role None (scoped) | The skills in the repositories they were given |
| Service account | What its owner sees |
| Token limited to some repositories | Only the skills in those repositories. It can't file skills |
| Anyone who isn't a member | Nothing, not even that the skills exist |
Using skills is reading: it doesn't need a seat and never takes one. When someone loses read access to a repository, its skills drop out of their Library, downloads, Claude Code plugin and MCP results straight away. Skills they already copied into an agent's folder stay there until removed.
Improving skills with agents#
Agents can propose changes to skills the same way they change code. An agent
with a personal access token that
has code write and pull_requests write can clone the skill repository,
change a skill's folder on a branch, push it and open a pull request, for
example with the create_pull_request MCP tool. Every
skill listing includes its repository and path, so the agent knows where
to make the change. The new version reaches everyone once a person merges
the pull request.
Checks on every skill#
When a skill is published or changed, Gitoro:
- Scans its files for leaked secrets, such as API keys, tokens and private keys. It records the file, line and kind of secret, never the secret itself. Remove a secret that was found and rotate it, because everyone who can read the repository can see it.
- Files it with AI, unless someone has filed it by hand (see below). Filing doesn't use your workspace's AI credits. The skill is published straight away either way. A workspace that changes more than 300 skills in a day has the rest filed over the next day, and a skill the AI can't file after 3 tries stays unfiled until it changes or someone files it by hand.
Categories and labels#
Every skill is filed under one of a fixed set of categories, with an optional subcategory, and up to 3 labels for what it works with:
| Category | Subcategories |
|---|---|
| Development | Code review, Testing, Debugging, Databases, Architecture, Documentation |
| Operations | Incidents, Deployment, Monitoring, Infrastructure, Automation |
| Data | Analysis, Reporting, Pipelines, Machine learning |
| Product | Requirements, Research, Planning, Release notes |
| Design | Interface, Brand, Accessibility, Content design |
| Marketing | Content, Brand voice, Campaigns, SEO, Social media |
| Sales | Prospecting, Proposals, Customer accounts |
| Support | Customer replies, Knowledge base, Triage |
| Finance | Accounting, Invoicing, Budgeting, Financial reporting |
| People | Hiring, Onboarding, HR policies |
| Compliance | Security, Privacy, Legal, Audits, Policies |
| General | Writing, Documents, Productivity |
Labels are lowercase words joined by hyphens, such as postgresql or
release-notes. The AI reuses the labels a workspace already has and stops
adding new ones once there are 40.
Anyone who can push to a skill's repository can file it by hand. The AI then leaves that skill alone, until someone clears its category to hand it back.
Getting skills into an agent#
Claude, ChatGPT or Gemini#
Add Gitoro to the app as a connector and sign in to Gitoro; see Connect Claude, ChatGPT or Gemini. The app then reads your skills from Gitoro when a task needs them, always the current version, with nothing to download.
Straight from Gitoro over MCP#
Gitoro's MCP server supports the
MCP Skills Extension
(io.modelcontextprotocol/skills), the standard way for an MCP server to
serve skills. An agent that supports it lists your skills from Gitoro and
reads a skill's files only when a task needs them. Nothing is installed or
synced: a merged change is what the next task reads, and access is checked on
every read, so someone who loses access stops getting the skill at once.
| Skill address | skill://<workspace>/<repository>/<skill>/SKILL.md, and the skill's other files next to it |
| Methods | skills/list, skills/get, resources/read and resources/directory/read |
| Which skills | Every skill you can read, in every workspace you belong to. A token limited to some repositories gets only theirs |
| Token | The code scope, read is enough |
Few agents support the extension yet. Until yours does, use one of the ways below, or give it the instructions in the next section.
Until your agent supports it#
Any agent connected to Gitoro's MCP server can read skills from Gitoro on
demand, without installing them, if its instructions tell it to. Add this to
the file your agent reads at the start of every session, such as CLAUDE.md
for Claude Code or AGENTS.md for Codex, with your workspace's name:
## Gitoro skills
Our team's skills are in the Gitoro workspace <workspace>. Before you start a
task, call the Gitoro MCP tool search_skills with workspace "<workspace>" and
a few words about the task. If a skill fits, call get_skill and follow its
SKILL.md. Use its other files only when the instructions call for them, and
write a script to a temporary folder before running it. Don't keep skills
locally: read them from Gitoro each time, so you always use the current
version.The agent decides when to look, so it can still miss a skill that a native skills client would have picked. Each lookup is a tool call.
Claude Code#
Gitoro serves a plugin marketplace with one plugin, skills, holding every
skill you can read in the workspace. It needs Claude Code 2.1.238 or newer.
Add it to your user settings, ~/.claude/settings.json, with a
personal access token with the code
scope in the GITORO_TOKEN environment variable:
{
"extraKnownMarketplaces": {
"gitoro-<workspace>": {
"source": {
"source": "url",
"url": "https://api.gitoro.com/v1/workspaces/<workspace>/skills/claude-marketplace.json",
"headersHelper": "printf '{\"Authorization\":\"Bearer %s\"}' \"$GITORO_TOKEN\""
}
}
},
"enabledPlugins": { "skills@gitoro-<workspace>": true }
}Put it in your user settings, not a project's .claude/settings.json: there
Claude Code hides environment variables that look like credentials from the
headersHelper command, so it would send no token.
The plugin's version changes whenever any of your skills changes. Claude Code
picks up new versions with /plugin marketplace update, or by itself with
auto-update turned on for the marketplace.
Any MCP agent#
Connect the agent to Gitoro's MCP server. search_skills
lists the skills you can read, each with its version and the folder to put
it in, and get_skill returns one skill with all its files, ready to write
into the agent's skills folder.
The agent writes the skill's version to a .gitoro-version file in each
folder it fills. On the next sync it fetches skills whose version changed and
deletes folders with a .gitoro-version whose skill is gone. Folders without
that file are never touched. Nothing changes between syncs: the agent syncs
when asked, or at the start of a session if its instructions say so. The
Connect your agent dialog has a ready-made sync skill.
Downloads#
Each download is a zip with one folder per skill, ready to unzip into an
agent's skills folder. Every folder has a .gitoro-version file, so an MCP
sync can take the skills over later. A download doesn't update by itself, and
unzipping a newer one doesn't remove skills that were deleted since.
| Download | REST API |
|---|---|
| Every skill you can read | GET /v1/workspaces/{workspace}/skills/all.zip |
| One skill repository | GET /v1/workspaces/{workspace}/repositories/{repo}/skills/archive |
| One skill | GET /v1/workspaces/{workspace}/skills/{skill}/archive |
Skills with the same name#
Two repositories can each have a skill with the same name. In downloads, the
Claude Code plugin and search_skills, each then gets the folder
<repository>-<name> (with a number added if that's taken too), and its
SKILL.md name is changed to match, so agents see two distinct skills.
Cloning#
Agents that read skills straight from a folder can clone the repository. A clone has every file on every branch, including skills that aren't published.
API and MCP#
| Action | REST API | MCP |
|---|---|---|
| List or search skills | GET /v1/workspaces/{workspace}/skills | search_skills |
| One skill with its files | GET /v1/workspaces/{workspace}/skills/{skill} | get_skill |
| A repository's skills, unpublished ones included | GET /v1/workspaces/{workspace}/repositories/{repo}/skills | |
| File a skill by hand | PUT /v1/workspaces/{workspace}/skills/{skill}/filing | file_skill |
| List the categories and subcategories | GET /v1/workspaces/{workspace}/skills/categories | |
| Make a repository a skill repository, or code again | PUT /v1/workspaces/{workspace}/repositories/{repo}/kind | set_repository_kind |
| Create a skill repository | POST /v1/workspaces/{workspace}/repositories with "kind": "skills" | create_repository with kind: skills |
{skill} is the skill's ID, <repository>/<name>, or a name that's unique
in the workspace. Reading skills needs the code token scope and filing one
needs code write; changing a repository's kind needs settings.