Stop single-pass prompting. Start iterative reverse-engineering.
The meta-cognitive framework that turns any capable AI agent into a disciplined engineer β with structured deconstruction, named tactical loops, and mandatory self-audit.
Get Started Β· How It Works Β· 7 Tactical Loops Β· Playbooks Β· Compare
Most AI agents run in single-pass mode: prompt β answer β done. IRON System replaces that with a 4-phase master cycle (EXTRACT β SYNTHESIZE β BUILD β AUDIT), 7 named tactical loops, and 6 reverse-engineering protocols β plus depth control that prevents overkill on trivial tasks.
Drop it in your agent's skill folder. It activates itself on complex tasks. It stays silent on simple ones.
Prompt ββΊ Answer ββΊ You reformulate manually ββΊ Repeat
(cognitive waste)
Modern AI agents lack:
- β Systematic extraction β competitor analysis is ad-hoc, not protocolized
- β Structured iteration β no methodical return to previous work
- β Convergence signals β improvement attempts loop forever or stop arbitrarily
- β Self-audit rigor β the agent judges its own output softer than it judges yours
- β Shared vocabulary β you can't request a specific type of iteration
IRON gives your agent a methodology, a vocabulary, and a set of guardrails:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β LEVEL 3 β INTELLIGENCE MECHANISMS β
β Loop Selector Β· Convergence Engine Β· Depth Controller β
β Conflict Resolution Β· Confidence Scoring β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β LEVEL 2 β 7 TACTICAL LOOPS β
β FORGE Β· SIEGE Β· PRISM Β· RAZOR Β· MIRROR Β· SCAFFOLD Β· ECHO β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β LEVEL 1 β MASTER CYCLE (RLE) β
β EXTRACT ββΊ SYNTHESIZE ββΊ BUILD ββΊ AUDIT β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Drop the skill files into your agent's skill directory. 30 seconds, zero config.
# Clone the repo
git clone https://github.com/william1mufassa/IRON-SYSTEM.git
# Copy into your agent's skill folder (path depends on your platform)
cp IRON-SYSTEM/SKILL.md your-agent/skills/iron-system.md
cp -r IRON-SYSTEM/references your-agent/skills/references/
cp IRON-SYSTEM/anti-patterns.md your-agent/skills/anti-patterns.md
β οΈ Important: Keep thereferences/folder name intact β SKILL.md points to it with relative paths.
That's it. Your next complex prompt triggers IRON automatically. Try one:
> Analyze https://stripe.com/pricing and design a better pricing page for a competitor.
> Audit this authentication code and fix the vulnerabilities.
> Compare React, Vue, and Svelte for a real-time dashboard app.
> Deconstruct Uber's business model and identify the moat.
Every complex task flows through 4 phases with distinct cognitive postures:
| Phase | Persona | Posture | Output |
|---|---|---|---|
| π EXTRACT | The Archaeologist | Methodical curiosity, zero judgment | Patterns, flaws, design decisions |
| βοΈ SYNTHESIZE | The Strategist | Cold prioritization | Improvement specs by severity |
| π¨ BUILD | The Architect | Disciplined construction | Justified, tested output |
| π¬ AUDIT | The Saboteur | Adversarial destruction | Confidence score, remaining flaws |
Each phase has strict transition criteria. Each persona actually changes how the agent reasons β the Saboteur hunts for flaws the Archaeologist wouldn't dare name.
Loops are invoked by BUILD or AUDIT. Each solves a distinct problem class.
| Loop | Icon | Specialty | Flow | Max Iter |
|---|---|---|---|---|
| FORGE | π¨ | Content creation | Generate β Critique β Refine β Validate | 3 |
| SIEGE | βοΈ | Robustness & security | Attack β Catalog β Defend β Verify | 2 |
| PRISM | πΊ | Multi-angle analysis | Facet β Refract β Intersect β Synthesize | 2 |
| RAZOR | βοΈ | Editing & concision | Expand β Cut β Sharpen β Verify | 2 |
| MIRROR | πͺ | Audience communication | Profile β Project β Adjust β Re-project | 2 |
| SCAFFOLD | ποΈ | Complex architecture | Skeleton β Layers β Stress test | 2 |
| ECHO | π | Pattern transfer | Distill β Abstract β Transpose β Compare | 1 |
Each loop ships with its own anti-patterns, convergence criteria, and iteration cap. See references/loops/ for details.
IRON detects the task type and routes to the right mode automatically:
| Mode | Trigger | Flow |
|---|---|---|
| A β Full RLE | Analyzing an existing system | EXTRACT β SYNTHESIZE β BUILD β AUDIT |
| B β Build Direct | Creating from scratch | BUILD (loops) β AUDIT β REFINE |
| C β Audit | Improving existing work | AUDIT β SYNTHESIZE β targeted BUILD |
| D β Extract Only | Understanding, not building | EXTRACT + PRISM (no BUILD) |
| E β Battlefield | Comparing 2+ targets | Multi-EXTRACT β Matrix β Hybrid BUILD |
| F β Coach | Learning the process | Any mode + step-by-step explanations |
Deconstruct any target β even without source code.
| Protocol | Target | Sample Signals Extracted |
|---|---|---|
| Web Target | Websites & webapps | Stack, routes, data model, API surface, monetization |
| Mobile Target | Mobile apps (no source) | Store metadata, review mining, permission β feature inference |
| Business Target | Business models & startups | Revenue model, acquisition funnel, moat, traction |
| AI System Target | Chatbots & prompts | I/O probing, system prompt inference, capability mapping |
| Open Source Target | GitHub repos | Architecture, dependencies, community health, bus factor |
| Data Model Target | Schemas & DDL | Entities, relationships, constraints, anti-patterns |
Pre-configured for the workflows people actually use:
- π‘οΈ Code Review β SIEGE β FORGE for security, performance, maintainability
- π¨ Product Design β PRISM β SCAFFOLD β MIRROR for user, business, tech
- βοΈ Copywriting β FORGE β MIRROR β RAZOR for message, audience, tightness
- ποΈ System Architecture β SCAFFOLD β SIEGE for layered design + stress testing
- βοΈ Competitive Analysis β Battlefield mode with cross-synthesis
- π― Prompt Engineering β SIEGE β FORGE β MIRROR to audit, rewrite, test
- π API Integration β PRISM β SCAFFOLD β SIEGE for reliable third-party wiring
IRON automatically calibrates to task complexity β it doesn't turn "translate hello" into a 3-phase architecture review.
| Depth | Task | Behavior |
|---|---|---|
| BYPASS | Trivial (translate, calculate) | Direct answer β skill doesn't activate |
| LIGHT | Standard (write an email) | 1 loop, 1 iteration, no canvas |
| STANDARD | Complex (review code) | 1-2 loops, 2 iterations, simplified canvas |
| DEEP | Critical (payment architecture) | Full RLE, all needed loops, detailed canvas, breakpoints |
Autopilot by default (silent work, clean output). Verbose on demand ("show me the process") β you see the canvas, scores, and delta reports.
| Capability | Chain of Thought | Tree of Thought | Reflection | IRON System |
|---|---|---|---|---|
| Iterative | β | β | Basic | Multi-level (3 cycles) |
| Structured deconstruction | β | β | β | 5 RE protocols |
| Named construction loops | β | β | β | 7 tactical loops |
| Systematic self-audit | β | β | Partial | Saboteur persona |
| Convergence signals | N/A | N/A | β | 3 stop signals |
| Adaptive depth | β | β | β | 4 levels (BYPASSβDEEP) |
| RE without source code | β | β | β | 6 target protocols |
| Multi-mode routing | β | β | β | 6 entry modes |
| Structured documentation | β | β | β | Canvas + Delta Reports |
| Conflict resolution | β | β | β | Explicit protocol |
| Pedagogical mode | β | β | β | Coach mode |
| Comparative mode | β | β | β | Battlefield mode |
CoT, ToT, and Reflection are techniques β one thing done better. IRON is a framework β it organizes how the agent thinks, not just what it thinks. It ships a router, a convergence engine, documentation formats, an external analysis toolkit, roles, and conflict management. A workshop, not a tool.
IRON-SYSTEM/
βββ SKILL.md # Core β cycle + routing + pointers
βββ anti-patterns.md # Global + per-loop anti-patterns
βββ scripts/
β βββ validate_integrity.py # 81-check integrity validator
βββ references/
β βββ loops/ # 7 loops, one file each
β βββ mechanisms/ # Convergence, conflict resolution, scoring
β βββ re-toolkit/ # 6 RE protocols
β βββ playbooks/ # 7 domain guides
β βββ templates/ # Canvas, delta reports, session export
βββ evals/
β βββ evals.json # 7 test cases
βββ CONTRIBUTING.md
βββ LICENSE
βββ README.md
Every reference link, every loop iteration limit, every playbook structure is checked by a single script:
python scripts/validate_integrity.pyRan 81 checks. 0 failure(s).
Perfect for CI. Prevents regressions when contributors add loops, protocols, or playbooks.
- v1.0 β Master cycle, 7 loops, 6 modes, 6 RE protocols, 7 playbooks
- Integrity validation script
- Additional RE protocols: Design system, Video/Audio, Legal document
- Additional playbooks: Data Science, Legal, Video Production
- Evaluation harness that automatically runs
evals.jsonagainst a model - Pattern Library persistence across sessions
- Community-contributed loops
Have an idea? Open an issue.
IRON improves through structured deconstruction β including of itself. Contributions welcome:
- New loops β Identify a recurring iteration pattern? Propose a loop
- New RE protocols β Target types not yet covered
- New playbooks β Domain-specific pre-configurations
- Before/After examples β Real deliverables demonstrating the framework
- Evaluation cases β Additional
evals.jsonentries
See CONTRIBUTING.md for guidelines.
MIT License β Use it, fork it, improve it, embed it in products. No attribution required (but appreciated).
If IRON System changed how you prompt, give it a β β it helps others find the framework.
Made for anyone who thinks single-pass prompting leaves value on the table.