How olivomarco/github-copilot-token-optimization works
This repository is a community-authored guide to reducing GitHub Copilot token waste, not a runtime application. Its main user flow is to understand the cost model, identify a source of waste, consult the matching chapter, and evaluate changes by useful completed work and total cost. The README explicitly maps waste categories to chapters and points readers to the practical setup checklist. Relationships below reflect those documented links; no implementation source was provided.
Main entry points: 01-why-tokens-matter.md Token costs · 10-practical-setup.md Practical setup · 02-prompt-compression.md Prompt compression · 03-language-comparison.md Language tradeoffs
Components 14
Foundations
- Token costs
docs/01-why-tokens-matter.md - Practical setup
docs/10-practical-setup.md
Prompting and output
- Prompt compression
docs/02-prompt-compression.md - Language tradeoffs
docs/03-language-comparison.md - Output control
docs/05-output-control.md
Context and workflow
- Context management
docs/04-context-management.md - Always-on context
docs/07-agents-md-problem.md - MCP and tools
docs/08-mcp-tool-costs.md - Workflow choices
docs/06-workflow-optimization.md
Evaluation and governance
- Outcome per token
docs/13-outcome-per-token.md - Models and pricing
docs/11-models-and-pricing.md - Enterprise governance
docs/12-enterprise-governance.md - Comparisons and data
docs/09-comparisons-data.md
Other components
- Guide reader
Connections 13
- Guide reader → Practical setup: start with
README.md - Guide reader → Token costs: learn costs
README.md - Guide reader → Output control: address long answers
README.md - Guide reader → Prompt compression: address unclear prompts
README.md - Guide reader → Language tradeoffs: compare languages
README.md - Guide reader → Context management: manage context
README.md - Guide reader → Always-on context: assess guidance
README.md - Guide reader → MCP and tools: assess tool costs
README.md - Guide reader → Workflow choices: optimize workflow
README.md - Guide reader → Outcome per token: avoid rework
README.md - Guide reader → Models and pricing: select models
README.md - Guide reader → Enterprise governance: set controls
README.md - Guide reader → Comparisons and data: evaluate claims
README.md