docs(skill): clarify that no provider API key is read for semantic extraction#864
Merged
Merged
Conversation
…traction Several host agents (Claude Code in particular) misread the current phrasing and prompt the user for `ANTHROPIC_API_KEY` when no Gemini key is set, instead of falling through to subagent dispatch. The Gemini tip stays as-is; this just adds an explicit one-line callout that no other provider keys are consulted, with `ANTHROPIC_API_KEY` called out by name since that is the specific misread we hit in the wild. No behavior change — pure documentation.
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.
Summary
ANTHROPIC_API_KEY,OPENAI_API_KEY, or any non-Gemini provider key from the environment.ANTHROPIC_API_KEYspecifically because that is the misread we hit in the wild — Claude Code sessions, on seeing the existing "Tip: setGEMINI_API_KEY..." line, generalize and prompt the user forANTHROPIC_API_KEY, then halt the skill when none is present.Why
Hit by a teammate today on a clean install. Their Claude Code session saw "semantic extraction (LLM, costs tokens)" plus the Gemini tip, decided it needed some key, checked the env for the most obvious one (
ANTHROPIC_API_KEY), and prompted the user. The skill actually wants to fall through to subagent dispatch in that case — but the wording doesn't make the negative-space explicit, so the host agent invented a requirement.Test plan
🤖 Generated with Claude Code