You want to build with AI, but setting up the right context, prompts, and workflows takes time. AI Factory handles all of that so you can focus on what matters — shipping quality code.
See the code
Stop configuring. Start building.
You want to build with AI, but setting up the right context, prompts, and workflows takes time. AI Factory handles all of that so you can focus on what matters — shipping quality code.
One command. Full AI-powered development environment.
ai-factory init
npm install -g ai-factory
mise use -g npm:ai-factory
# In your project directory (interactive wizard)
ai-factory init
# Or non-interactive with flags
ai-factory init --agents claude,codex --mcp playwright,github
This will:
--agents flag)--skills flag)--mcp flag)Then open your AI agent and start working:
/aif
Codex CLI and Codex app use $aif style invocations after installation.
Need CLI flags, update/upgrade details, or extension commands? See Getting Started. Need slash-command reference? See Core Skills.
# Explore options and requirements before planning (optional)
/aif-explore Add user authentication with OAuth
# Need a strictly verified answer before changing anything?
/aif-grounded Does this repo already support OAuth providers?
# Plan a feature — creates branch, analyzes codebase, builds step-by-step plan
/aif-plan Add user authentication with OAuth
# Optionally refine the plan with deeper analysis
/aif-improve
# Execute the plan — implements tasks one by one, commits at checkpoints
/aif-implement
# Create a knowledge reference from docs AI doesn't know about
/aif-reference https://docs.example.com/api-reference --name example-api
# Fix a bug — AI learns from every fix and gets smarter over time
/aif-fix TypeError: Cannot read property 'name' of undefined
# Set up CI pipeline — GitHub Actions or GitLab CI with linting, SA, tests
/aif-ci github
# Generate project documentation — README + docs/ with topics
/aif-docs
See the full Development Workflow with diagram and decision table.
If you only need the aif-* skills without full AI-Factory setup, use:
npx skills add lee-to/ai-factory --skill '*'
Disclaimer: This installs only the skill files. CLI commands (
ai-factory init/update/upgrade), MCP auto-configuration, agent transformers, and the interactive wizard are not available. For the full experience, use the npm installation above.
| Guide | Description |
|---|---|
| Getting Started | What is AI Factory, supported agents, CLI commands |
| Development Workflow | Workflow diagram, when to use explore vs grounded, spec-driven approach |
| Research and System Analysis | Adaptive ultra research bundles with C4, ADR, dependency, and traceability views |
| Reflex Loop | Iterative generate → evaluate → critique → refine workflow |
| Subagents | Bundled Claude, Codex, and Google Antigravity 2.0 native subagent bundles |
| Core Skills | All slash commands — explore, grounded, plan, fix, implement, evolve, docs, and more |
| Quality Gates | Machine-readable aif-gate-result summaries for verify, review, security, and rules gates |
| Skill Evolution | How /aif-fix patches feed into /aif-evolve to generate smarter skill rules |
| Plan Files | Plan files, self-improvement patches, skill acquisition |
| Security | Two-level security scanning for external skills |
| Extensions | Writing and installing extensions — commands, injections, MCP, agents |
| Configuration | .ai-factory.json, MCP servers, project structure, best practices |
| Config Reference | Full config.yaml key reference and skill read/write matrix |
MIT
You want to build with AI, but setting up the right context, prompts, and workflows takes time. AI Factory handles all of that so you can focus on what matters — shipping quality code.
See the code
Stop configuring. Start building.
You want to build with AI, but setting up the right context, prompts, and workflows takes time. AI Factory handles all of that so you can focus on what matters — shipping quality code.
One command. Full AI-powered development environment.
ai-factory init
npm install -g ai-factory
mise use -g npm:ai-factory
# In your project directory (interactive wizard)
ai-factory init
# Or non-interactive with flags
ai-factory init --agents claude,codex --mcp playwright,github
This will:
--agents flag)--skills flag)--mcp flag)Then open your AI agent and start working:
/aif
Codex CLI and Codex app use $aif style invocations after installation.
Need CLI flags, update/upgrade details, or extension commands? See Getting Started. Need slash-command reference? See Core Skills.
# Explore options and requirements before planning (optional)
/aif-explore Add user authentication with OAuth
# Need a strictly verified answer before changing anything?
/aif-grounded Does this repo already support OAuth providers?
# Plan a feature — creates branch, analyzes codebase, builds step-by-step plan
/aif-plan Add user authentication with OAuth
# Optionally refine the plan with deeper analysis
/aif-improve
# Execute the plan — implements tasks one by one, commits at checkpoints
/aif-implement
# Create a knowledge reference from docs AI doesn't know about
/aif-reference https://docs.example.com/api-reference --name example-api
# Fix a bug — AI learns from every fix and gets smarter over time
/aif-fix TypeError: Cannot read property 'name' of undefined
# Set up CI pipeline — GitHub Actions or GitLab CI with linting, SA, tests
/aif-ci github
# Generate project documentation — README + docs/ with topics
/aif-docs
See the full Development Workflow with diagram and decision table.
If you only need the aif-* skills without full AI-Factory setup, use:
npx skills add lee-to/ai-factory --skill '*'
Disclaimer: This installs only the skill files. CLI commands (
ai-factory init/update/upgrade), MCP auto-configuration, agent transformers, and the interactive wizard are not available. For the full experience, use the npm installation above.
| Guide | Description |
|---|---|
| Getting Started | What is AI Factory, supported agents, CLI commands |
| Development Workflow | Workflow diagram, when to use explore vs grounded, spec-driven approach |
| Research and System Analysis | Adaptive ultra research bundles with C4, ADR, dependency, and traceability views |
| Reflex Loop | Iterative generate → evaluate → critique → refine workflow |
| Subagents | Bundled Claude, Codex, and Google Antigravity 2.0 native subagent bundles |
| Core Skills | All slash commands — explore, grounded, plan, fix, implement, evolve, docs, and more |
| Quality Gates | Machine-readable aif-gate-result summaries for verify, review, security, and rules gates |
| Skill Evolution | How /aif-fix patches feed into /aif-evolve to generate smarter skill rules |
| Plan Files | Plan files, self-improvement patches, skill acquisition |
| Security | Two-level security scanning for external skills |
| Extensions | Writing and installing extensions — commands, injections, MCP, agents |
| Configuration | .ai-factory.json, MCP servers, project structure, best practices |
| Config Reference | Full config.yaml key reference and skill read/write matrix |
MIT