# Contextron

> Your context and 5h/weekly usage limits as a live one-line band above the Claude Code prompt, with one-click Compact.

Contextron is a free AI agent skill on Agensi by Ramzi Gz, in Productivity. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Ramzi Gz](https://www.agensi.io/creators/ramzi-gz)
- Category: [Productivity](https://www.agensi.io/skills/productivity)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/contextron
- Tags: productivity, usage-limits, context-window, compact, status-bar, rate-limits, claude-code

## About this skill

Contextron is a Claude Code mod that puts a one-line band above the prompt. It shows how full your context window is, measured like `/context`, and how much of your 5-hour and weekly usage limits you've used, each with a countdown to its reset. A Compact button runs `/compact` in one click.

Each bar turns orange, then red with ⚠, as it nears its limit, and a toast reminds you to compact when context crosses the alert mark. The limits refresh every 2 minutes from a background `claude -p /usage`, which uses no tokens, so they also count your other sessions and claude.ai. On a narrow window the bars shrink to pies and the band stays on one row.

It works in the terminal and in the Claude desktop app. The mod sends nothing anywhere itself, and you can change all four warning and alert thresholds with `/plugin configure contextron@contextron`.

## Requires

- Claude Code

## Known limitations

- Works only in Claude Code (terminal and desktop app), not on claude.ai or in other tools.
- The 5h and weekly limits refresh every 2 minutes, not instantly.
- On a narrow window the bars shrink to pies, so exact percentages show only on wider windows.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Contextron skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Does it use tokens?

No. The limits come from `claude -p /usage`, which uses no tokens.

### Does it send my data anywhere?

No. The mod sends nothing itself; the `/usage` call goes to Anthropic, as `/usage` always does.

### Why do I see two bands?

You still have the old usage-bar install. Run `claude plugin uninstall usage-bar@claude-usage-bar && claude plugin marketplace remove claude-usage-bar`.

### The install says "4 userConfig options not yet set".

You can ignore it: the defaults (50/80 for context, 70/90 for limits) apply until you change them.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
