# Financial Shield

> Financial Shield

- Skill: `kbarbel640-del/financial-shield` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add kbarbel640-del/financial-shield`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kbarbel640-del/financial-shield/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: kbarbel640-del (https://skillmd.com/u/kbarbel640-del)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/kbarbel640-del/financial-shield

---


# Financial Shield

This skill ensures that the agent remains within the standard pricing tier (<128k tokens) for Google Gemini models by actively managing context bloat.

## Rules of Operation

1. **Always-On Counter:** The agent MUST include the current token usage (e.g., `(Current Usage: 45k/128k)`) at the end of every message while this skill is installed.
2. **Context Monitoring:** The agent must check the current token count (via `session_status`) before performing token-heavy tasks like image analysis.
3. **The 128k Wall:** If the current context is above 110,000 tokens, the agent MUST notify the user before the next turn that they are approaching the "Double Billing" zone.
4. **Hard Reset:** If the context exceeds 125,000 tokens, the agent will:
    - Automatically summarize all key facts/decisions from the current session into `MEMORY.md`.
    - Request a session reset (`/new`) or manually trim the history to bring the count back to near zero.
5. **Output Discipline:** All responses must be "Logic-First" and concise. No conversational filler or repeated instructions.

## When to Use
- Triggered automatically when context > 110k.
- Can be invoked manually by the user saying "Activate Financial Shield."

