---
title: Create a skill
published: true
access: public
index: 0
---

# Create a skill

Use your [project's GitHub repository](../../getting-started/publish-your-first-project.md)
to write an installable skill and publish it in a release.

## Add a skill

Create `skills/review-docs/SKILL.md` in your repository:

```md
---
name: review-docs
description: Review Markdown documentation for missing steps and broken links.
published: true
access: public
tier: free
---

# Review documentation

1. Read the documentation and identify its intended audience.
2. Check that setup steps include prerequisites and an expected result.
3. Check relative links against files in the repository.
4. Report each issue with its file, the reader's problem and a suggested fix.
```

The `name` must match the folder name, and `description` explains when an agent
should use the skill. Put supporting Markdown inside the skill's folder and
link to it from `SKILL.md`. Keep credentials and private source material out of
files you distribute.

An authored root `skills/<name>/SKILL.md` is required for every installable
skill. Ordinary project pages and READMEs remain documentation and never become
skills automatically. `install-skills` installs the available authored skills;
`--skill review-docs` selects only this example. If a release contains no skills,
the command prints `No skills found.` and writes no installation files.

### A retrieval skill for a documentation project

A project that is mostly documentation can offer a simple **Retrieve docs**
skill. The installed skill tells a local agent where the docs live and how to
find and load the files relevant to a question. The docs stay as ordinary
Markdown and are fetched when needed.

For example, Brickspace Lab's docs could provide
`skills/retrieve-docs/SKILL.md`:

```md
---
name: retrieve-docs
description: Find and read Brickspace Lab documentation when a user asks about its setup, conventions or workflows.
published: true
access: public
tier: free
---

# Retrieve docs

Documentation index: https://glue.fast/s/your-project/README.md

1. Open the documentation index and find the pages relevant to the user's task.
2. Follow its links and load the Markdown files needed to answer the question.
   Read linked references when they supply necessary detail.
3. Base the answer on the retrieved docs and cite the source pages. If a file
   is unavailable or the docs do not answer the question, say what is missing.
```

Replace the example URL with your project's published documentation index and
adapt the description to the questions your docs answer before publishing.
Give the agent a real index or table of contents so it can discover files
without guessing their addresses. Use published Markdown links for direct
reading; an enabled Content MCP connection can also provide search and reads.

Readers install the authored retrieval skill, then their local agents can use
it to load any documentation they have access to. Installation does not copy
all the docs or grant access to restricted files. Verify the skill with a real
question and check that it finds the right pages and cites them.

## Set release metadata

Add optional `glue.json` at the repository root to describe the release and
record license terms. Choose terms that match how customers may use your work;
the following example permits use while forbidding redistribution:

```json
{
  "schemaVersion": 1,
  "name": "Documentation skills",
  "description": "Skills for reviewing team documentation.",
  "version": "1.0.0",
  "license": "Personal and commercial use. Redistribution is not permitted."
}
```

Commit and push the files, then publish a new release from that commit. Keep
prices in project settings; `glue.json` does not set prices.

Before publishing, you can [add an icon for Codex](./add-a-skill-icon.md).
Once the release is published, [enable installation and share it](./share-and-install-skills.md).
