Skip to content

Classify and adopt valuable SKILL.md metadata keys fleet-wide #1617

Closed as not planned

Description

@kyle-sexton

Pain / intent

The Agent Skills open standard defines an official, spec-sanctioned metadata frontmatter field on SKILL.md: an arbitrary string-key → string-value map for client-defined properties, with a recommendation to namespace keys against collisions (https://agentskills.io/specification#metadata-field). The repo already uses it in production (discipline-batch / discipline-batch-rank keys read by /discipline:sweep-all), and #1227's cheat-sheet generator is about to add a second consumer (per-skill stage / summary / cadence / include keys).

That makes ad-hoc, per-consumer invention the default path — each new tool minting its own keys with no shared vocabulary. Before that hardens, classify what metadata is genuinely valuable fleet-wide and adopt it deliberately.

Deliverables

  1. Metadata-key inventory + classification — survey existing in-repo metadata: usage and candidate keys (lifecycle stage, operator cadence, daily-driver/infra classification, audience, and whatever else consumers like the cheat sheet, sweep-all, or the catalog could share), and classify each as adopt / defer-with-trigger / reject.
  2. Key-vocabulary convention — a documented naming convention (flat string values per the spec, namespaced keys per its collision guidance) stating which keys exist, who consumes them, and where new keys get proposed.
  3. Adoption sweep — add the adopted keys across the affected SKILL.md files, gated by skill-quality checks where a key has constraints (e.g. length caps).

Constraints

  • Spec conformance: string→string, flat; no nested maps.
  • Keys must have at least one real consumer at adoption time — no speculative metadata.
  • Version-bump/changelog posture for a fleet-wide frontmatter sweep is decided here once, not per key.

Relationships

Activity

  1. added
    needs-triage
    on Jul 26, 2026
  2. kyle-sexton commented on Jul 26, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during triage.

    Triage: verified — human-gated

    Carried untriaged for two cycles. Verified this pass rather than deferred again.

    The spec claims check out — fetched this session

    https://agentskills.io/specification, metadata field, retrieved during this triage rather than recalled:

    The optional metadata field:

    • A map from string keys to string values
    • Clients can use this to store additional properties not defined by the Agent Skills spec
    • We recommend making your key names reasonably unique to avoid accidental conflicts

    All three of the body's spec assertions hold: officially sanctioned, string→string flat map, and an explicit namespacing recommendation against collisions. The spec lists metadata alongside name, description, license, compatibility, and the experimental allowed-tools, and reserves no keys inside metadata — so the vocabulary genuinely is ours to define, and nothing upstream will define it for us.

    The premise is stronger than the body states — there are already three independent vocabularies

    The body names discipline-batch / discipline-batch-rank as the one production consumer and #1227 as the incoming second. Surveying live metadata: usage across the marketplace turned up a third, already shipped and unmentioned: the context7:lookup skill carries upstream-version and synced keys recording an upstream sync point.

    That matters for how this is framed. The body treats ad-hoc per-consumer invention as a risk about to materialize. It has already materialized twice, in two unrelated plugins, with no shared convention and no namespacing on either — discipline-batch and upstream-version are both bare keys, exactly the collision shape the spec's recommendation warns about. This is a consolidation problem now, not only a prevention one, and the inventory in deliverable 1 has a real existing corpus to classify rather than a hypothetical one.

    Live ordering hazard — the reason this should not sit a third cycle

    #1227 is already status: ready + agent-ready. It is autonomous-eligible right now, and it is the first new consumer, minting per-skill stage / summary / cadence / include keys. If it is picked up off the frontier before this item sets the vocabulary, its keys land ad hoc and the hardening this item exists to prevent happens anyway — after which #1617 becomes a migration with real call sites instead of a greenfield convention.

    That is a scheduling decision only a human can make, and it is the most time-sensitive thing in this item. The options are genuinely open: sequence #1617 ahead of #1227, let #1227 ship and fold its keys in afterwards, or scope a minimal naming rule now that #1227 must conform to without waiting for the full inventory. This triage takes no position — it only flags that the window is open and closes when #1227 is picked up.

    Why human-gated rather than delegable

    Three independent blockers, each sufficient on its own:

    1. Open design space. "Classify each key as adopt / defer-with-trigger / reject" is a judgment call about what the fleet's metadata vocabulary should be, with no correct answer derivable from the repo. The body's own candidate list (lifecycle stage, operator cadence, daily-driver/infra classification, audience) is explicitly open-ended.
    2. A policy decision the body reserves. It states the version-bump/changelog posture for a fleet-wide frontmatter sweep is "decided here once, not per key." That is repo policy, not implementation.
    3. Blast radius. Deliverable 3 is a sweep across many SKILL.md frontmatter blocks. Under this repo's fresh-docs mandate, frontmatter is a contract surface, so the sweep is not mechanical regardless of how uniform the edit looks.

    For whoever picks this up

    • Re-fetch the specification rather than inheriting the quote above. It is current as of this triage only, and the fresh-docs mandate treats frontmatter as a contract surface that must be verified against a page fetched in-session.
    • Start the inventory from the three vocabularies already in the tree (discipline-batch / discipline-batch-rank, the context7:lookup sync keys, and Skill-selection cheat sheet + progressive-disclosure README split #1227's proposed set), not from a blank list — two of the three ship today and constrain what a convention can require without a migration.
    • The constraint that keys must have at least one real consumer at adoption time is a good one and worth keeping; it is what makes this a vocabulary rather than a metadata wishlist.
    • Whatever convention lands should say where the skill-quality checker enforces it, since deliverable 3 asks for gating on keys that carry constraints.

    Role labels resolved from .work-item-tracker.json, which declares no config.role_labels — the canonical roles therefore run on their documented defaults (agent-ready / needs-human); both were confirmed present in this repo's live label set before use.

  3. added
    needs-human
    and removed
    needs-triage
    on Jul 26, 2026
  4. kyle-sexton commented on Jul 27, 2026

    @kyle-sexton
    MemberAuthor

    Adopted metadata vocabulary from #1227 (merged in #1704, ebc7ffbf0c) — the first consumer of the fleet metadata vocabulary this issue owns.

    Keys (renamed from the plan's cheatsheet-* by user decision — see the #1227 thread):

    key contract
    workflow-stage enum slug, 13 values: contract, explore, research, plan, implement, test, review, verify, retro, pr (the session-flow workflow spine, drift-asserted against its steps.md) plus anytime, session, operator
    summary plain-scalar one-liner, ≤ 100 Unicode codepoints, charset-guarded (summaryError() in scripts/cheatsheet-config.mjs); gated by skill-quality check 22
    cadence enum daily | weekly | continuous; required iff workflow-stage: operator

    Coverage: 121 skills mapped, 62 explicit generator-side exclusions (6 personal-domain plugins, the setup-skill rule, 3 maintainer-only skills).

    Version-bump posture, precisely scoped for this vocabulary to ratify: the sweep shipped with NO plugin version bumps — a bump is the delivery vehicle to installed consumers, and these keys currently have no runtime consumer (the sheet generator reads the repo working tree, not installed caches). That no-bump posture holds ONLY while that stays true: the FIRST runtime consumer of workflow-stage/summary/cadence (e.g. a which-skill router reading installed caches — the shape #1689 may take) must ship with a fleet bump wave, or installs pinned before the sweep never receive the keys. skill-quality alone bumped (0.12.0→0.12.1) because its new check is behavioral.

    Deferred with trigger (recorded in #1227 planning): a design stage-enum extension — design-shaped skills currently map to plan; first skill that cannot defensibly sit in plan proposes the extension here.

  5. added theissue type on Aug 13, 2026
  6. kyle-sexton commented on Aug 13, 2026

    @kyle-sexton
    MemberAuthor

    Frontier disposition (drain session)

    Ruling: Close as not planned for this drain wave (frontier consensus).

    Dual-panel drain ruling: advisory, superseded, folded into a program umbrella, or blocked on a host/design carrier without an actionable in-repo slice this session. Re-open with a concrete acceptance brief if a consumer needs the work.

    KEEP set for this wave: standing telemetry; host-physical Class C (#631 family); program umbrellas #530/#531/#532/#535; live design carriers #1500/#1553/#1668/#1695/#1716/#1681/#1718; #1360.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-human

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions