Agent skill

Context Status

by pedrohcgs in pedrohcgs/claude-code-my-workflow

Show current context status and session health. An agent skill from pedrohcgs/claude-code-my-workflow.

MITAuto-check: notes

Install Context Status

skills CLI
$ npx skills add pedrohcgs/claude-code-my-workflow --skill context-status -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pedrohcgs/claude-code-my-workflow context-status --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/context-status .claude/skills/context-status && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
context-status
GitHub stars
1.6k
Used in
1 other repo
Token cost
~613 tokens
SKILL.md length
151 words
Files
1
Skills in repo
59
Repo updated
First seen
Licence
MIT

At a glance

Show current context status and session health. An agent skill from pedrohcgs/claude-code-my-workflow.

  • Works in 4 steps: Check the Context Estimate → Find Active Plan → Find Session Log → …
  • Check how much context has been used
  • SKILL.md covers What This Skill Shows, Workflow and Notes
  • Calls python3

What it does

Context Status is an agent skill from pedrohcgs/claude-code-my-workflow. Show current context status and session health. Use to check how much context has been used, whether auto-compact is approaching, and what state will be preserved.

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: A ready-to-fork Claude Code template for academics using LaTeX/Beamer + R. Multi-agent review, quality gates, adversarial QA, and replication protocols. The licence is MIT.

When your agent uses it

  • Check how much context has been used
  • Whether auto-compact is approaching
  • What state will be preserved

Example prompts

  • “/context-status”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Bash, Glob

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Check the Context Estimate
  2. Find Active Plan
  3. Find Session Log
  4. Report Status

What it can do on your machine

Read from SKILL.md and the folder at commit ae72617. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Context Status loads about 613 tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 151 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~613

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Bash, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pedrohcgs/claude-code-my-workflow at commit ae72617, republished under its MIT licence (© pedrohcgs). 151 words, ~613 tokens.

Download SKILL.mdSave it as .claude/skills/context-status/SKILL.md (or your agent's skills folder).
name
context-status
description
Show current context status and session health. Use to check how much context has been used, whether auto-compact is approaching, and what state will be preserved.
allowed-tools
Read, Bash, Glob
disallowed-tools
Edit, MultiEdit
metadata.author
Claude Code Academic Workflow
metadata.version
1.0.0

/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 the Context Estimate

The context-monitor hook writes its estimate to context-pct.txt (and its counters and threshold flags to context-monitor-cache.json) in this project's session directory:

bash
d=~/.claude/sessions/$(printf '%s' "${CLAUDE_PROJECT_DIR:-$PWD}" | python3 -c 'import sys,hashlib;print(hashlib.md5(sys.stdin.read().encode()).hexdigest()[:8])')
cat "$d/context-pct.txt" 2>/dev/null; cat "$d/context-monitor-cache.json" 2>/dev/null | head -20
Step 2: Find Active Plan
bash
ls -lt quality_reports/plans/*.md 2>/dev/null | head -3
Step 3: Find Session Log
bash
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 % comes from Claude Code's own context_window.used_percentage where the status line shows it; the hook's context-pct.txt holds an estimate from transcript size (falling back to a tool-call count). The built-in /context shows exact usage
  • Actual compaction is triggered by Claude Code automatically
  • All important state is saved to disk (plans, logs, MEMORY.md)

© pedrohcgs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/context-status of pedrohcgs/claude-code-my-workflow.

Open the folder on GitHubat commit ae72617

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in pedrohcgs/claude-code-my-workflow, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Context Status next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Context Status compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context Status this skillpedrohcgs/claude-code-my-workflow1.6k1 repos~613Automated safety check: NotesMIT
Codebase Health Dashboardgarrytan/gstack136k—~11kAutomated safety check: NotesMIT
Healthagenticnotetaking/arscontexta3.5k—~7.1kAutomated safety check: NotesMIT
Health Wellnesssickn33/agentic-awesome-skills47k1 repos~3.5kAutomated safety check: PassMIT
Cost Healthruvnet/ruflo74k1 repos~901Automated safety check: NotesMIT
OmniRoute Health CLIdiegosouzapw/OmniRoute74k1 repos~327Automated safety check: PassMIT

Similar skills

  • Runs a project's own type checker, linter, test runner, dead-code detector and shell linter, combines them into a weighted 0-10 score and tracks the trend.

    136k GitHub stars~11k tokensUpdated today
    DevelopmentAuto-check: notes
  • Health

    agenticnotetaking/arscontexta

    Run condition-based vault health diagnostics. An agent skill from agenticnotetaking/arscontexta.

    3.5k GitHub stars~7.1k tokensUpdated 7 mo ago
    Auto-check: notes
  • Health Wellness

    sickn33/agentic-awesome-skills

    Wellbeing check-in register: anonymous flag, department, check-in date, wellbeing score, stress and energy levels, support and resource flags, confidentiality and status.

    47k GitHub starsUsed in 1 repo~3.5k tokens
    Productivity & AutomationAuto-check passed
  • Cost Health

    ruvnet/ruflo

    Composite CI gate — runs cost-budget-check + cost-burn + cost-anomaly + cost-projection in parallel and surfaces a single combined health status with max exit code.

    74k GitHub starsUsed in 1 repo~901 tokens
    Auto-check: notes
  • OmniRoute Health CLI

    diegosouzapw/OmniRoute

    Checks OmniRoute server health, per-component status, and circuit breakers from the command line, with a live watch dashboard.

    74k GitHub starsUsed in 1 repo~327 tokens
    DevOps & CloudAuto-check passed
  • Sexual Health Analyzer

    sickn33/agentic-awesome-skills

    Sexual Health Analyzer

    47k GitHub starsUsed in 1 repo~244 tokens
    Productivity & AutomationAuto-check passed

More from pedrohcgs/claude-code-my-workflow

All 59 skills in this repo
  • Devils Advocate

    pedrohcgs/claude-code-my-workflow

    Adversarial 5-7 question challenge to a deck's pedagogical choices — ordering, prerequisites, cognitive load, motivation.

    1.6k GitHub starsUsed in 2 repos~641 tokens
    Auto-check passed
  • Vaccinate

    pedrohcgs/claude-code-my-workflow

    Qualify a check before it is allowed to clear anything — prove it can detect the failure it is meant to catch.

    1.6k GitHub stars~2.1k tokensUpdated 11 days ago
    Auto-check: notes
  • Compile Latex

    pedrohcgs/claude-code-my-workflow

    Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex).

    1.6k GitHub starsUsed in 1 repo~492 tokens
    Auto-check: notes
  • Disclosure Check

    pedrohcgs/claude-code-my-workflow

    Pre-screen analysis outputs (tables, figures, logs) built on restricted or confidential data for statistical-disclosure-limitation problems before any release.

    1.6k GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check: notes
  • Stata Replication

    pedrohcgs/claude-code-my-workflow

    End-to-end Stata replication pipeline — scaffolds numbered .do files in scripts/stata/, executes them via the stata-mcp MCP server, captures logs and outputs to output/, and produces…

    1.6k GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check: notes
  • Capture Environment

    pedrohcgs/claude-code-my-workflow

    Snapshot the computational environment for a replication package — detects the analysis stack (R / Stata / Python) and emits the right lockfiles (renv.lock + sessionInfo.txt, requirements.txt /…

    1.6k GitHub stars~2.8k tokensUpdated 11 days ago
    Auto-check: notes

Questions about Context Status

What does Context Status do?

Show current context status and session health. An agent skill from pedrohcgs/claude-code-my-workflow. Context Status is an agent skill from pedrohcgs/claude-code-my-workflow. Show current context status and session health.

When should I use Context Status?

Context Status fits situations like: check how much context has been used; whether auto-compact is approaching; what state will be preserved.

How do I install Context Status in Claude Code?

Run `npx skills add pedrohcgs/claude-code-my-workflow --skill context-status -a claude-code`. Or copy the skill folder (.claude/skills/context-status in pedrohcgs/claude-code-my-workflow) into .claude/skills/context-status in your project. Claude Code loads it when a task matches its description.

How do I install Context Status in Codex?

Run `npx skills add pedrohcgs/claude-code-my-workflow --skill context-status -a codex`. Or copy the skill folder (.claude/skills/context-status in pedrohcgs/claude-code-my-workflow) into .agents/skills/context-status in your project. Codex loads it when a task matches its description.

Can I use Context Status in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pedrohcgs/claude-code-my-workflow --skill context-status -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context-status, .gemini/skills/context-status, .github/skills/context-status and .opencode/skills/context-status in your project.

What does Context Status need to run?

Going by SKILL.md and its folder, Context Status needs the command-line tools its instructions call (python3). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Bash, Glob.

Does Context Status access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Context Status safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Context Status use?

Context Status is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Context Status use?

About 613 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Context Status?

Skills that share tags, products or a category with Context Status: Codebase Health Dashboard (garrytan/gstack, 136k stars), Health (agenticnotetaking/arscontexta, 3.5k stars), Health Wellness (sickn33/agentic-awesome-skills, 47k stars) and Cost Health (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context Status?

pedrohcgs (a GitHub user) maintains it in pedrohcgs/claude-code-my-workflow, which has 1,645 GitHub stars. The repository holds 59 skills in this directory. The repository was last updated on September 27, 2026.

Source: pedrohcgs/claude-code-my-workflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.