UX: Remove Permission Mode and Tools fields from agent form, add Skills input
Description
Three UX changes to the agent configuration form (TeamBuilderPage):
1. Remove Permission Mode field
The permissionMode is always bypassPermissions (hardcoded in backend). Remove this UI option entirely.
2. Remove Tools field
With bypassPermissions, all tools are available. Remove the Tools dropdown/combobox from the sub-agent configuration.
3. Add Skills input
Add a new input that allows the user to configure skills for sub-agents. This should be a tag-like input where users can add skill package names (e.g., vercel-labs/agent-skills).
The skills list is reflected in the sub-agent YAML frontmatter:
---
name: api-developer
description: Implement API endpoints following team conventions
background: true
isolation: worktree
skills:
- api-conventions
- error-handling-patterns
---
Reference: https://code.claude.com/docs/en/sub-agents#preload-skills-into-subagents
Files to Change
src/pages/TeamBuilderPage.tsx— Remove Tools/PermissionMode fields, add Skills tag inputsrc/types/— Update agent type to include skills array- Preview section (Step 3) should show skills in YAML frontmatter preview
Acceptance Criteria
- [ ] Permission Mode field removed from UI
- [ ] Tools field removed from UI
- [ ] Skills input added (tag/chip style) for sub-agents
- [ ] Skills appear in the YAML preview
- [ ] Skills are sent to the API when creating/updating an agent
Closed via commit 3239a53 — replaced permission mode and tools fields with skills tag input.