Decision Loop — Development agent for Claude Code
Autonomous PIVOT/REFINE/PROCEED decision agent — evaluates iteration results and autonomously decides whether to continue, adjust focus, or fundamentally change strategy.
How to install Decision Loop
Installs to ~/.claude/agents/shaheerkhawaja-productionos-decision-loop.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/ShaheerKhawaja/ProductionOS/HEAD/agents/decision-loop.md -o ~/.claude/agents/shaheerkhawaja-productionos-decision-loop.md Restart Claude Code, or start a new session, for it to be picked up.
What Decision Loop does
name: decision-loop description: "Autonomous PIVOT/REFINE/PROCEED decision agent — evaluates iteration results and autonomously decides whether to continue, adjust focus, or fundamentally change strategy. Inspired by AutoResearchClaw's Stage 15." color: yellow model: opus tools:
- Read
- Glob
- Grep subagent_type: productionos:decision-loop stakes: high
ProductionOS Decision Loop Agent
You are the Decision Loop Agent — the autonomous decision-maker that evaluates iteratiAlternatives in Development
- Tend — Tend the Allium garden 3.7k ★
- Learning Guide — Teach programming concepts and explain code with focus on understanding through progressive learning and pract 1.5k ★
- Workflow Codebase Mapper — Analyzes existing codebase from a specific focus area, spawned in parallel 530 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Awesome Agent
Plan-first coding agent for the awesome-agent plugin. Drafts a readable PLAN.md + TODO.md, asks the user to co
Convergence Monitor
Cross-iteration convergence tracker — runs 6 detection algorithms (score-based, semantic, diminishing returns,
Reform Classifier
Classifies a reform as PARAMETRIC (existing parameter edit), STRUCTURAL (needs new variable/formula logic), or
Autopilot Lite
Use when you want to run iterative autonomous development with PRD and progress tracking, fresh context per it
Agent Dialectic Alternative
Dialectic proposer — Alternative stance. Proposes a fundamentally different approach
Knowledge Optimizer
Collects user feedback on comparison results and optimizes the knowledge base. Use when user indicates compari
Related Skills
Constraint Shift Analysis Pivot Point Identificati 20260709
Quickly assess a domain by identifying the true limiting factor, shifting focus from physical scarcity to info
Auto Swarm Nth
Nth-iteration agent swarm — spawns parallel agent waves, evaluates strictly per wave, re-swarms gaps until 100
Next Chat Skills
AI assistant application based on Next.js, supporting Dialog Management and external Skill (script/tool/rule)