---
title: Config
published: true
tier: free
index: 2
---

# Config

Put an optional `glue.json` at the root of your repository to describe a
release and configure how readers install or use it. Glue reads it from
the commit you select when you publish.

```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."
}
```

Only `schemaVersion` is required when the file exists. Glue discovers Markdown
without it. Use [frontmatter](./frontmatter.md) for page and skill metadata,
and project settings for tier prices and channel access.

## Release notes

To add **Release notes** to the release page, put a published `release.md` at
the root of your repository. Glue uses the Markdown body from the exact commit
in the release snapshot. It omits the section when the file is missing,
unpublished or blank. Customer visibility follows the release's existing
access and tier rules. Pages marked `navigation: mcp` stay off customer release
pages. See [Frontmatter](./frontmatter.md).

## Top-level fields

| Field | What it controls |
| --- | --- |
| `schemaVersion` | Use `1` for ordinary releases. Use `2` when declaring metered skills in `usage`. |
| `name` | Release name, up to 200 characters. Defaults to the root README title or the project name. |
| `description` | Release description, up to 1,000 characters. Defaults to the root README description or the project description. |
| `version` | Suggested release version, such as `1.0.0` or `1.0.0-beta.1`. Glue checks the root README frontmatter and then the native plugin manifest if omitted. |
| `license` | License terms for the release, up to 10,000 characters. You can also supply terms in the root README frontmatter or when publishing. |
| `defaults.skill` | Default skill name in the release metadata. Use the name of a published `skills/<name>/SKILL.md`. |
| `plugin` | Native plugin target, skill, and MCP configuration. |
| `github` | GitHub Actions tasks and the task selected by default. |
| `mcp.tools` | Named lookups over folders of published Markdown. |
| `usage.skills` | Maps installable skills to protected MCP resources for metered runs. Requires schema version 2. |

Glue rejects unknown fields. Older files may use `agent` instead of
`plugin`; don't use both. The legacy `priceCents` field is accepted but
ignored.

## Plugins

Glue detects `.codex-plugin/plugin.json` and `.claude-plugin/plugin.json` in
the repository root. Use `plugin.target` (`codex` or `claude`) to select the
default format when you support both. Use `plugin.skill` to identify a
published skill for a generated plugin. Set `plugin.mcp` to `".mcp.json"`
to bundle that root configuration file. Keep credentials out of committed
files. See [How to connect your agent](../../guides/site/connect-an-agent-to-publish.md).

## GitHub Actions

Set `github.defaultTask` to one of the names in `github.tasks`. Each task
needs a unique `name`, a published `skill`, `runner: "github-action"`, and a
`uses` reference. Bundle an action with the task’s skill using a path such as
`./skills/review-docs/ci` containing `action.yml` or `action.yaml`. For an
external action, use `owner/repo[/path]@<full-commit-sha>`.

A task can also define literal `inputs`, `secrets` that map input names to
GitHub secret names, `paths` to limit when the workflow runs, and
`permissions` for the generated workflow. Set `mcp` to `true` on a task that
needs the project's MCP endpoint and the customer's token. See
[How to install GitHub Actions](../../guides/skills/publish-a-task.md#creators-configure-and-publish-a-task).

## MCP content tools

Declare up to ten tools in `mcp.tools`. Each needs a unique lowercase
`name`, a `description`, and a repository-relative `folder` containing
published Markdown. Use `filters` to accept frontmatter values, `returns`
to include frontmatter fields in results, and `search: true` to add a text
query. The project's MCP access tier still applies. See
[Add a content tool](../../guides/tools/add-a-content-tool.md).

## Metered skills

The key under `usage.skills` must match a published skill. The lookup tool and resource must point to the same folder. Put the protected pages outside the downloadable skill and use `navigation: mcp` on those pages.

```json
{
  "schemaVersion": 2,
  "mcp": {
    "tools": [
      {"name": "find_checks", "description": "Find store audit checks.", "folder": "checks"}
    ]
  },
  "usage": {
    "skills": {
      "store-audit": {
        "label": "Store audit",
        "resource": {"kind": "mcp-folder", "path": "checks", "lookupTool": "find_checks"}
      }
    }
  }
}
```

Each skill can set `mcpCallsPerRun` (default 100). Set the number of runs included in each tier in Glue. [Prices](./prices.md)

Commit and push your changes, then [publish a new release](../../getting-started/publish-your-first-project.md#publish-a-release).
