fn global_skill_or_new(
state: &AppState,
id: &str,
) -> Result<Option<Skill>, ApiError>Expand description
Some(skill) for an existing catalog skill, None for an id nothing has used yet (a caller may
choose its own id); an agent’s private skill is refused.