Repository navigation
docs(skills): record disable-model-invocation behaviour per harness - #176
Merged
Merged
Conversation
The field was documented as affecting how a skill body is interpreted. It
does not: it hides the skill from automatic model routing while leaving
explicit `/skill-name` invocation intact.
Verified by materialising claude, pi and copilot into throwaway output dirs
(the field survives byte-identically — both materialisers copy SKILL.md as
text and rewrite only {{TOOL:...}}/{{PATH:...}} tokens) and by loading the
pi copy with pi's own skill loader: 32 skills loaded, 31 advertised, `teach`
excluded.
Per-harness verdict: pi and Claude Code preserve and honour the field;
Copilot CLI suppresses auto-routing but then cannot resolve the skill through
its model-facing tool (github/copilot-cli#4438, open), so it is only reachable
through an interactive slash command. The decision record, the evaluated
fallbacks, and the reproduction commands live in
docs/research/disable-model-invocation.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Bead
agnt-ctx-yf24.disable-model-invocation: trueis the mechanism for keeping a rare or destructive skill out of automatic model routing, but the repo had never checked whether it survives our materialisers or is honoured outside pi.docs/skills/skill-anatomy.mdalso described it wrongly — as controlling how the body is interpreted, rather than whether the model is offered the skill at all.What changed
docs/research/disable-model-invocation.md— new decision record: harness × (preserved / honoured) table with file+line citations for our code and quoted upstream sources, the explicit per-harness verdict, the evaluated fallbacks, and reproduction commands.docs/skills/skill-anatomy.md— correct front-matter guidance for the field, pointing at the decision record.docs/research/skill-design-research.md— correct two stale claims about the field's semantics.Findings
/skill:nameworks/skill-nameworksplugin.json)Skill not found, and-phas no slash pathBoth materialisers copy
SKILL.mdas text and rewrite only{{TOOL:...}}/{{PATH:...}}tokens, so unknown front-matter keys pass through untouched. Claude Code's ownclaude plugin validateaccepts the materialised skills. pi's loader was probed against the materialised tree: 32 skills loaded, 31 advertised,teachexcluded.Verdict: safe to rely on for pi and Claude Code. In Copilot CLI, treat it as "auto-routing off" rather than "invoke-only" — where non-interactive access is needed, use
copilot skill disable <name>instead.Out of scope
No edit to the migration skill; this records the decision, the follow-up applies it.
Verification
node bin/agent-cortex.mjs install {claude,pi,copilot} --output /var/tmp/dmi-check/<harness>thendiffagainst the source — identical.claude plugin validate /var/tmp/dmi-check/claude/skills— passed.pnpm lint,pnpm test— green.Copilot could not be probed locally: installed CLI is 1.0.55 and org policy refuses prompt runs, so the upstream issue (retested on 1.0.83) is the evidence, and the doc says so.