Using planning-with-files with FactoryAI Droid.
FactoryAI Droid auto-discovers skills from .factory/skills/ directories. Two installation methods:
Share the skill with your entire team by adding it to your repository:
# In your project repository
git clone https://github.com/OthmanAdi/planning-with-files.git /tmp/planning-with-files
# Copy the Factory skill to your repo
cp -r /tmp/planning-with-files/.factory .
# Commit to share with team
git add .factory/
git commit -m "Add planning-with-files skill for Factory Droid"
git push
# Clean up
rm -rf /tmp/planning-with-filesNow everyone on your team using Factory Droid will have access to the skill!
Install just for yourself:
# Clone the repo
git clone https://github.com/OthmanAdi/planning-with-files.git /tmp/planning-with-files
# Copy to your personal Factory skills folder
mkdir -p ~/.factory/skills
cp -r /tmp/planning-with-files/.factory/skills/planning-with-files ~/.factory/skills/
# Clean up
rm -rf /tmp/planning-with-filesRestart your Factory Droid session, then the skill will auto-activate when you work on complex tasks.
No slash command needed - Factory Droid automatically invokes skills based on your task description!
Factory Droid scans your task and automatically activates the skill when you:
- Mention "complex task" or "multi-step project"
- Request planning or organization
- Start research tasks
- Work on projects requiring >5 steps
Increase auto-activation likelihood by using these phrases:
- "Create a task plan for..."
- "This is a multi-step project..."
- "I need planning for..."
- "Help me organize this complex task..."
I need to build a REST API with authentication,
database integration, and comprehensive testing.
This is a complex multi-step project that will
require careful planning.
Factory Droid will automatically invoke planning-with-files and create the three planning files.
Once activated, the skill creates:
| File | Purpose | Location |
|---|---|---|
task_plan.md |
Phases, progress, decisions | Your project root |
findings.md |
Research, discoveries | Your project root |
progress.md |
Session log, test results | Your project root |
The skill includes starter templates in .factory/skills/planning-with-files/templates/:
task_plan.md— Phase tracking templatefindings.md— Research storage templateprogress.md— Session logging template
Describe your task with complexity indicators:
I'm building a user authentication system.
This is a multi-phase project requiring database
setup, API endpoints, testing, and documentation.
Factory Droid invokes planning-with-files and creates the planning files.
The AI will:
- ✅ Create
task_plan.mdwith phases - ✅ Update progress as work completes
- ✅ Store research in
findings.md - ✅ Log actions in
progress.md - ✅ Re-read plans before major decisions
All important information gets written to disk, not lost in context window.
When errors occur, the AI:
- Attempt 1: Diagnose and fix
- Attempt 2: Try alternative approach
- Attempt 3: Broader rethink
- After 3 failures: Escalate to you
After every 2 search/view operations, findings are saved to findings.md.
Prevents losing visual/multimodal information.
Before major decisions, the AI re-reads planning files to refresh goals.
Prevents goal drift in long sessions.
With workspace installation (.factory/skills/):
- ✅ Everyone on team has the skill
- ✅ Consistent planning across projects
- ✅ Version controlled with your repo
- ✅ Changes sync via git
With personal installation (~/.factory/skills/):
- ✅ Use across all your projects
- ✅ Keep it even if you switch teams
- ❌ Not shared with teammates
This pattern is why Manus AI (acquired by Meta for $2 billion) succeeded:
"Markdown is my 'working memory' on disk. Since I process information iteratively and my active context has limits, Markdown files serve as scratch pads for notes, checkpoints for progress, building blocks for final deliverables." — Manus AI
Key insight: Context window = RAM (volatile). Filesystem = Disk (persistent).
Write important information to disk, not context.
- Add trigger phrases: Use "complex task", "multi-step", "planning" in your request
- Be explicit: Mention number of phases or complexity
- Restart Droid: Factory Droid rescans skills on restart
Check:
- Current directory is writable
- No file permission issues
- Droid has file system access
Templates are in:
- Workspace:
.factory/skills/planning-with-files/templates/ - Personal:
~/.factory/skills/planning-with-files/templates/
Copy them to your project root and customize.
Edit .factory/skills/planning-with-files/SKILL.md to customize:
- Change trigger phrases in description
- Adjust planning patterns
- Add team-specific rules
Place custom templates in:
.factory/skills/planning-with-files/templates/
Factory Droid will reference them automatically.
- GitHub Issues: https://github.com/OthmanAdi/planning-with-files/issues
- Factory Docs: https://docs.factory.ai/cli/configuration/skills
- Author: @OthmanAdi