Skip to content

Improvement: let members upload a skill bundle for their teams without editing team IDs into SKILL.md #5032

Closed

Description

@yannickmonney

Summary

A member uploads a folder with a skill: SKILL.md plus 16 reference and example files. The preview then says:

Your organization reserves sharing with everyone for Editors and above, and members an admin allowed. Set visibility to team with your team IDs in SKILL.md, or ask an admin to upload this bundle.

and Upload stays disabled. Members cannot see team IDs and should not have to edit frontmatter to choose an audience. The app has no other way to add files to a skill (the bundle tree in the skill dialog is read-only), so members cannot publish a skill that has more than a SKILL.md.

What main does

Observed at main a71d0d92e9.

  • The upload takes the audience from the bundle's frontmatter. When that is org, which is also the default, and the person may not share with everyone, the button is disabled (services/platform/app/features/skills/components/skill-upload/skill-upload-pane.tsx:43-45, :134).
  • The upload preview has no audience control. The blank-skill form has one (skill-visibility-field.tsx).
  • The copy is in services/platform/messages/en/skills.yml:127-142. "…and members an admin allowed" reads as a fragment.

Proposed

  • Add an audience field to the upload preview, using the same control as the blank-skill form: the whole organization (when allowed) or the person's teams. Preselect their teams when sharing with everyone is reserved.
  • The upload request carries the chosen audience. The server writes it into the stored SKILL.md frontmatter and enforces skill_sharing as it does today.
  • Reword the reserved-sharing messages in en/de/fr, for example: "Only Editors and above, and members an admin allowed, can share a skill with everyone."
  • A person in no team is told to ask an admin to add them to a team.

Done when

  • A member who is in a team uploads a multi-file bundle for that team without touching SKILL.md.
  • Sharing with everyone stays refused for members the policy does not allow.
  • Tests cover the preview (audience preselection, disabled states) and the upload endpoint with an audience override.

Scope for parallel work

This touches the skill upload UI (app/features/skills/components/skill-upload/), the upload endpoint (backend/domains/skills/upload.ts) and the skills message catalog. It is independent of the chat skill issues from this pilot.

Activity

  1. added
    priority: medium
    improvement
    service: platform
    on Oct 23, 2026
  2. added
    agent-ready
    on Oct 29, 2026
  3. added a commit that references this issue on Oct 30, 2026
    97d33d8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyimprovementpriority: mediumservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions