Repository navigation
Description
Summary
Request: in the normal chat, people should be able to create a project's agents and skills, as far as their rights reach. When the chat answers as a selected project agent, the agent's rights should decide.
Part of this exists. Since #5363 a chat can propose a new agent for a project (or a change to one), and the chat's owner applies the proposal from a card. Skills are missing: a chat can equip an agent with skills that already exist, but cannot create one. "Rights" means two things the code does not do today. Proposals are offered only to people with an editing role, so a Member, who may create skills on the Skills page, gets none. And a selected agent brings no rights of its own: a chat always acts as the person.
Anchors are on main at 3d802f94f; the feature line (feature-train at 813be1ff4) has the same proposal kinds and no change to these files.
What exists today
Agents, through proposals.
- The chat's two settings tools are
read_project_settingsandpropose_project_settings. A proposal is one ofcreate_project,update_project,create_agentorupdate_agent(settings-tools.ts:48-55). - A proposal is checked as the person and shown as a card, and nothing changes until the chat's owner applies it. The apply checks everything again through the project pages' services and writes audit rows saying the change came from the chat (CHAT-R44,
chat/spec.md:351-363). - A new agent can have a name, instructions, model, runtime and skills; sharing, secrets, connectors, platform tools, repository access and deletion stay on the project's pages (CHAT-R45,
:365-377). - Why a card and not a direct write: "Text from a web page or a document can therefore make the model propose something, but never change anything" (
settings-tools.ts:1-21).
Who gets the tools.
- Only the organization roles owner, admin, developer and editor, chatting in the app (
proposals.ts:341-358,audience.ts:37-47). A Member gets none, and so does a send over the API (chat/service.ts:170-188). - In a chat filed in a project, the tools reach that project alone, besides proposing a new project (CHAT-R45).
A selected agent.
- A project chat can answer as one of the project's agents. Its instructions, skills and model shape the reply, but "the agent's runtime, connectors, platform tools, secrets and repository access stay on tasks: a chat … acts for the person chatting, never with more than they may use" (
chat/agents.ts:5-22). - The turn adds the settings tools whether or not an agent answers (
turn_action.ts:1954-1961), and they act as the person. - Agents hold no rights: the competences register (the platform's "rights") grants capabilities to members (
competences.md:6-11).
Skills.
- No chat tool creates or changes a skill; a proposal can only equip existing ones (CHAT-R45).
- On the Skills page every member may create a skill for their teams. Sharing with the whole organization can be reserved for some roles or for holders of
tale:skills.publish(SKILL-R7,skills/spec.md:68-91). A skill is changed by its owner, an owner or an admin (SKILL-R5,:53-59). - The MCP endpoint's settings tools (
plan_settings,apply_settings) know no skill kind either (mcp/settings/handlers.ts:33-46).
Constraints
- A turn reads content the person did not write (web pages, documents, connector data). Today every change waits for the person's click on the card, which is what keeps that content from changing settings.
- The skill rules (SKILL-R1 to SKILL-R17) and the proposal rules (CHAT-R44 to CHAT-R46) stay true, and so does tenant isolation and the audit trail of where a change came from.
- A Governance switch for these tools is still open (Decision: should Governance be able to turn off the chat's project and agent proposals? #5379). Its spec note: the Chat tools policy schema is strict, so a new key needs the reader to accept unknown keys first (
chat/spec.md:667-672). - Any new card, refusal or step text ships in every locale.
Options
None is preferred.
- A. Skill proposals:
create_skillandupdate_skillkinds, checked by the skill rules as the person and applied from the card like agents (instructions only, or instructions and files). - B. Offer skill proposals to Members for their own teams, as the Skills page allows, while project and agent proposals stay with the editing roles.
- C. Let a selected agent narrow what the chat may propose: the person's rights cut down to the agent's grants, never widened beyond the person.
- D. Give agents rights of their own (grants an admin assigns) that apply in chats as well as tasks.
- E. Create directly, without the card, for some kinds or roles. This removes the click that keeps page and document content from changing settings.
Questions
- Should the chat create directly, or keep the card for skills too?
- In a chat answered by an agent, whose rights count: the person's (today), the person's narrowed by the agent's, or the agent's own?
- Should a Member be able to create a skill for their team from a chat?
- What may a chat put into a skill: instructions only, or files and scripts as well?
- Should the same reach the REST API and the MCP endpoint, which get no proposals today?
Related
- Epic: projects and agents in chat — choose them, talk to them, set them up, and show generated images once #5371 (open): Epic: projects and agents in chat; feat(platform): create and configure projects and agents from the normal chat #5363 (closed): the proposals.
- Decision: should Governance be able to turn off the chat's project and agent proposals? #5379 (open): a Governance switch for the proposals.
- feat(platform): let admins allow members to create projects #5040 (open): members creating projects; feat(platform): let a person hold a different role in a project than in the organization #5136 (open): a role per project.
- Epic: one agent engine for chat and tasks — what is still separate #4879 (open): Epic: one agent engine for chat and tasks.
Activity
yannickmonney commentedon Nov 14, 2026
Decision
The chat may propose skills, as it already proposes projects and agents. We build options A and B and reject C, D and E.
The rule
propose_skill, has two kinds:create_skillandupdate_skill.chat, plus the thread and proposal.An update never changes the audience.
Answers
skillsettings kind with the same limits, audited asmcp.Rationale
A skill's instructions reach every agent equipped with it, so the card stays and shows readable text, as a diff for updates. Applying through the Skills page's own service, with its own edit and audience rules, keeps SKILL-R1 to SKILL-R17 and CHAT-R44 to CHAT-R46 true without a second copy of the logic. Agent rights (C and D) add a concept that changes nothing an Apply does not already check, and belong to #4879. Tying the tool to the existing Skills switch gives Governance control without the strict-schema hazard in #5379.
Implementation units (all on
main)chataudit door, locales, spec, docs, manual box (L).propose_skillto every member in an app chat, gated by the Skills switch; project and agent tools stay with editors (M; after 1).skillsettings kind with the same limits, audit doormcp(M; after 1).Cross-issue amendments (decisions taken together with #4877, #5379, #4930):
skillsswitch alone. Whileskillsis off, Apply on a pending skill card is refused with CHAT_PROPOSALS_OFF (the same rule as Decision: should Governance be able to turn off the chat's project and agent proposals? #5379), and Dismiss still works. Amend Decision: should chat start a full workspace itself, or keep handing long and repository work over to a task? #4877: propose_task has no Governance switch. Task-creation rights and the owner's Apply are the gate, and the reference to Decision: should Governance be able to turn off the chat's project and agent proposals? #5379's open question is removed. Decision: should Governance be able to turn off the chat's project and agent proposals? #5379 is unchanged.