agore.yaml reference
Every configuration field with types, defaults, and the loader's tolerance rules.
Location and loading
The file is agore.yaml in the working directory by default (override with
the global --config flag). Loading rules:
- A missing file is not an error — the built-in defaults are used, so
init,create,inspectandlintare zero-config capable. Onlyreleaserequires the file to exist. - Fields missing from an existing file are filled from the defaults. For
example, a config without
skill.lint.budgetsgets the default budgets. - Unknown top-level keys are tolerated.
agoreis the parent domain andskillone sub-domain; other sub-domains (for example a futureeval:) are ignored without error. The same applies to unknown nested keys. - The only constrained value is the publisher
type, which must bebundleorgithub.
Full example
version: 1
project:
name: my-skills
repository: https://github.com/agore-dev/my-skills
workspace:
base: main
skill:
paths:
- "."
- "skills/*"
exclude:
- "evals/**"
- "tests/**"
- "**/*_test.*"
lint:
strict: false
ignore: []
budgets:
description_max_tokens: 120
body_max_tokens: 2500
body_max_lines: 300
release:
publishers:
- type: bundle
- type: githubField reference
Root
| Field | Type | Default | Meaning |
|---|---|---|---|
version | int | 1 | Config format version. |
project | object | — | Project identity. |
workspace | object | — | Git workspace settings. |
skill | object | — | The skill sub-domain. |
project
| Field | Type | Default | Meaning |
|---|---|---|---|
name | string | "" | Project name. init fills it from the directory name. Used as the fallback repository slug. |
repository | string | "" | Repository URL. First source of the release repository slug; init fills it from git remote get-url origin when available. |
workspace
| Field | Type | Default | Meaning |
|---|---|---|---|
base | string | "main" | Base branch for --changed diffs (git diff <base>...HEAD). Uncommitted working-tree changes (staged, unstaged, untracked) are always included on top of the commit diff. |
skill
| Field | Type | Default | Meaning |
|---|---|---|---|
paths | []string | [".", "skills/*"] | Glob patterns (relative to the repo root) for discovering directories that directly contain SKILL.md. Also decides where create scaffolds: a skills/* pattern routes new skills to skills/<name>. |
exclude | []string | ["evals/**", "tests/**", "**/*_test.*"] | Globs matched against skill-relative paths. Excluded files are skipped by inspect, lint and release alike — see the file funnel. |
lint | object | see below | Lint behavior. |
release | object | see below | Release behavior. |
skill.lint
| Field | Type | Default | Meaning |
|---|---|---|---|
strict | bool | false | Treat warnings as lint failures. The --strict flag forces this on. |
ignore | []string | [] | Rule IDs to skip entirely (e.g. ["TRIG-001", "CTX-003"]). |
budgets | object | see below | Context budgets used by CTX-001 and the inspect progress bars. |
skill.lint.budgets
| Field | Type | Default | Meaning |
|---|---|---|---|
description_max_tokens | int | 120 | Maximum tokens for L1 (name + description). |
body_max_tokens | int | 2500 | Maximum tokens for the L2 body of SKILL.md. |
body_max_lines | int | 300 | Maximum lines for the L2 body of SKILL.md. |
A budget set to 0 or a negative value is treated as absent and replaced by
its default.
skill.release
| Field | Type | Default | Meaning |
|---|---|---|---|
exclude | []string | nil (legacy alias of skill.exclude) | Legacy. Globs matched against skill-relative paths to skip files when bundling. When skill.exclude is absent, this list is promoted to skill.exclude at load time; when both are set, both lists apply (merged, deduped). New configurations should use skill.exclude. |
publishers | []object | [{type: bundle}, {type: github}] | Ordered publisher list. Only bundle and github are valid; anything else fails config loading with unsupported publisher type "<t>" (allowed: bundle, github). |
Migration note. Move your exclusion list from skill.release.exclude to
skill.exclude. Leaving it in the old place still works — the value is
promoted to skill.exclude when the new key is absent — but configs that
have both lists get both applied, which is rarely what you want.
Validation errors
The loader reports and aborts on: YAML syntax errors
(parse config <path>: ...), and unsupported publisher types. Everything
else — unknown keys, unknown rule IDs in ignore (they simply match no
rule), unusual glob patterns — is accepted or ignored.
Related
- How
pathsinteracts with discovery: Zero-config single-repo vs monorepo discovery