Skip to Content
agore-skill
Reference

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, inspect and lint are zero-config capable. Only release requires the file to exist.
  • Fields missing from an existing file are filled from the defaults. For example, a config without skill.lint.budgets gets the default budgets.
  • Unknown top-level keys are tolerated. agore is the parent domain and skill one sub-domain; other sub-domains (for example a future eval:) are ignored without error. The same applies to unknown nested keys.
  • The only constrained value is the publisher type, which must be bundle or github.

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: github

Field reference

Root

FieldTypeDefaultMeaning
versionint1Config format version.
projectobject—Project identity.
workspaceobject—Git workspace settings.
skillobject—The skill sub-domain.

project

FieldTypeDefaultMeaning
namestring""Project name. init fills it from the directory name. Used as the fallback repository slug.
repositorystring""Repository URL. First source of the release repository slug; init fills it from git remote get-url origin when available.

workspace

FieldTypeDefaultMeaning
basestring"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

FieldTypeDefaultMeaning
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.
lintobjectsee belowLint behavior.
releaseobjectsee belowRelease behavior.

skill.lint

FieldTypeDefaultMeaning
strictboolfalseTreat warnings as lint failures. The --strict flag forces this on.
ignore[]string[]Rule IDs to skip entirely (e.g. ["TRIG-001", "CTX-003"]).
budgetsobjectsee belowContext budgets used by CTX-001 and the inspect progress bars.

skill.lint.budgets

FieldTypeDefaultMeaning
description_max_tokensint120Maximum tokens for L1 (name + description).
body_max_tokensint2500Maximum tokens for the L2 body of SKILL.md.
body_max_linesint300Maximum 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

FieldTypeDefaultMeaning
exclude[]stringnil (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.

On this page