context-status

context-status is a skill for Claude Code, Codex from clearsmog/claude-skills. It costs 37 tokens per session (455 once invoked), scanned B, a copy of context-status, MIT.

A session-status check for seeing context use, the active plan, recent session log, and what survives automatic compaction.

In plain words
What is it for?
Use it to inspect context usage, find the current plan and unfinished task, and locate the latest session log.
Why use it?
It helps you tell whether the conversation is nearing its context limit and what work state will be preserved.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to inspect context usage, find the current plan and unfinished task, and locate the latest session log.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clearsmog/claude-skills/context-status
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add clearsmog/claude-skills --skill context-status
Clone the repo
git clone --depth 1 https://github.com/clearsmog/claude-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for context-status

README.md
[![agentmods](https://agentmods.dev/badge/skills/clearsmog/claude-skills/context-status/github.svg)](https://agentmods.dev/skills/clearsmog/claude-skills/context-status)
Your own site
<a href="https://agentmods.dev/skills/clearsmog/claude-skills/context-status"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/context-status/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for context-status

Your own site · 80×15
<a href="https://agentmods.dev/skills/clearsmog/claude-skills/context-status"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/context-status.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 455 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00455
Opus 5 $0.00018 $0.00228
Sonnet 5 $0.00007 $0.00091
Haiku 4.5 $0.00004 $0.00046

Measured 9d ago against content hash e426551ff0ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

context-status scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat ~/.claude/sessions/*/context-monitor-cache.json 2>/dev/null | head -20
Origin

This is a copy

89% identical to context-status — 33 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

context-status/SKILL.md · 76 lines

What it actually says

/context-status — Check Session Health

Show the current session status including context usage estimate, active plan, and preservation state.

What This Skill Shows

  1. Context usage estimate — Approximate % of context window used
  2. Active plan — Current plan file and status
  3. Session log — Most recent session log
  4. Preservation state — What will survive compaction

Workflow

Step 1: Check Context Monitor Cache

Read the context monitor cache to get the current estimate:

cat ~/.claude/sessions/*/context-monitor-cache.json 2>/dev/null | head -20

Step 2: Find Active Plan

Search common plan locations:

ls -lt quality_reports/plans/*.md .planning/*.md plans/*.md 2>/dev/null | head -3

Step 3: Find Session Log

ls -lt quality_reports/session_logs/*.md .planning/logs/*.md session_logs/*.md 2>/dev/null | head -1

Step 4: Report Status

Format the output:

Session Status
-----------------------------------
Context Usage:  ~XX% (estimated)
Auto-compact:   [approaching | not imminent]

Active Plan
File:   [plan path]
Status: [draft | approved | in_progress | completed]
Task:   [current unchecked task or "none"]

Session Log
File:   [log path]

Preservation Check
  - Pre-compact hook: [configured | missing]
  - Post-compact restore: [configured | missing]
  - Session state will be saved before compaction

Notes

  • Context % is an estimate based on tool call count
  • Actual compaction is triggered by Claude Code automatically
  • All important state is saved to disk (plans, logs, MEMORY.md)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 76 lines · 37 tokens per session scan B e426551ff0ed

Subscribe to this mod's changes

context-status is a skill published in the GitHub repository clearsmog/claude-skills (2 stars, last pushed 6mo ago), licensed MIT. It adds 37 tokens to every session and 455 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). It is 89% identical to context-status, differing in 33 lines, and is treated as a copy.