ctx-status

Show context summary. Use at session start or when unclear about current project state.

41 stars

Best use case

ctx-status is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Show context summary. Use at session start or when unclear about current project state.

Teams using ctx-status should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/ctx-status/SKILL.md --create-dirs "https://raw.githubusercontent.com/ActiveMemory/ctx/main/internal/assets/claude/skills/ctx-status/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/ctx-status/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ctx-status Compares

Feature / Agentctx-statusStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Show context summary. Use at session start or when unclear about current project state.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

Show the current context status: files, token budget, tasks,
and recent activity.

## When to Use

- At session start to orient before doing work
- When confused about what is being worked on or what context
  exists
- To check token usage and context health
- When the user asks "what's the state of the project?"

## When NOT to Use

- When you already loaded context via `/ctx-agent` in this
  session (status is a subset of what agent provides)
- Repeatedly within the same session without changes in between

## Usage Examples

```text
/ctx-status
/ctx-status --verbose
/ctx-status --json
```

## Flags

| Flag        | Short | Default | Purpose                          |
|-------------|-------|---------|----------------------------------|
| `--json`    |       | false   | Output as JSON (for scripting)   |
| `--verbose` | `-v`  | false   | Include file content previews    |

## What It Shows

The output has three sections:

### 1. Overview

- Context directory path
- Total file count
- Token estimate (sum across all `.md` files in the context directory)

### 2. Files

Each `.md` file in the context directory with:

| Indicator | Meaning                                 |
|-----------|-----------------------------------------|
| check     | File has content (loaded)               |
| circle    | File exists but is empty                |

File-specific summaries:
- `CONSTITUTION.md`: number of invariants
- `TASKS.md`: active and completed task counts
- `DECISIONS.md`: number of decisions
- `GLOSSARY.md`: number of terms
- Others: "loaded" or "empty"

With `--verbose`: adds token count, byte size, and a 3-line
content preview per file.

### 3. Recent Activity

The 3 most recently modified files with relative timestamps
(e.g., "5 minutes ago", "2 hours ago").

## Execution

```bash
ctx status
```

After running, summarize the key points for the user:
- How many active tasks remain
- Whether any context files are empty (might need populating)
- Token budget usage (is context lean or bloated?)
- What was recently modified (gives a sense of momentum)

## Interpreting Results

| Observation             | Suggestion                                                  |
|-------------------------|-------------------------------------------------------------|
| Many empty files        | Context is sparse; populate core files (TASKS, CONVENTIONS) |
| High token count (>30k) | Consider `ctx compact` or archiving completed tasks         |
| No recent activity      | Context may be stale; check if files need updating          |
| TASKS.md has 0 active   | All work done, or tasks need to be added                    |

## Quality Checklist

After running status, verify:
- [ ] Summarized the output for the user (do not just dump
      raw output without commentary)
- [ ] Flagged any empty core files that should be populated
- [ ] Noted token budget if it seems high or low

Related Skills

ctx-verify

41
from ActiveMemory/ctx

Verify before claiming completion. Use before saying work is done, tests pass, or builds succeed.

ctx-skill-creator

41
from ActiveMemory/ctx

Create, improve, test, and deploy skills. Full skill lifecycle from intent to working skill file.

ctx-sanitize-permissions

41
from ActiveMemory/ctx

Audit tool permissions for dangerous or overly broad entries. Use to ensure safe agent configuration.

ctx-recall

41
from ActiveMemory/ctx

Browse session history. Use when referencing past discussions or finding context from previous work.

ctx-prompt

41
from ActiveMemory/ctx

Apply, list, and manage saved prompt templates from .context/prompts/. Use when the user asks to apply, list, or create a reusable template like code-review or refactor.

ctx-journal-normalize

41
from ActiveMemory/ctx

Normalize journal source markdown for clean rendering. Use after journal site shows rendering issues: fence nesting, metadata formatting, broken lists.

ctx-import-plans

41
from ActiveMemory/ctx

Import plan files into project specs directory. Use to convert external plans into project-tracked specs.

ctx-compact

41
from ActiveMemory/ctx

Archive completed tasks and trim context. Use when context files are growing large.

ctx-check-links

41
from ActiveMemory/ctx

Audit docs for dead links. Use before releases, after restructuring docs, or when running a documentation audit.

ctx-add-task

41
from ActiveMemory/ctx

Add a task. Use when follow-up work is identified or when breaking down complex work into subtasks.

ctx-add-learning

41
from ActiveMemory/ctx

Record a learning. Use when discovering gotchas, bugs, or unexpected behavior that future sessions should know about.

ctx-add-decision

41
from ActiveMemory/ctx

Record architectural decision. Use when a trade-off is resolved or a non-obvious design choice is made that future sessions need to know.