framework/engineering/skills/flowai-skill-analyze-context/SKILL.md
Analyze total token usage including conversation history, system prompts, and active rules to estimate cost.
npx skillsauth add korchasa/flow flowai-skill-analyze-contextInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Scope: Analyze ALL components that contribute to the context window and cost. This includes:
AGENTS.md and any active .cursor/rules.<open_and_recently_viewed_files>, <git_status>, or other automatic context blocks.Estimation Method:
Token Count = Character Count * MultiplierProcedure:
AGENTS.md and any active rule files to estimate their size.Tools:
deno run scripts/count_tokens.ts "TEXT_snippet"
Total Chars * 0.3.User: "How many tokens are we using?" Action:
AGENTS.md (~3000 chars) + Rules (~1000 chars).12,000 * 0.3 = 3,600 tokens.development
Use when the user asks to add TypeScript strict-mode code-style rules to AGENTS.md for a TypeScript project using strict mode. Do NOT trigger for Deno projects (use setup-agent-code-style-deno) or non-strict TS configurations.
development
Use when the user asks to add Deno/TypeScript code-style rules to AGENTS.md, or during initial Deno project setup when code-style guidelines need to be established. Do NOT trigger for non-Deno TypeScript projects (use setup-agent-code-style-strict), or for runtime-agnostic style advice.
testing
Use when the user provides a source (URL, file path, or free text) to save into the project's memex — a long-term knowledge bank for AI agents. Stores the raw source, extracts entities into cross-linked pages, runs a backlink audit, and updates the index and activity log. Do NOT trigger on casual reads; only when the intent is to persist a source into the memex.
development
Use when the user asks to audit a memex (long-term knowledge bank for AI agents) for orphans, dead SALP REFs, missing sections, contradictions, or index drift. Runs a deterministic structural check, layers LLM-judgement findings, optionally auto-fixes trivial issues with `--fix`. Do NOT trigger on general code linting.