Skip to content

Add --add flag to preserve existing skills during install #1771

Description

@romivol

Is your feature request related to a problem? Please describe.
Every time I run apm install with a --skill flag, it removes previously
installed skills from the target directory. This makes it impossible to
build up a set of skills incrementally - each new install silently wipes
out everything that was installed before.

Describe the solution you'd like
Add an --add flag that installs a skill additively, without removing
existing skills in the target directory.

Example workflow that should work:
apm install repo.git --skill grill-me --target claude
apm install repo.git --skill qa --target claude --add
← both grill-me AND qa should now be present

Without --add, the current behavior removes grill-me when qa is installed.

Describe alternatives you've considered
Declaring all skills upfront in apm.yml works as a workaround, but it
defeats the purpose of having a CLI -sometimes you just want to quickly
add one more skill without editing a config file.

Additional context
This behavior is especially surprising because most package managers
(npm, pip, cargo) are additive by default -installing a new package
never removes existing ones. APM doing the opposite is unintuitive and
easy to miss, since there's no warning when skills are deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliCLI command surface, flags, help text (cross-cutting).priority/lowAccepted but not time-sensitivestatus/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).theme/portabilityOne manifest, every target. Multi-target deploy, marketplace, packaging, install.type/featureNew capability, new flag, new primitive.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions