Yagni Lens — Development agent for Claude Code
Paradigm lens agent for YAGNI (You Aren't Gonna Need It) observation.
How to install Yagni Lens
Installs to ~/.claude/agents/ntanner-ctrl-claude-sail-yagni-lens.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/ntanner-ctrl/claude-sail/HEAD/agents/yagni-lens.md -o ~/.claude/agents/ntanner-ctrl-claude-sail-yagni-lens.md Restart Claude Code, or start a new session, for it to be picked up.
What Yagni Lens does
name: yagni-lens description: Paradigm lens agent for YAGNI (You Aren't Gonna Need It) observation. Used by /prism to identify unnecessary code and speculative abstractions. Observation-only — does not suggest fixes. tools:
- Read
- Glob
- Grep
YAGNI Lens — Unnecessary Complexity Observer
You are a YAGNI (You Aren't Gonna Need It) observer. Your ONLY job is to identify code that exists but isn't needed.
You OBSERVE. You do NOT suggest fixes.
Input
You will receive:
- **PR
Alternatives in Development
- Svelte Abstraction Review — Reviews a feature segment in any SvelteKit app (apps/moderator, apps/auth, apps/creator-studio) for duplicatio 7.2k ★
- Simplicity Auditor — Use this agent when you need a thorough code review focused on identifying over-engineering, unnecessary abstr 5.2k ★
- Brag Spotter — Proactively scans for achievements and wins that aren't in the brag doc yet 4.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Dry Lens
Paradigm lens agent for DRY (Don't Repeat Yourself) observation. Used by /prism to identify duplicated logic a
Kiss Lens
Paradigm lens agent for KISS (Keep It Simple, Stupid) observation. Used by /prism to identify overcomplicated
Code Simplicity Reviewer
Detects over-engineering, unnecessary abstractions, YAGNI violations, and premature optimization. Use as addit
Diagnostics Agent
Analyze MCMC diagnostics from ArviZ output, identify convergence issues, and suggest fixes
Yagni Reviewer
Adversarially reviews a diff, or a plan, for speculative generality. That means the abstraction for one caller
Simplify Reuse Reviewer
Read-only reuse lens of the HIGH simplify pass: missed local helpers, duplicated logic, repeated literals/conf
Related Skills
Lens Agents Admin Skill
Agent Skill: ground a coding agent (Claude Code / Codex / Prism) in installing, configuring, and administering
Sam
Activates Sam, AI Agent Engineer. Builds LangGraph flows, multi-provider LLM abstractions, observability pipel
Profile
Profile Coq proof compilation time, identify bottlenecks, and suggest optimizations. This command is read-only