Reduce translator-query skill token usage#7
Open
sierra-moxon wants to merge 3 commits into
Open
Conversation
Token cost scales with assistant turn count because the cached prompt prefix is re-sent every turn. Cut turns and shrink the always-loaded prefix: - Add an Efficiency section: work silently (no narration between tool calls), batch independent commands, plan hops up front. - Add drug-class guidance to Strategy 1 so class-member queries are issued deliberately instead of after a surprise re-query. - Move Strategy 3/4 and Domain Knowledge to an on-demand REFERENCE.md so they no longer load into context on every turn. Closes #6 Co-Authored-By: Claude <noreply@anthropic.com>
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
cache_read.SKILL.md: work silently (no narration between tool calls), batch independent commands, plan hops up front.REFERENCE.mdso they no longer load into the prefix on every turn.Closes #6
Test plan
total_tokensinbenchmarks/results/tct_session_metrics.csv.REFERENCE.mdwhen a multi-hop / single-KP task needs it.🤖 Generated with Claude Code