Skip to content

Decision: should "explicit use only" skills be enforced by the platform, or stay advice to the model? #4872

Open

Description

@yannickmonney

Summary

A skill can be marked disable-model-invocation: true ("explicit use only"). Tale presents that as advice to the model, not as a rule it enforces: the skill list tells the model to use the skill only when the user names it, and nothing in load_skill, read_skill_file or run_code checks the flag. The upload dialog and most docs say so, but one chat docs sentence reads as a guarantee. This issue collects the evidence and the options so the team can decide whether the flag should stay advice or become a rule. It proposes no fix.

What the flag does today

  • Authors set it in SKILL.md frontmatter, through the REST API (disableModelInvocation, services/platform/scripts/openapi/spec.ts:1475) or the upload dialog (app/features/skills/components/skill-upload/steps/preview-step.tsx:108).
  • The model sees it as one sentence in the skill list: "… Use it only when the user asks for it by name." (lib/agent/skills-block.ts:48, built from readSkillCatalog, backend/domains/agent_tools/skills.ts:55).
  • The three places that read a skill's content check who may see the skill and, for an agent, whether it is equipped (skillReachable, backend/domains/agent_tools/scope.ts:112), but not the flag: load_skill and read_skill_file (agent_tools/skills.ts:98, :160) and the skills argument of run_code (agent_tools/run-code.ts:348). The skill list shows at most 40 skills; any other skill can still be loaded by name.
  • The chat composer has no way to pick a skill (app/features/chat/components/composer.tsx:9: "no skill picker"), so "named by the user" exists only as words in a message. The platform has no signal to enforce against.
  • The automation agent path words it the same way (backend/core/automations/agent_host.ts:884).

What Tale says about it

Where Says
skill upload dialog (messages/en/skills.yml:86) "Requests explicit use of this skill; does not restrict access."
skills reference (docs/en/platform/workspace/skills.md:137) "Treat this metadata as an instruction, not an access restriction."
agent skills (docs/en/platform/agents/skills.md:35) "This is guidance, not an access control."
chat page (docs/en/platform/chat/files-and-skills.md:48) "A skill whose author marked it for explicit use only is used only when you ask for it by name."

The last sentence is the only one that reads as a guarantee. It was written with #4817 and promises more than the code enforces (German and French carry the same sentence).

What this allows

After reading text that tells it to use a given skill, for example a document it was asked to summarize, a model can load or run a skill whose author marked it explicit-only. The call is visible in the reply's steps, but nothing blocks it.

The impact depends on where the skill's scripts run:

Not known: how many skills in practice use the flag, or for what (cost, side effects, publishing). No explicit-only skill was in the #4817 tier evaluation. That evaluation also measured how well models follow the skill list: the matching skill was loaded first in 10 of 10 matching prompts by one model and 4 of 10 by another. It measured loading, not refraining, but it shows that adherence to a prompt-level instruction differs by model.

Options (not exhaustive, no preference stated)

  1. Keep it advice. Say so everywhere, including the chat page, and consider renaming the upload dialog label.
  2. Enforce by naming. In the three entry points, refuse an explicit-only skill unless the latest user message names it (a match on slug or display name). Cheap; brittle for paraphrase and other languages; and in a task run the "user message" is the task text and comments.
  3. Enforce by selection. A skill picker or slash command in the chat composer (and the task dialog) records the person's choice with the message; the entry points allow an explicit-only skill only for a selected one. Needs UI, wire format, EN/DE/FR strings and docs.
  4. Hide, then enforce. Leave explicit-only skills out of the model's list unless selected, and refuse them at the entry points. The model cannot use what it cannot see, and cannot guess a slug past the check.
  5. Make it an access setting. Treat it as part of who or what may invoke a skill, next to visibility and equipment. Larger scope.

Questions

  • Should the flag mean the same in chat, task runs on the shared engine and harness runs?
  • What counts as naming a skill, and who decides (the person, the task author)?
  • Until this is decided, should the chat page's sentence be reworded to match the code?

Related

#4849 (the security review that surfaced this, item 8b), #4817 (chat skills), #4870 and #4871 (what code in a light sandbox can reach and write).

Observed at main a83e645e27.

Activity

  1. added
    priority: low
    needs discussion
    improvement
    service: platform
    on Oct 12, 2026
  2. yannickmonney commented on Nov 14, 2026

    @yannickmonney
    ContributorAuthor

    Decision

    Explicit-only skills will be enforced by the platform. A skill marked disable-model-invocation: true can be used by a model only when a person chose it for that turn or run, through a selection the platform records. Words a model reads never count. Neither does text written by an agent, a workflow, an issue import or an automation key, nor a message that merely mentions the skill.

    What counts as chosen, using the one /name grammar from lib/skills/slash.ts:

    • Chat: a leading /name in the person's message, or the skill checked under the conversation's Skills section (at most four). A delegated or sub-agent turn inherits its parent's choice.
    • Tasks: a leading /name in a description last written by a member, on a task that does not mirror an external issue, or in the member-written comment that starts the run. Imported issues, workflow-created or workflow-updated tasks, and agent-created tasks never choose.
    • Automations: a leading /name in the agent step's prompt as authored, read before {{ }} values are filled in.

    Equipping an agent with a skill, or listing it in a step's skills, makes the skill reachable. It does not choose it.

    How it is enforced:

    • One shared check, used by load_skill, read_skill_file and run_code's skills. It refuses an unchosen explicit-only skill with not_chosen, and the refusal tells the model to ask the person to start a message with /<slug>.
    • The model's skill list leaves out explicit-only skills nobody chose.
    • Harness runs do not stage or list them.

    This is a usage rule, not access control: who can see a skill does not change.

    Answers

    • Same meaning in chat, task runs and harness runs? Yes, one rule everywhere.
    • What counts as naming, and who decides? A selection a person made and the platform recorded. Model-written, imported or templated text never counts, and there is no matching on display names or paraphrase.
    • Reword the chat page now? It already matches the code on main in EN, DE and FR. After enforcement it states the guarantee.

    Rationale

    The flag exists so that skills with side effects or cost run only when a person means it. A rule that lives only in the prompt can be broken by injected text. #4963 already records the person's choice in chat, so enforcing it is a small server-side check. Task descriptions and automation prompts can also carry text from public issue trackers, webhooks, workflows and agents, so a /name counts only when a member wrote it. Hiding unchosen skills keeps the model from trying them, and the check stops a guessed slug.

    Implementation units

    1. feat: enforce by choice in chat (M, main). Adds chosenSkills on the tool scope, the shared check in all three tools, the not_chosen failure, the filtered skill list, a skills spec rule, a manual box, and EN/DE/FR step text.
    2. feat: enforce in task and automation runs (L, main, after 1). Derives the choice only from member-written task text and authored step templates, filters harness staging and listing, and rewrites SKILL-F15 with new boxes for imported and templated text.
    3. docs: describe the enforced rule (S, main, after 1 and 2). Updates the upload label, the equipment menu badge, the skills, agents, chat, tasks and automations docs in EN/DE/FR, and the OpenAPI description.
  3. added
    agent-ready
    and removed
    needs discussion
    on Nov 14, 2026
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: lowservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions