lever

A command that advances an existing lever through its workflow stages: planning, doing the work, checking it, taking follow-up action, and finishing.

In plain words
What is it for?
Use it to continue a lever identified by its number or name, run its planned work, verify the result, and finish or cancel it.
Why use it?
It removes the need to manually start each stage or track the current stage yourself. It pauses only when human input is needed or a limit is reached.

Skill for Claude CodeCodex

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

Made for: Claude Code, Codex.

Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 939 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.00034 $0.00939
Opus 5 $0.00017 $0.00469
Sonnet 5 $0.00007 $0.00188
Haiku 4.5 $0.00003 $0.00094

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

Security

Grade A, and why

lever 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 2d 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/SKILL.md · 53 lines

How it starts

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

lever

Advance the lever chain for <id-or-slug>. Auto-chains through plan → do → check → act → done; pauses only if a step needs human input or hits a budget; finishes on done. To cancel a lever, use /lever-status <id> cancel [<reason>].

State model

lever.yaml.step ∈ {plan, do, check, act, done, cancel} is the single state pointer. lever.yaml.pause ∈ {ask, blocked} is set 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. Check and act always advance, route back, or finish — they never pause.

References under references/ are loaded on demand — only the one matching step, never all four.

1. Pre-flight

  1. Resolve <id-or-slug> to .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 chat.
    • Missing → stop with a chat sentence naming the expected path. Recommend /lever-status to list, or /lever-new <title> to create.
  2. Read lever.yaml. Branch on step:

    • done or cancel (terminal) → stop with a chat sentence reporting the lever is finished/cancelled. Recommend /lever-status <id> for detail.
    • plan | do | check | act (with or without pause) → §2.

    On re-entry with pause set, the procedure for step reads the latest user message and clears pause when the question/blocker resolves.

2. Run the chain

  1. Open skills/lever/references/<step>.md and execute it end-to-end against this lever directory. The procedure reads its inputs, writes its LEVER.md section + TL;DR rewrite, updates owned lever.yaml fields, advances step (or sets pause), and bumps updated_at.
  2. After the step returns, decide whether to continue:
    • pause set → stop. Hand off via §3.
    • step ∈ {done, cancel} → stop (terminal). Hand off via §3.
    • step ∈ {plan, do, check, act} and no pause → re-read lever.yaml, loop §2.

Read the full file on GitHub · 53 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 53 lines · 34 tokens per session scan A 5833cde10b12

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

gofer-documentation

Write or update customer-facing delivery documentation and generate its PublicAPI-capped lineage diagram. Use for Markdown, requirements, architecture, decisions, plans, validation evidence, or documentation graphs in a Gofer workspace.

eai-support/eai-gofer · 46 tokens

eai

Start or continue the EAI delivery pipeline.

eai-support/eai-gofer · 12 tokens

run-agent-evolution

Run phase of an agent evolution — plan a batch of up to budget.parallel variants, dispatch sub-agents in parallel to materialize and evaluate them, learn from results, repeat until budget / wall-clock / plateau. Writes winner on a clean stop. Requires an evolution captured via /new-agent-evolution…

fmind/agent-evolutions · 81 tokens

new-agent-evolution

Capture phase of an agent evolution — discuss the objective, gates, rubric, scope, and budget; write .agents/evolutions/ - /{evolution.yaml, EVOLUTION.md} only on explicit user agreement. Pairs with /run-agent-evolution (next) and /apply-agent-evolution (later).

fmind/agent-evolutions · 74 tokens

apply-agent-evolution

Apply phase of an agent evolution — diff the winner workspace against the live repo, get explicit user confirmation, copy files in, optionally re-run gates against the live tree. Writes applied. Requires winner set by /run-agent-evolution.

fmind/agent-evolutions · 56 tokens

spec-kitty-mission-review

Review a fully merged Spec Kitty mission post-merge (all WPs done/approved) to verify spec→code fidelity, FR coverage, drift, risks, and security. Triggers: "review the merged mission", "post-merge mission review", "verify the completed mission", "audit the mission implementation", "mission-level acceptance review"…

Priivacy-ai/spec-kitty · 155 tokens