context-status

context-status is a skill for Claude Code from pedrohcgs/claude-code-my-workflow. It costs 37 tokens per session (481 once invoked), scanned B, original, MIT.

A status report for the current coding-agent session. It shows estimated context use, the active plan, recent session notes, and what information is likely to survive automatic compaction.

In plain words
What is it for?
Use it to inspect session health, find the current plan, view the latest session log, or check preservation status.
Why use it?
It helps explain how much working context remains and whether important task state has been recorded. The description does not indicate that it changes project files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

About the project

claude-code-my-workflow is a forkable setup for using Claude Code to produce and review academic papers, slides, data analyses, and replication packages. Researchers use its agents, skills, rules, hooks, and quality checks to coordinate these tasks and verify their results. The catalogue entries define the reusable workflow components for Claude Code.

pedrohcgs/claude-code-my-workflow · 1,562 stars · on GitHub · psantanna.com

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.

agentmods
npx agentmods add skills/pedrohcgs/claude-code-my-workflow/context-status
Any agent
npx skills add pedrohcgs/claude-code-my-workflow --skill context-status
Clone the repo
git clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflow

Made for: Claude Code.

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/pedrohcgs/claude-code-my-workflow/context-status.svg)](https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/context-status)
Your own site
<a href="https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/context-status"><img src="https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/context-status.svg" alt="Measured on agentmods" 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 481 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found 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.00481
Opus 5 $0.00018 $0.00241
Sonnet 5 $0.00007 $0.00096
Haiku 4.5 $0.00004 $0.00048

Measured 6d ago against content hash f4333af6b4c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/skills/context-status/SKILL.md · 77 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

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

Step 3: Find Session Log

ls -lt quality_reports/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:   quality_reports/plans/YYYY-MM-DD_description.md
Status: [draft | approved | in_progress | completed]
Task:   [current unchecked task or "none"]

📝 Session Log
File:   quality_reports/session_logs/YYYY-MM-DD_description.md

✓ 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. 6d ago First seen · 77 lines · 37 tokens per session scan B f4333af6b4c6

Subscribe to this mod's changes

context-status is a skill published in the GitHub repository pedrohcgs/claude-code-my-workflow (1,562 stars, last pushed 12d ago), licensed MIT. It adds 37 tokens to every session and 481 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

paper-workflow

经管 / 社科实证论文全流程 meta-orchestrator:把选题、设计、数据、估计、方法闸门、 表图、写作、去 AI 味、质量门、修订、投稿与复盘编排成 Stage 0–9 可断点续跑流水线。 本 skill 不重复实现子能力,而是按阶段调用既有 skill 或并行 subagent,并在 Stage 3–4 路由 Python/StatsPAI、Stata、R 三种分析后端,Stage 9 交付一份含正文+表+图+参考文献的 Word 全文定稿(09submission/main.docx,另可出 .tex)。触发:/paper-workflow、 帮我写一篇实证论文、从选题到投稿、端到端 empirical…

brycewang-stanford/Paper-WorkFlow · 262 tokens

handoff

Artifact handoff protocol for two-pipeline architecture.

statsclaw/statsclaw · 12 tokens

workspace-sync

Centralized workflow log repository sync.

statsclaw/statsclaw · 9 tokens

econ-management-paper-polish

Writing, revision, review, evidence, journal adaptation, and method-safety support for economics, management, finance, accounting, marketing, information systems, public administration, and related business-school papers. Routes by discipline, subfield, language, method, outlet, section, and task mode while preserving…

linkingoscar/econ-management-paper-polish · 139 tokens

did-causal

Use this Skill when the user needs to estimate causal treatment effects using difference-in-differences (DID) designs: two-way fixed effects (TWFE) regression, parallel trends pre-testing, Callaway-Sant'Anna staggered adoption estimator, and Goodman-Bacon decomposition. Covers both Python (linearmodels) and R (did…

xjtulyc/awesome-rosetta-skills · 75 tokens

add-teams

Adds Microsoft Teams connector to a Power Apps code app. Use when sending Teams messages, posting to channels, or integrating with Teams chat.

microsoft/power-platform-skills · 31 tokens