lfe-plan-critique

lfe-plan-critique is a skill for Claude Code, Codex from StChiotis/Library-First-Engineering. It costs 56 tokens per session (3,207 once invoked), scanned A, original, MIT.

A read-only review of an approved software plan before coding begins. It checks the plan from five viewpoints, including whether its requirements are clear, testable, and consistent.

In plain words
What is it for?
Use it after plan approval and before the Builder starts, with findings saved in the project’s planning documents.
Why use it?
It can reveal gaps and contradictions while the plan is still easy to change, before they become implementation problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

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/stchiotis/library-first-engineering/lfe-plan-critique
Any agent
npx skills add StChiotis/Library-First-Engineering --skill lfe-plan-critique
Clone the repo
git clone --depth 1 https://github.com/StChiotis/Library-First-Engineering

Made for: Claude Code, Codex.

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 lfe-plan-critique

README.md
[![agentmods](https://agentmods.dev/badge/skills/stchiotis/library-first-engineering/lfe-plan-critique.svg)](https://agentmods.dev/skills/stchiotis/library-first-engineering/lfe-plan-critique)
Your own site
<a href="https://agentmods.dev/skills/stchiotis/library-first-engineering/lfe-plan-critique"><img src="https://agentmods.dev/badge/skills/stchiotis/library-first-engineering/lfe-plan-critique.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,207 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.00056 $0.03207
Opus 5 $0.00028 $0.01604
Sonnet 5 $0.00011 $0.00641
Haiku 4.5 $0.00006 $0.00321

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

Security

Grade A, and why

lfe-plan-critique 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 6d 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.

.agents/skills/lfe-plan-critique/SKILL.md · 165 lines

How it starts

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

LFE Plan Critique — Pre-Build 5-Lens Review

Position in Pipeline

  • Phase: 1.5 (between Architect plan approval and Builder start)
  • Persona: Architect (read-only — no src/ write access)
  • Trigger: Automatically after Brain approves active_plan.md — before /lfe-builder is invoked
  • Next Step: /lfe-builder (on PASS) or /lfe-architect revision loop (on BLOCK)

Mission

Stress-test the approved plan from five angles before a single line of code is written. Catch ambiguous acceptance criteria, untestable requirements, domain boundary violations, structural impact, and cross-edit incoherence before they become bugs in src/. The five lenses are judgment calls; a mechanical pre-pass (Step 1.5) first surfaces the objective, checkable defects into Lens 2 (glob reach, line-count and existence-check antipatterns) and Lens 5 (orphan-word candidates), so the judgment lenses reason over verified facts rather than guesses.

Hard Rules

  1. Zero Code Writes: This skill operates on .plans/ and .docs/ only — src/ stays untouched.
  2. 5-Lens Sequential: Run all five lenses in order, every time — even when an earlier lens passed cleanly. Run the mechanical pre-pass (Step 1.5) first, so Lens 2 and Lens 5 reason over its findings.
  3. Single Output File: All findings aggregate into one plan_critique.md — no per-lens files.
  4. Verdict is Decisive: A single BLOCK finding stops the Builder. WARN requires an explicit, file-recorded Brain confirmation before Builder starts (see Step 7 — brain_confirmation frontmatter field).
  5. Domain Library Is Truth: All domain boundary and architectural judgments must cite a specific .docs/ file and line, not general knowledge.
  6. Revision Counter (file-based): The revision: field in plan_critique.md frontmatter is the physical substrate for the 2-revision limit (GOVERNANCE Cycle Limits). On every run, read any existing plan_critique.md first to determine the current revision number. On a 2nd BLOCK, halt and present Brain triage instead of looping back. This rule exists because the file is overwritten each run — without the counter, the limit would be conversation-only and lost on crash.

Read the full file on GitHub · 165 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. 6d ago First seen · 165 lines · 56 tokens per session scan A 2a69552c2f2f

Subscribe to this mod's changes

lfe-plan-critique is a skill published in the GitHub repository StChiotis/Library-First-Engineering (43 stars, last pushed 1mo ago), licensed MIT. It adds 56 tokens to every session and 3,207 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

playwright

Use when the task requires capturing or automating a real browser from the terminal.

openai/openai-agents-python · 19 tokens

ai-engineering-toolkit

6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.

sickn33/agentic-awesome-skills · 47 tokens

implementation-final-review

Perform the repository's risk-tiered independent final review before implementation completion. Use only when explicitly invoked or when repository instructions require it after behavior-impacting implementation work; audit the complete task diff, supported contracts, lifecycle and security boundaries, complexity, and…

openai/openai-agents-python · 58 tokens

promptfoo-provider-setup

Configure promptfoo providers or redteam targets for hosted models, live HTTP APIs, Python/JavaScript local scripts, agent SDKs, or multi-input systems. Use when connecting promptfoo to the system under test, mapping vars, auth env vars, request bodies, response transforms, or static-code-derived provider wrappers. Do…

promptfoo/promptfoo · 91 tokens

redteam-plugin-development

Standards for creating redteam plugins and graders. Use when creating new plugins, writing graders, or modifying attack templates.

promptfoo/promptfoo · 29 tokens

search-params

URL search param and hash state management. Use when adding or modifying URL search params, working with useSearchParams, setSearchParams, useSearchParamState, or navigate() with query strings or hash fragments, or fixing browser back/forward button issues.

promptfoo/promptfoo · 55 tokens