Skip to content

Skill-to-ConfigMap conversion tooling #6

Closed

Description

@pavelanni

Summary

Provide tooling or documentation for converting local skill directories into Kubernetes ConfigMaps, following the --from-file pattern.

Motivation

Skills are text files (SKILL.md + supporting files) that need to be mounted into agent pods. The conversion from local directories to ConfigMaps should be streamlined.

Reference

Tony Kay's Deep Agents workshop demonstrates this pattern:

oc create configmap agent-skills \
  --from-file=escalation-SKILL.md=skills/escalation/SKILL.md \
  --from-file=postmortem-SKILL.md=skills/postmortem/SKILL.md

Then mount via deployment patch with subPath to place each file at the expected path.

Options to consider

  • Makefile target — make configmap SKILLS_DIR=./skills generates the oc create configmap command
  • Shell script — scripts/skills-to-configmap.sh that walks a skills directory and produces the right --from-file flags
  • Kustomize generator — ConfigMapGenerator in deploy/kustomization.yaml

Acceptance criteria

  • Easy one-command conversion from a skills directory to a ConfigMap
  • Works with both kubectl and oc
  • Documentation with examples in deploy/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions