Skip to content

Reconcile installed.yaml with on-disk skill installs when listing #17

@hbelmiro

Description

@hbelmiro

Problem

skill list --installed reads installed.yaml only. If users delete skill files manually, the list diverges from the filesystem.

Proposal

  • When listing installed skills, verify each entry’s target directory and artifact.json.
  • Repair: If install is missing but cache is valid, re-copy from cache (InstallToTarget).
  • If cache is missing, mark entry error (or remove — product choice) and persist installed.yaml.
  • Document that --installed may update installed.yaml / disk.

Acceptance criteria

  • Tests: missing target dir + good cache → repaired; missing cache → error state persisted.

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