/context-status
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.
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill context-status --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/context-status
Context preview
The summary Claude sees to decide when to auto-load this skill.
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.
SKILL.md
context-status.SKILL.mdname: 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.
author: Claude Code Academic Workflow
version: 1.0.0
allowed-tools: ["Read", "Bash", "Glob"]
/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)
Read more
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. author: Claude Code Academic Workflow version: 1.0.0 allowed-tools: ["Read", "Bash", "Glob"]
/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)
📌 文档结构(2026-07-22 起): 本文件是中文默认入口 —— banner + badges + 信任面 + 9 阶段流水线速览 + 76 行合集总表。 每个合集的完整描述、按用途分组、精确数字、验证方法在 docs/CONTENT_ZH.md(扩展正文,总表行内的 → 直接跳转到对应锚点)。 English version: README-en.md · 中文扩展正文:docs/CONTENT_ZH.md · README-zh-CN.md 已弃用(重定向占位) 🌐 语言: English |
Other skills on auto-empirical-research-skills.
- /pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest + rdrobust + econml + causalml + matplotlib/seaborn. **Defaults to economics empirical-paper style** (AER / QJE / AEJ) —
Open skill - /pipeline
Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem — dplyr + tidyr + haven + fixest + sandwich + lmtest + clubSandwich + AER + ivreg + did + bacondecomp + HonestDiD + eventstudyr + rdrobust + rddensity + Synth + gsynth + synthdid
Open skill - /pipeline
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid + did_imputation + eventstudyinteract + sdid + rdrobust + rddensity + synth + synth_runner + psmatch2 + teffects + ebalance + coefplot + esttab + asdoc +
Open skill - /00-Full-empirical-analysis-skill_StatsPAI
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics paper (AER / QJE / JPE / ReStud / AEJ) with DID / RD / IV / SCM / DML / matching, written-out estimating equation + identifying assumption, Table 1 /
Open skill - /00.1-Full-empirical-analysis-skill_Python
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest + rdrobust + econml + causalml + matplotlib/seaborn. **Defaults to economics empirical-paper style** (AER / QJE / AEJ) —
Open skill - /00.2-Full-empirical-analysis-skill_Stata
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid + did_imputation + eventstudyinteract + sdid + rdrobust + rddensity + synth + synth_runner + psmatch2 + teffects + ebalance + coefplot + esttab + asdoc +
Open skill

