flow-skill-analyze-context

Community

Estimate total context cost to optimize prompts.

Authorkorchasa
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you estimate the total context and cost of AI interactions by aggregating conversation history, system prompts, active rules, and tool definitions to produce a single token-based estimate.

Core Features & Use Cases

  • Comprehensive scope: Includes conversation history, system prompts, active rules from AGENTS.md and any active rules files, tool definitions, and attached context blocks to account for all factors driving context size.
  • Adaptive estimation: Uses a character-based token approximation to yield token counts for budgeting and prompt optimization.
  • Use Case: When planning long AI sessions, quickly estimate how many tokens will be consumed and adjust prompts to stay within budget.

Quick Start

Run the analyze-context task to estimate total tokens for the current session.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: flow-skill-analyze-context
Download link: https://github.com/korchasa/flow/archive/main.zip#flow-skill-analyze-context

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.