[UI-REWRITE]: Add agent skills
Summary Enable users to add skills to agents added through the manual connect form (#7350) in the agent details drawer. Design
Skills are published in GET /v1/a2a/{agent_id}/card, the 0.3 and 1.0 card builders, and the virtual server card (a2a_server_service.py:211).
Proposed work
Add skills in the detail drawer after connecting an agent using the manual add form. Required fields: name, description, tag(s), and an id (derived from the name: the user doesn't enter this in the form).
Skills are submitted with the agent in a single POST /v1/a2a, so no separate permission applies.
Write rules
Send skills at the top level of the create request, not inside capabilities. Only the top-level field is validated, and only it populates the skills column that the card builders read first.
Mirror the API limits: 100 skills, 50 tags per skill, 255 characters on id, name and tag, 8192 on description, no markup in any of the four fields, no duplicate ids within an agent.
An id is unique within an agent, and the virtual server card de-duplicates by id across agents, keeping the first and dropping the rest. Derive the id from the name so a user does not have to reason about this, and report a duplicate within the form before submission.
Acceptance
- [ ] Skills can be entered after agent is added manually, with name, tag(s), description, and the id (derived from the name)
- [ ] A duplicate id within the agent is reported in the form
Depends on
- openapi.json regeneration in contextforge-web-ui. The pinned copy predates #7433, so A2AAgentCreate exposes only uaid_skills and carries no skills field.
Related
- Design: #5368
- Parent: #7023
- Siblings: #7350, #7518, #7352, #7025
@marekdano , this is design-ready to work on 🙌 @jonpspri for planning / prioritization.