Repository navigation
Description
Summary
A person chatting in Tale cannot choose a skill. The composer has no skill picker and no / command, so a skill reaches a chat only when the model decides to load it (load_skill), on its own or because the person wrote the skill's name in the message. #4817 (2026-10-12) let chats use skills, but only through the model. The person's side of it did not come back.
Reported on 2026-10-13: as a user, skills cannot be selected in chat, although the recent change was meant to allow skills in normal chats. This issue collects what main does today, what was removed and when, the constraints a change has to respect, and options. It proposes no one fix.
What main does today
| Surface | Today | Anchor |
|---|---|---|
| Composer | "Model selection only, by design (the Chat·Task·Automation boundary): there is no agent picker, no skill picker, and no sandbox control here." The same boundary text sits in three more places. | services/platform/app/features/chat/components/composer.tsx:8-10; composer-selection-picker.tsx:9; app/features/chat/types.ts:222; app/features/chat/data/chat-backend.ts:13 |
/ command |
None. A message that starts with /docx is sent as ordinary text; lib/skills/ holds no slash parser. |
services/platform/lib/skills/ |
| REST send | The body carries the prompt, the model and sampling options, and no field that names a skill: the word "skill" does not occur in that block of the OpenAPI source. | services/platform/scripts/openapi/spec.ts:6723-6900 |
| How a skill reaches a turn | chatWorkTools lists the skills the person may see and hands the model a catalog. The model calls load_skill or read_skill_file, or passes skills to run_code. Nothing in the person's message carries a choice. |
backend/domains/chat/work-tools.ts:90-167; backend/domains/agent_tools/skills.ts:84-194 |
| What the model is shown | The skills the person may see, alphabetical, the first 40 only. The rest are "…and N more; load one by its exact name when the user names it." | lib/agent/skills-block.ts:29, :66-70; backend/domains/agent_tools/skills.ts:40-59 |
| What the person is shown | Only afterwards: a step "Reading the docx skill". No skill is listed in the composer or the welcome view. | app/features/chat/utils/activity-label.ts:125-127; messages/en/chat.yml:578 |
| Which skills a member sees | Org-visible skills (the default for a skill without visibility, so also the built-in docx, pdf, pptx, xlsx), the team skills of the person's teams, and their own. |
lib/skills/visibility.ts:90-111; packages/shared/src/schemas/skills.ts:159 |
| What the docs tell the person | "To be sure a skill is used, name it: 'Use the brief-summary skill to summarize the attached brief.'" | docs/en/platform/chat/files-and-skills.md:44-50 |
How it got here
- Before 2026-07-30 the composer had one selection picker with the sections Model, Agents, Effort, Skills ("org skills the conversation equips") and Connectors, and a
/typeahead that completed skill slugs. The server re-parsed a message of the form/slug args(lib/skills/slash.ts,slash-command-popover.tsx,use-slash-command.ts). Read withgit show 97d15a71c1^:<path>. - feat(platform)!: chat = ask/retrieve — the Chat·Task·Automation boundary model #2877 (
97d15a71c1, 2026-07-30, "chat = ask/retrieve — the Chat·Task·Automation boundary model") removed them on purpose. Its description says: "Model+effort picker only; no agent/skill/connector pickers, slash commands, canvas, or sandbox chrome" and "equipped skills no longer reach the direct chat lane". - feat(platform): chat makes files and uses skills, sandbox only as needed #4817 (
6bf33cedd4, 2026-10-12) reversed the second half: skills reach chat again, through the model and the Skills switch of the Chat tools policy. The first half stayed. Statements written for the old boundary were not revisited, among them the composer header above,lib/shared/config/registry.ts:126("chat does not use skills") andlib/chat/assistant.ts:7(the loadout is "exactly the three retrieval tools").
What this means for a person
- A person cannot make a skill happen. Whether a matching skill is loaded is the model's judgment. The tier evaluation reported in Decision: should "explicit use only" skills be enforced by the platform, or stay advice to the model? #4872 measured the matching skill loaded first in 10 of 10 matching prompts by one model and 4 of 10 by another.
- A person cannot see which skills the assistant can use. With more than 40 skills, the model itself sees only the first 40.
- A skill its author marked "explicit use only" is used only when the person asks for it by name. There is nothing but words to ask with (Decision: should "explicit use only" skills be enforced by the platform, or stay advice to the model? #4872 collects that).
Constraints a change would have to respect
- Policy. The Skills switch of Chat tools (
work-tools.ts:103-107): when an admin turns it off, no skill is offered, so no control may remain. - Visibility. The assistant reads only the skills the person can see (
backend/domains/chat/spec.md:261, CHAT-R21). A chat always reads as the person, also inside a project (work-tools.ts:108-113). - Explicit-only skills and what "named by the person" means (Decision: should "explicit use only" skills be enforced by the platform, or stay advice to the model? #4872).
- Every locale and the docs. English, German and French strings and docs pages change together; accessibility is WCAG 2.1 AA. The composer header, the chat docs pages, the chat spec and the manual box CHAT-F70 (which tests naming a skill in words) change in the same change.
- Surfaces. If the choice rides with the message, the REST send and MCP either gain it, with a contract bump, or the app does something an API chat cannot. That is a decision to take.
- Skill scripts and templates run in the light sandbox, like the assistant's own code (
docs/en/platform/chat/files-and-skills.md:50).
Options (not exhaustive, no preference stated)
- A skill menu in the composer, next to the model picker, listing what the person can see; the choice per message or kept for the conversation. Pieces that exist:
app/components/skills/skills-menu.tsx(the equipment menu of the project agent dialog and the automation agent node) andapp/features/chat/components/picker-search-list.tsx(checkbox semantics are still in it,:55). - A
/command. Typing/opens a typeahead of skills; the server parses/slug args. The grammar and the typeahead existed before feat(platform)!: chat = ask/retrieve — the Chat·Task·Automation boundary model #2877. - A read-only list. The composer or the welcome view shows the skills the assistant can use; naming stays the way to ask.
- A conversation-level default: a chat "uses these skills", instead of a per-message choice.
- Leave the person's side as it is. Make the model-driven path easier to trust instead (say in the reply which skill was loaded) and fix the docs and the stale statements.
- Any of 1 to 4 plus a field on the REST send, so API chats can do what app chats can.
Questions
- What does "selected" mean: the model must load it, or it may prefer it? What happens when the skill cannot be applied to the request?
- Per message, per conversation, or both?
- Does a selected explicit-only skill count as "named by the person" (Decision: should "explicit use only" skills be enforced by the platform, or stay advice to the model? #4872)?
- Should the selection travel over REST and MCP?
- Does this reopen the Chat·Task·Automation boundary of feat(platform)!: chat = ask/retrieve — the Chat·Task·Automation boundary model #2877 for skills only, or is it an addition to it?
Not examined
- No live run for this report. The pre-feat(platform)!: chat = ask/retrieve — the Chat·Task·Automation boundary model #2877 UI was read from git history, not run.
- The mobile layout of the composer, the MCP surface, and the accessibility pattern the old
/typeahead used.
Related
#4817 (chat makes files and uses skills), #2877 (the boundary model), #4872 (explicit-use-only skills), #4697 (the agent Skills menu), #4938 (documents in chat, reported with this one).
Observed at main 514ae0adbd (2026-10-13).
Activity