flowai-skill-analyze-context

Analyze total context token usage across active session components.

1|1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/korchasa/foxcode --skill flowai-skill-analyze-context
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flowai-skill-analyze-context
Source: https://github.com/korchasa/foxcode/tree/main/.claude/skills/flowai-skill-analyze-context
Command: npx skills add https://github.com/korchasa/foxcode --skill flowai-skill-analyze-context

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Analyzes all forms of context that contribute to the token budget (conversation history, system prompts, rules, and attached context) to estimate total cost.

Core Features & Use Cases

  • Comprehensive context analysis includes chat history, system prompts, active rules, tool definitions, and attached context blocks.
  • Cost estimation breakdown provides a token count, an estimated token-based cost, and a component breakdown for planning.
  • Use Case: data teams budgeting LLM usage across sessions and tools.

Quick Start

Analyze the current session context to estimate total token usage.

Frequently Asked Questions about flowai-skill-analyze-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I estimate total context token usage and LLM costs for an active session?

To estimate total context token usage and LLM costs, analyze the conversation history, system prompts, rules, tool definitions, and attached context blocks for the active session. This analysis uses a 0.3 multiplier heuristic to calculate estimated costs and provide a structured breakdown.

What contributes to the token budget in an LLM session context?

The token budget in an LLM session context is contributed to by conversation history, system prompts, active rules, tool definitions, and attached context blocks. Analyzing these components provides a breakdown for accurate cost estimation and budget planning.

How do I get a token count breakdown for conversations, system rules, and tool definitions?

To get a token count breakdown for conversations, system rules, and tool definitions, analyze the active session context. The analysis outputs a structured breakdown estimating token usage across all contributing context blocks using a 0.3 multiplier heuristic.

Can I use this context analysis for budgeting LLM usage across multiple sessions and tools?

Yes, you can use this context analysis for budgeting LLM usage across sessions and tools. The analysis is scoped to the active session and provides a token-estimate and cost breakdown, helping data teams plan overall LLM budgets effectively.

What is the heuristic multiplier used for token-based cost estimation?

The heuristic multiplier used for token-based cost estimation is 0.3. This multiplier is applied during context analysis to estimate the overall cost of token usage across conversation history, system prompts, rules, and tool definitions.