docs(skills): document context/background; opt Knowledge out of 2.1.218 background default#1570
Closed
elhoim wants to merge 2 commits into
Closed
docs(skills): document context/background; opt Knowledge out of 2.1.218 background default#1570elhoim wants to merge 2 commits into
elhoim wants to merge 2 commits into
Conversation
Owner
|
The Knowledge |
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.
Problem
Two related gaps:
SkillSystem.mddocuments the skill frontmatter contract but never mentionscontext:orbackground:— despite seven shipped skills declaringcontext: fork.skills/Knowledge/SKILL.mddeclarescontext: forkwith nobackgroundvalue, so it inherits a default that changed underneath it.Why it matters
Claude Code 2.1.218 changed skills declaring
context: forkto run as background subagents by default. Previously they blocked the main thread.A backgrounded skill returns via task notification rather than inline output. For long-running deliberation skills that is an improvement — detaching them is the point. But
Knowledgeis an interactive lookup skill (effort: low, argument-hint[search|...|retrieve|<query>]). A user asking "what do we know about X" expects the answer in that turn. Backgrounded, it doesn't arrive there.Because neither field was documented, there was no way to discover the opt-out short of reading the changelog.
Fix
contextandbackgroundinSkillSystem.mdwith a field table and the 2.1.218 gotcha, plus the test for which way to set it.background: falsetoKnowledgeonly.The other six fork skills — Council, Evals, Ideate, Research, RootCauseAnalysis, SystemsThinking — are all
effort: highdeliberation and are deliberately left on the new background default.Affected versions
Introduced in Claude Code 2.1.218.
backgroundis a real parsed frontmatter field in that build, verified against the shipped binary.