I use oh-my-pi as a coding agent and added it as a custom target in my Skillshare config as omp.
targets:
omp:
path: ~/.omp/agent/skills
I then reference it in skills like this:
But I keep getting unknown target warnings in skillshare doctor output:
! Skill targets: brave-search: unknown target "omp"
Repro
- Add a custom target (for example
omp) to global config.yaml.
- Add that target name to a skill's
targets field.
- Run
skillshare doctor (same for skillshare check).
What I expected
If a target is configured in global or project config.yaml, it should be treated as a known target and not warned as unknown.
Likely cause
findUnknownSkillTargets() builds its known set from config.KnownTargetNames() (built-in targets.yaml names), but doesn't include user-defined target names from config.
I use oh-my-pi as a coding agent and added it as a custom target in my Skillshare config as
omp.I then reference it in skills like this:
But I keep getting
unknown targetwarnings inskillshare doctoroutput:Repro
omp) to globalconfig.yaml.targetsfield.skillshare doctor(same forskillshare check).What I expected
If a target is configured in global or project
config.yaml, it should be treated as a known target and not warned as unknown.Likely cause
findUnknownSkillTargets()builds its known set fromconfig.KnownTargetNames()(built-intargets.yamlnames), but doesn't include user-defined target names from config.