cf-status

cf-status is a skill for Claude Code from QBall-Inc/clear. It costs 32 tokens per session (1,364 once invoked), scanned A, original, Apache-2.0.

A status command for CLEAR sessions that reports session state, token usage, active work, and context health. CLEAR is the project system referenced by the add-on.

In plain words
What is it for?
Use it when checking session status, token consumption, context health, or the current CLEAR work package.
Why use it?
It gives a quick view of whether the session has enough context and how much token capacity it has used.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the clear plugin — 15 skills, 3 agents, 7 hooks shipped together

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/qball-inc/clear/cf-status
Any agent
npx skills add QBall-Inc/clear --skill cf-status
Clone the repo
git clone --depth 1 https://github.com/QBall-Inc/clear

Made for: Claude Code.

Or install clear, the plugin that ships this one along with the rest of its 15 skills, 3 agents, 7 hooks.

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 cf-status

README.md
[![agentmods](https://agentmods.dev/badge/skills/qball-inc/clear/cf-status.svg)](https://agentmods.dev/skills/qball-inc/clear/cf-status)
Your own site
<a href="https://agentmods.dev/skills/qball-inc/clear/cf-status"><img src="https://agentmods.dev/badge/skills/qball-inc/clear/cf-status.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,364 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00032 $0.01364
Opus 5 $0.00016 $0.00682
Sonnet 5 $0.00006 $0.00273
Haiku 4.5 $0.00003 $0.00136

Measured 5d ago against content hash bb168545ea2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cf-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 5d 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.

skills/cf-status/SKILL.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLI Usage: When unsure about a CLI's interface or flags, run it with --help first. Do NOT attempt to discover functionality by reading plugin source code — doing so leads to incorrect execution from assumptions made without context of the holistic flow.

CLEAR Status

Reads CLEAR state files and displays a formatted summary of the current session, token usage, active workpackage, and context health. Provides token threshold warnings to guide session lifecycle decisions.


When to Use This Skill

Load this skill when the user request matches ANY of these patterns:

Trigger Pattern Example User Request
Asking for session status "Show me the current session status"
Checking token usage or consumption "How much of my token budget have I used?"
Verifying context health or loaded state "Is all the required context loaded?"
General CLEAR status inquiry "What's the CLEAR status?"

DO NOT use for:

  • Initializing CLEAR in a project (use /cf-init instead)
  • Reloading or syncing context (use /cf-reload instead)
  • Debugging hook or plugin issues (use /cf-debug instead)

Usage

/cf-status -- No arguments required. Reads state from .clear/ in the current project.


Instructions

Step 1: Pre-flight Check

Verify CLEAR is initialized by checking for .clear/config/clear-manifest.yaml.

if [ -f ".clear/config/clear-manifest.yaml" ]; then
  echo "INITIALIZED"
else
  echo "NOT_INITIALIZED"
fi

If NOT initialized, display: "CLEAR is not initialized in this project. Run /cf-init to set up CLEAR." and stop.

Step 2: Read State Files and Display Output

Read .clear/state/session.json for session data (clearSessionNumber, sessionId, startTime, tokenUsage.*). Read .clear/state/sync-state.json (optional) for active work context (workpackage.displayId, workpackage.title, plan.activePhaseDisplayId). Note: PlanSummary in sync-state has no name field by design — plan identity is carried by master-plan.yaml; the sync summary tracks active phase + progress + blockers only.

Read the full file on GitHub · 149 lines

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. 5d ago First seen · 149 lines · 32 tokens per session scan A bb168545ea2c

Subscribe to this mod's changes

cf-status is a skill published in the GitHub repository QBall-Inc/clear (3 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 32 tokens to every session and 1,364 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.