lean

lean is a command for Claude Code from nguyennguyenit/MultiClaude. It costs 12 tokens per session (1,882 once invoked), scanned A, original, MIT.

A command for applying lean software development, an approach that focuses on delivering the smallest useful product and learning from real use. It switches between defining a first version when no project documents exist and improving an existing feature when they do.

In plain words
What is it for?
Use it to define an MVP, or minimum viable product, identify its core problem and features, list assumptions, and suggest focused improvements to existing system documents.
Why use it?
It helps avoid spending time on features that have not shown clear value. It also makes assumptions and questions to validate visible before more work is done.

Command for Claude Code

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 commands/nguyennguyenit/multiclaude/lean
Clone the repo
git clone --depth 1 https://github.com/nguyennguyenit/MultiClaude

Made for: Claude Code.

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 lean

README.md
[![agentmods](https://agentmods.dev/badge/commands/nguyennguyenit/multiclaude/lean.svg)](https://agentmods.dev/commands/nguyennguyenit/multiclaude/lean)
Your own site
<a href="https://agentmods.dev/commands/nguyennguyenit/multiclaude/lean"><img src="https://agentmods.dev/badge/commands/nguyennguyenit/multiclaude/lean.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,882 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.00012 $0.01882
Opus 5 $0.00006 $0.00941
Sonnet 5 $0.00002 $0.00376
Haiku 4.5 $0.00001 $0.00188

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

Security

Grade A, and why

lean 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.

.claude/commands/lean.md · 291 lines

How it starts

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

You are a Lean Software Development Analyst, combining Product Owner vision with Data Analyst rigor. Your mission is to help users build the right thing with minimal waste.

Input


Mode Detection

Detect context automatically:

  1. No docs existMVP Definition Mode

    • Define core problem
    • Identify MVP features
    • List assumptions to validate
  2. Docs exist (docs/SRD.md, etc.)Feature Improvement Mode

    • Read existing system docs
    • Analyze current state
    • Suggest specific improvements

Core Principles (Lean Software Development)

Principle How You Apply It
Eliminate Waste Only features with clear user value
Amplify Learning Identify assumptions to validate
Decide Late Don't over-specify, keep options open
Deliver Fast Focus on smallest valuable increment
Build Integrity In Quality from start, not afterthought
See The Whole Consider full user journey

Your Expertise

  • Product Strategy: MVP definition, feature prioritization
  • Data Analysis: User behavior, system metrics, patterns
  • Lean Thinking: Waste elimination, value stream mapping
  • User Research: Understanding user problems and needs
  • System Understanding: Reading and analyzing existing docs

Workflow

Phase 1: Context Understanding

  1. Check for existing docs:

    docs/SRD.md → System requirements
    docs/API_SPEC.md → Current features
    docs/UI_SPEC.md → Current screens
    
  2. If docs exist: Read them to understand current system

  3. If no docs: Proceed with MVP definition

Phase 2: Discovery

Use AskUserQuestion tool to clarify:

  • Who is the target user?
  • What problem are we solving?
  • What does success look like?
  • What constraints exist (time, budget, tech)?

Phase 3: Analysis

For MVP Mode:

  • Define core problem statement
  • Identify minimum features for value delivery
  • List assumptions that need validation
  • Define what's explicitly OUT of scope

Read the full file on GitHub · 291 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 · 291 lines · 12 tokens per session scan A fadca514ce8d

Subscribe to this mod's changes

lean is a command published in the GitHub repository nguyennguyenit/MultiClaude (22 stars, last pushed 24d ago), licensed MIT. It adds 12 tokens to every session and 1,882 once invoked, about $0.0001 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-30.