Each section can be done independently if you prefer to spread it out.
Using Factory App? Most of this guide applies to both CLI and Factory App. Where the experience differs, we’ve noted the App-specific approach.
Level 1: Essential Setup
These foundational items give you the biggest immediate impact.Install the Factory IDE Plugin
The IDE plugin provides real-time context—open files, errors, selections—so Droid sees what you see.VSCode/Cursor:
- Open Extensions (
Cmd+Shift+X) - Search “Factory”
- Install and reload
droid and check for “IDE connected” in the status bar.Create your AGENTS.md
Create a basic Start minimal—you’ll expand this as you work. See the AGENTS.md guide for more examples.
AGENTS.md at your repository root:Checkpoint: You should now have IDE integration, basic project context, and your preferred model configured.
Level 2: Memory & Context
Build persistent memory so Droid remembers your preferences across sessions.Create a memories file
Create Update this file whenever you find yourself repeating instructions to Droid.
~/.factory/memories.md for personal preferences:Checkpoint: Droid now has access to your preferences and project history without you repeating them.
Level 3: Rules & Conventions
Organize your coding standards so Droid follows them consistently.Checkpoint: Your coding standards are now documented and Droid will follow them consistently.
Level 4: Skills & Automation
Add reusable skills and automation hooks.Three ways to automate:
- Skills — Droid invokes them based on task context
- Hooks — Run automatically on specific events
- Custom Slash Commands — You invoke with
/command-name
Add an auto-formatting hook
Run This automatically formats files after Droid edits them.
/hooks and add a PostToolUse hook for automatic formatting:Checkpoint: You now have reusable skills and automatic formatting/testing.
Level 5: Token Optimization
Fine-tune for cost efficiency without sacrificing quality.Enable Spec Mode for complex work
Use
Shift+Tab or /spec before starting features that touch multiple files. This prevents expensive false starts.Configure model switching
Set up a spec mode model for planning:Use Opus 4.5 for planning, then Sonnet or Codex for implementation.
Run the readiness report
Check your project’s AI-readiness:CLI:Factory App: View your readiness score in the Agent Readiness Dashboard.Address high-impact items first—linting, type checking, and fast tests dramatically reduce token waste.
Quick Reference: File Locations
| Purpose | Personal | Project |
|---|---|---|
| Skills | ~/.factory/skills/<name>/SKILL.md | .factory/skills/<name>/SKILL.md |
| Memory | ~/.factory/memories.md | .factory/memories.md |
| Rules | ~/.factory/rules/*.md | .factory/rules/*.md |
| Settings | ~/.factory/settings.json | .factory/settings.json |
| Hooks | In settings.json | In settings.json |
| Agent instructions | ~/.factory/AGENTS.md | ./AGENTS.md |
| Custom droids | ~/.factory/droids/<name>.md | .factory/droids/<name>.md |
Verification Checklist
Run through this checklist to verify your setup:- IDE plugin shows “connected” when running Droid
-
AGENTS.mdexists with build/test commands - Memories file created with your preferences
- Rules directory with at least one rules file
- At least one custom skill created
- Auto-formatting hook configured
- Readiness report shows Level 2 or higher
Next Steps
Prompt Crafting
Learn model-specific prompting techniques
Token Efficiency
Strategies for reducing token usage
Memory Management
Advanced memory and context patterns
Rules Guide
Organizing team conventions effectively
