lever-status

lever-status is a skill for Claude Code, Codex from fmind/agent-levers. It costs 48 tokens per session (1,539 once invoked), scanned A, original, MIT.

A status and control tool for levers, which are tracked multi-step work processes stored in a project's local agent files.

In plain words
What is it for?
Use it to list all levers, inspect one lever's criteria and event history, or cancel a lever.
Why use it?
It lets you see where each process stands and stop one when needed without advancing it.

Skill for Claude CodeCodex

Part of the agent-levers plugin — 4 skills 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/fmind/agent-levers/lever-status
Any agent
npx skills add fmind/agent-levers --skill lever-status
Clone the repo
git clone --depth 1 https://github.com/fmind/agent-levers

Made for: Claude Code, Codex.

Or install agent-levers, the plugin that ships this one along with the rest of its 4 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmind/agent-levers/lever-status.svg)](https://agentmods.dev/skills/fmind/agent-levers/lever-status)
Your own site
<a href="https://agentmods.dev/skills/fmind/agent-levers/lever-status"><img src="https://agentmods.dev/badge/skills/fmind/agent-levers/lever-status.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,539 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 $0.00048 $0.01539
Opus 5 $0.00024 $0.00770
Sonnet 5 $0.00010 $0.00308
Haiku 4.5 $0.00005 $0.00154

Measured 4d ago against content hash 34f63f355ea3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

lever-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 4d 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/lever-status/SKILL.md · 114 lines

How it starts

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

lever-status

Three modes against .agents/levers/: list, detail, cancel. List and detail are read-only; cancel is the only write path. None of them advance the chain — that's /lever <id>'s job.

State model recap

lever.yaml.step ∈ {plan, do, check, act, done, cancel} is the single state pointer. pause ∈ {ask, blocked} appears only when halted at step waiting for the user, and only ever at step: plan or step: do. The pair (step, pause) is the full state.

1. Pre-flight

  1. Confirm .agents/levers/ exists. If missing, stop with a chat sentence pointing to /lever-init.
  2. Branch on the argument:
    • No argument → list mode (§2).
    • <id-or-slug> alone → detail mode (§3).
    • <id-or-slug> cancel [<reason>] → cancel mode (§4).

2. List mode (no argument)

  1. Read every .agents/levers/*/lever.yaml. Skip directories without one and note them under a Skipped: line in the chat reply.

  2. For each lever extract: lever_id, slug, step, pause (optional), criteria pass count, updated_at.

  3. Print as a plain-text table sorted by lever_id (no markdown table syntax — chat is monospace). State is <step> or <step> · paused: <reason>:

    ID  Slug                     State                  Pass     Updated
     1  add_password_sign_in     check                  3/4      2026-05-03 09:55
     2  fix_dropdown_ios         plan · paused: ask     0/0      2026-05-02 14:12
     3  refactor_api_routes      done                   8/8      2026-05-01 18:30
    
  4. Trim slug to 24 chars with ellipsis if longer. Trim Updated to YYYY-MM-DD HH:MM.

  5. End with a one-line summary (e.g., "3 levers · 1 done · 1 awaiting answer · 1 ready to advance.").

3. Detail mode (<id-or-slug>)

  1. Resolve <id-or-slug>.agents/levers/<id>-<slug>/:
    • Pure integer → match the leading <id>.
    • String → match a slug fragment; on multi-match pick the lowest <id> and note in the chat reply.
    • Missing → stop with a chat sentence; recommend /lever-status to list.

Read the full file on GitHub · 114 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. 4d ago First seen · 114 lines · 48 tokens per session scan A 34f63f355ea3

Subscribe to this mod's changes

lever-status is a skill published in the GitHub repository fmind/agent-levers (3 stars, last pushed 3mo ago), licensed MIT. It adds 48 tokens to every session and 1,539 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.