---
title: Frontmatter
published: true
tier: free
navigation: listed
index: 0
---

# Frontmatter

Frontmatter is the small metadata block between `---` lines at the beginning of
Markdown. It controls publication, content access and navigation independently.
Prices belong in **Settings → Payment**; frontmatter selects a tier, not a price.

```md
---
title: Comprehensive Shopify Audit
published: true
tier: free
navigation: listed
index: 0
---

# Comprehensive Shopify Audit

A public overview of the paid skill.
```

## Supported fields

| Field | Values and default | Purpose |
| --- | --- | --- |
| `title` | Optional text, up to 200 characters | Page title. Otherwise Glue uses the first H1 or filename. A folder README also supplies its navigation title. |
| `published` | `true` (default), `false` | Include the page in a new release. `false` excludes the page from visitor reads, discovery, AI retrieval and new exports. It is a draft setting. |
| `tier` | `free`, `paid`, or a configured tier key | Minimum content access. Outside a native skill it defaults to free. Inside `skills/<name>/`, omitted tiers inherit from `SKILL.md`. An explicit `tier: free` overrides that inheritance. `paid` and the legacy alias `premium` select the first paid tier. Higher tiers include lower tiers. |
| `navigation` | `listed` (default), `hidden`, `mcp` | Where a released page can be found. `listed`: on the website and over MCP. `hidden`: off navigation, folder cards, search and AI discovery, but readable at its direct address. `mcp`: off the website; agents find and read it over MCP. All three stay in eligible installs. This never grants access. See [Listed, hidden and MCP-only pages](#listed-hidden-and-mcp-only-pages). |
| `topbar` | `true`, `false` (default) | Opt a top-level folder into the top navigation. Set on that folder’s README.md; ordinary pages, nested folders and the root README do not add links. You can't combine it with `navigation: mcp`. |
| `index` | Optional integer, 0–2147483647 | Sort order within a folder. Lower numbers come first; ties and omitted indexes use repository paths. |
| `access` | `public` (default), `restricted` | Compatibility access flag. A paid tier always remains restricted, even with `access: public`. Restricted free content requires an explicit release grant or membership; signing in alone is insufficient. Prefer `tier` for paid access. |
| `name` | Required for native `SKILL.md`, up to 64 characters | Skill identifier matching its folder, using lowercase letters, numbers and hyphens. |
| `description` | Required for native `SKILL.md`, up to 1024 characters | A single-line description explaining when an agent should use the skill. Optional on ordinary pages. |
| `version` | Optional text, up to 100 characters | Root README release-version fallback when `glue.json` does not supply one. The release version must be a semantic version. |
| `license` | Optional text, up to 10000 characters | Root README license fallback when release configuration does not supply one. |

Use flat, single-line values. Matching single or double quotes are supported.
Nested YAML, multiline values and aliases are not supported for these fields.
Unknown fields are ignored; invalid or duplicate supported fields stop publication
and leave the previous release available.

## Top navigation

In a top-level folder such as `paper/README.md`:

```yaml
---
title: Paper
topbar: true
index: 1
---
```

The link uses the folder's title, order and landing destination. Only opted-in
folders appear, including when there is just one. Omitted or `topbar: false`
leaves the folder in normal navigation without a top-bar link. When no folders
qualify, the folder-links row is hidden. This also applies to existing sites;
there is no automatic fallback to all folders.

The README must be published, listed and available to the viewer. `topbar` never
overrides `published`, `navigation` or access rules. A page with both
`topbar: true` and `navigation: mcp` stops the sync, and the previous release
stays available. Commit, push and publish a new release to update the live site.

## Listed, hidden and MCP-only pages

The three `navigation` values are a ladder. Each step takes the page further
off the website. None of them decides who can read the page; `tier` does that.

| Value | On the website | Over MCP |
| --- | --- | --- |
| `listed` | In navigation, folder cards, search and AI discovery. | `list_pages`, `search_docs` and `read_page` include it. |
| `hidden` | Not in navigation, folder cards, search or AI discovery. Anyone who may read it can open its direct address. | `read_page` reads it by address. `list_pages` and `search_docs` leave it out. A content tool over its folder returns it. |
| `mcp` | Not on the website for anyone outside your project team. | `list_pages`, `search_docs` and `read_page` include it, and so does a content tool over its folder. |

A listed page needs nothing, because `listed` is the default:

```yaml
published: true
navigation: listed
```

A hidden page stays out of menus and search:

```yaml
published: true
navigation: hidden
```

An MCP-only page is off the website. Add `tier` to decide who can read it:

```yaml
published: true
navigation: mcp
tier: paid
```

An MCP-only page has no website address for visitors or customers. Its page
address, `/p/` address, custom domain addresses, raw `.md` file and images
return not found. It is left out of the sitemap and `llms.txt`. Website chat
and the hosted agent (`ask_agent`) never use it. Your project team still sees it
in **Pages** and the pull request preview, marked MCP only, and can open it at
its direct address.

Over MCP, callers whose tier includes the page find and read it with the default
tools. You don't need `glue.json` for that. A caller below its tier gets
nothing, as with any restricted page. `read_page` returns no `installUrl` for
it, because the website does not serve it.

Installs are unchanged. A page inside `skills/<name>/` ships with that skill,
whatever its `navigation`. A README with `navigation: mcp` is not a folder
landing for visitors. The folder still shows when it has listed pages.

## Public overview, paid skill

For `skills/comprehensive-shopify-audit/README.md`:

```yaml
published: true
tier: free
navigation: listed
```

For `skills/comprehensive-shopify-audit/SKILL.md`, retain the skill's required
`name` and `description`, then set:

```yaml
published: true
tier: paid
navigation: hidden
```

Supporting files inherit the skill's paid tier. To hide their navigation entries,
put this in each supporting Markdown page:

```yaml
published: true
navigation: hidden
```

Everyone can read the README. Only customers with the required release/tier grant
and project members can read the paid bodies. Signing in alone does not unlock
them. Explicitly marking another page `tier: free` makes that page public too.

The complete skill's installation tier is the highest tier required by its
Markdown files. A free README never unlocks a paid skill installation. Eligible
installs include hidden procedures, references and bundled assets in every
supported format. Glue does not offer an incomplete paid skill as a free
installation.

Hidden pages can still be read by eligible customers at a direct URL. Hiding a
page does not erase explicit links an author put in public Markdown. To keep
internal paths out of an overview, do not link those paths there. To take paid
pages off the website entirely, use `navigation: mcp` instead of `hidden`.
Eligible installs still include them.

## Drafts and existing releases

Use `published: false` for unfinished material, not for paid procedures that
customers need. A draft `SKILL.md` excludes its whole skill from a new package.
A published skill that links to an excluded required reference fails validation;
restore the reference or remove the dependency before publishing.

Commit and push metadata changes, then publish a new release. Existing releases
retain their snapshotted permissions and package contents. Releases created
before independent page policies retain their whole-skill access rules until a
new release adopts this model; changing frontmatter does not rewrite them.

A one-time purchase covers its exact release. A current subscription covers its
eligible releases and tier. Older purchases do not automatically unlock a newer
published edition. MCP connection access and hosted-answer allowances remain
separate requirements; neither a connection nor login bypasses page tiers.
