Skip to content

Add enabled field to library.yaml entries #1

@nikhilmaddirala

Description

@nikhilmaddirala

Problem

Currently, all entries (skills, agents, prompts) defined in library.yaml are always enabled. There's no built-in way to conditionally enable or disable specific entries when using the library in different contexts (e.g., different machines, projects, or use cases).

Proposed Solution

Add an optional enabled boolean field to each entry in the library (skills, agents, prompts). When not specified, it should default to true (backward compatible).

Example

Current structure:

library:
  skills:
    - name: my-skill
      description: What this skill does
      source: /Users/me/projects/tools/skills/my-skill/SKILL.md
      requires: [agent:helper-agent]

Desired structure:

library:
  skills:
    - name: my-skill
      description: What this skill does
      source: /Users/me/projects/tools/skills/my-skill/SKILL.md
      requires: [agent:helper-agent]
      enabled: true

Benefits

  • Enable/disable entries per environment or context without deleting them
  • Easily toggle entries on/off during development
  • Keep a single source of truth for definitions
  • Maintain backward compatibility (default to true)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions