context-status

context-status is a skill for Claude Code, Codex from clearsmog/claude-skills. It costs 37 tokens per session (441 once invoked), scanned A, 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: 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 441 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00441
Opus 5.5 $0.00015 $0.00176
Sonnet 5.5 $0.00007 $0.00088
Haiku 4.5 $0.00004 $0.00044

Measured 24d ago against content hash 4e8c9c2ebf2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

context-status scanned grade A with 0 findings 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 24d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

89% identical to context-status — 44 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 · 72 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: Context usage

There is no on-disk estimate. Claude Code's built-in /context shows actual usage; tell the user to run it for the number.

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 usage comes from /context
  • 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. 24d ago Changed · -4 lines scan B → A 4e8c9c2ebf2c
  2. 1mo 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 24d ago), licensed MIT. It adds 37 tokens to every session and 441 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to context-status, differing in 44 lines, and is treated as a copy.

Related

Other skills, from other repositories

godot-optimization

Use when optimizing Godot games — profiler, draw calls, physics tuning, memory management, and common bottlenecks.

jame581/GodotPrompter · 28 tokens

iterate-lessons-log

Creates a structured lessons learned entry for organizational memory. Use after an incident, a completed project, or a significant learning to record knowledge for future teams and initiatives. Distinct from iterate-retrospective, which facilitates the team ceremony; this skill writes the durable lessons entry that…

product-on-purpose/pm-skills · 64 tokens

ai-brain

Give Claude a permanent, searchable long-term memory using an Obsidian vault as the store. At the end of a session, summarize what mattered and save it as a Markdown note in your "AI Brain" vault; at the start of a session (or on demand), read back only the relevant past notes. Local markdown you own — connected via…

Ootto-AI/claude-content-skills · 95 tokens

ac-knowledge-graph-adaptationio-skrillz

This page used to hold an archived copy of this skill. The archive now lives in the registry's data repository.

majiayu000/claude-skill-registry · 0 tokens

ac-memory-manager-adaptationio-skrillz-3

This page used to hold an archived copy of this skill. The archive now lives in the registry's data repository.

majiayu000/claude-skill-registry · 0 tokens

agent-assistant-nahisaho-musubi

This page used to hold an archived copy of this skill. The archive now lives in the registry's data repository.

majiayu000/claude-skill-registry · 0 tokens