deivycom21-cell

Context Bloat — Security skill for Claude Code

Security community

Audit and optimize token bloat in AI agent repositories.

How to install Context Bloat

This entry records only its repository, not the path inside it, so there is no exact command to give. Open deivycom21-cell/context-bloat and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Context Bloat does

Audit and optimize token bloat in AI agent repositories.

Alternatives in Security

  • Octoboss Clean Contexts — You are the Octoboss — a cross-tentacle orchestrator 1.4k ★
  • Imcodes — The IM for agents 960 ★
  • Data Viz Audit — Audit a data visualization for chart type selection, accessible color palette, annotations, and anti-patterns 309 ★

README

context-bloat

[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue.svg)](https://www.python.org/) [![Zero Network](https://img.shields.io/badge/network-zero-green.svg)](#privacy--offline) [![CI](https://github.com/deivycom21-cell/context-bloat/actions/workflows/ci.yml/badge.svg)](https://github.com/deivycom21-cell/context-bloat/actions/workflows/ci.yml) [![PyPI](https://img.shields.io/pypi/v/context-bloat.svg)](https://pypi.org/project/context-bloat/)

Audit and optimize token bloat in AI agent repositories.

Works with **Claude Code**, **Cursor**, **Windsurf**, **OpenCode** and any tool that reads agent instruction files at startup.


Why

Every agent rule file (`CLAUDE.md`, `.cursorrules`, etc.) loads into the context window **before your first prompt**. A bloated setup can burn 5-15% of a 200k-token window on boilerplate alone. `context-bloat` measures the damage and helps you fix it.


Install

# one-shot, no install needed
uvx context-bloat scan .

# permanent install
pipx install context-bloat

# or with uv
uv tool install context-bloat

Usage

context-bloat [--json] [--share] [--no-funnel]  [path]

Commands:
  scan [path]   Audit context bloat (default command, default path: .)
  fix  [path]   Generate optimized copies of rule files

Running `context-bloat` with no arguments is the same as `context-bloat scan .`.


Supported files

File / Pattern Agent
CLAUDE.md Claude Code
.claude/commands/*.md Claude Code
.cursorrules Cursor
.cursor/rules/*.mdc Cursor
.windsurfrules Windsurf
AGENTS.md OpenCode / generic