A modular, documentation-driven framework using Cursor custom modes (VAN, PLAN, CREATIVE, IMPLEMENT) to provide persistent memory and guide AI through a structured development workflow with visual process maps.
3,058
83 commits
updated May 26, 2026
A token-optimized, hierarchical task management system that uses Cursor 2.0 commands for efficient development workflows.
graph TD
Main["Memory Bank System"] --> Commands["Cursor 2.0 Commands"]
Main --> Rules["Hierarchical Rule Loading"]
Main --> Visual["Visual Process Maps"]
Main --> Token["Token Optimization"]
Main --> Memory["Memory Bank Files"]
Commands --> VAN["/van: Initialization"]
Commands --> PLAN["/plan: Task Planning"]
Commands --> CREATIVE["/creative: Design"]
Commands --> BUILD["/build: Implementation"]
Commands --> REFLECT["/reflect: Review"]
Commands --> ARCHIVE["/archive: Documentation"]
Memory --> Tasks["tasks.md"]
Memory --> Active["activeContext.md"]
Memory --> Progress["progress.md"]
Memory --> Creative["creative/"]
Memory --> Archive["archive/"]
style Main fill:#4da6ff,stroke:#0066cc,color:white
style Commands fill:#f8d486,stroke:#e8b84d,color:black
style Rules fill:#80ffaa,stroke:#4dbb5f,color:black
style Visual fill:#d9b3ff,stroke:#b366ff,color:black
style Token fill:#ff9980,stroke:#ff5533,color:black
style Memory fill:#f9d77e,stroke:#d9b95c,color:black
Personal Note: Memory Bank is my personal hobby project that I develop for my own use in coding projects. As this is a personal project, I don't maintain an issues tracker or actively collect feedback. However, if you're using these rules and encounter issues, one of the great advantages is that you can ask the Cursor AI directly to modify or update the rules to better suit your specific workflow. The system is designed to be adaptable by the AI, allowing you to customize it for your own needs without requiring external support.
Memory Bank is a structured development workflow system that uses Cursor 2.0 commands to guide you through different phases of the development process. It uses a hierarchical rule loading architecture that loads only the rules needed for each phase, optimizing token usage and providing tailored guidance.
Version 0.8 moves from cursor custom modes to cursor commands. Memory Bank operates through six specialized commands that work together as an integrated workflow:
/van - Initializes projects, detects platform, determines task complexity/plan - Creates detailed implementation plans based on complexity level/creative - Explores design options for components requiring design decisions/build - Systematically implements planned changes/reflect - Reviews completed work and documents lessons learned/archive - Creates comprehensive documentation and updates Memory BankEach command reads from and updates a shared Memory Bank directory (memory-bank/), maintaining persistent context across the entire workflow.
Version 0.7 introduced significant token optimization improvements:
See the Memory Bank Optimizations document for detailed information about all optimization approaches.
Memory Bank transforms development into a structured, phase-based process:
/van → /plan → /creative → /build → /reflect → /archive)This approach transforms development from ad-hoc coding into a coordinated system with specialized phases working together.
The /creative command is conceptually based on Anthropic's Claude "Think" tool methodology, as described in their engineering blog. Version 0.8 implements an optimized version with:
For a detailed explanation of how Memory Bank implements these principles, see the CREATIVE Mode and Claude's "Think" Tool document.
/creative command's "Think" tool methodologySimply clone this repository into your project directory:
git clone https://github.com/vanzan01/cursor-memory-bank.git
After extracting it from the ZIP file:
.cursor folder to your project directory (contains both rules and commands)custom_modes folder is kept for reference but not requiredNote: Other documents are not necessary for Memory Bank operation - they are explanatory documents. You can copy them to a folder like memory_bank_documents if desired.
Commands are ready to use immediately! No additional setup required.
Type / in the Cursor chat to see available commands:
/van - Initialization & entry point/plan - Task planning/creative - Design decisions/build - Code implementation/reflect - Task reflection/archive - Task archivingStart with /van to initialize your project:
/van Initialize project for adding user authentication feature
Follow the workflow - each command will guide you to the next step
See .cursor/commands/README.md for detailed command documentation.
Initialize with /van:
/van Add user authentication to the application
Follow the Workflow Based on Complexity:
Level 1 (Quick Bug Fix):
/van → /build → /reflect → /archive
Level 2 (Simple Enhancement):
/van → /plan → /build → /reflect → /archive
Level 3-4 (Feature/System):
/van → /plan → /creative → /build → /reflect → /archive
/van - Initialization & Entry PointPurpose: Initialize Memory Bank, detect platform, determine task complexity, route to workflows.
Usage:
/van [task description]
What it does:
memory-bank/tasks.md with initial task informationNext steps:
/build/plan/plan - Task PlanningPurpose: Create detailed implementation plans based on complexity level.
Usage:
/plan
What it does:
memory-bank/tasks.mdmemory-bank/tasks.md with complete planNext steps:
/creative/build/creative - Design DecisionsPurpose: Perform structured design exploration for flagged components.
Usage:
/creative
What it does:
memory-bank/tasks.mdmemory-bank/creative/creative-[feature_name].md documentsmemory-bank/tasks.md with design decisionsNext steps:
/build/build - Code ImplementationPurpose: Implement planned changes following the plan and creative decisions.
Usage:
/build
What it does:
memory-bank/tasks.mdmemory-bank/tasks.md and memory-bank/progress.mdNext steps:
/reflect/reflect - Task ReflectionPurpose: Facilitate structured reflection on completed implementation.
Usage:
/reflect
What it does:
memory-bank/reflection/reflection-[task_id].mdmemory-bank/tasks.md with reflection statusNext steps:
/archive/archive - Task ArchivingPurpose: Create comprehensive archive documentation and update Memory Bank.
Usage:
/archive
What it does:
memory-bank/tasks.md marking task COMPLETEmemory-bank/progress.md with archive referencememory-bank/activeContext.md for next taskmemory-bank/archive/archive-[task_id].mdNext steps:
/van (for next task)Here's a complete example workflow for a Level 3 feature:
# Step 1: Initialize
/van Add user authentication with OAuth2 support
# Step 2: Plan (VAN routes to PLAN for Level 3)
/plan
# Step 3: Explore design options for OAuth integration
/creative
# Step 4: Implement the feature
/build
# Step 5: Reflect on the implementation
/reflect
# Step 6: Archive the completed task
/archive
All Memory Bank files are stored in the memory-bank/ directory:
graph LR
subgraph "Memory Bank Directory"
Tasks["tasks.md<br>Source of Truth"]
Active["activeContext.md<br>Current Focus"]
Progress["progress.md<br>Implementation Status"]
Brief["projectbrief.md<br>Project Foundation"]
Creative["creative/<br>Design Decisions"]
Reflect["reflection/<br>Review Documents"]
Archive["archive/<br>Completed Tasks"]
end
style Tasks fill:#f9d77e,stroke:#d9b95c,stroke-width:3px,color:black
style Active fill:#a8d5ff,stroke:#88b5e0,color:black
style Progress fill:#c5e8b7,stroke:#a5c897,color:black
style Brief fill:#d9b3ff,stroke:#b366ff,color:black
style Creative fill:#f4b8c4,stroke:#d498a4,color:black
style Reflect fill:#b3e6cc,stroke:#66c999,color:black
style Archive fill:#ffd9b3,stroke:#ffb366,color:black
tasks.md: Central source of truth for task tracking, checklists, and component listsactiveContext.md: Maintains focus of current development phaseprogress.md: Tracks implementation status and observationsprojectbrief.md: Project foundation and contextproductContext.md: Product-specific context and requirementssystemPatterns.md: System patterns and architectural decisionstechContext.md: Technical context and technology stackcreative/creative-[feature_name].md: Design decision documents (Level 3-4)reflection/reflection-[task_id].md: Reflection documentsarchive/archive-[task_id].md: Archive documents for completed tasksEach command implements progressive rule loading to optimize context usage:
Core Rules - Always loaded first
main.mdc - System foundationmemory-bank-paths.mdc - File path definitionsCommand-Specific Rules - Loaded based on command
van-mode-map.mdc)Complexity-Specific Rules - Loaded based on task complexity
workflow-level1.mdcworkflow-level2.mdc, task-tracking-basic.mdcworkflow-level3.mdc, planning-comprehensive.mdcworkflow-level4.mdc, architectural-planning.mdcSpecialized Rules - Lazy loaded only when needed
This approach reduces initial token usage by ~70% compared to loading all rules at once.
Memory Bank adapts its workflow based on task complexity:
/van → /build → /reflect → /archive/van → /plan → /build → /reflect → /archive/van → /plan → /creative → /build → /reflect → /archive/van → /plan → /creative → /build → /reflect → /archive.cursor/commands/ directory exists in project rootmemory-bank/ directory existsmemory-bank/tasks.md for current task state.cursor/rules/isolation_rules/ directory exists.cursor/rules/isolation_rules//van to initialize Memory Bank structurememory-bank/tasks.md for task statusNote: Custom modes are deprecated in favor of Cursor 2.0 commands. If you're using Cursor 2.0+, please use commands instead. Custom modes setup instructions are available in the
custom_modes/directory for reference only.
If you're using an older version of Cursor that doesn't support commands, see the Commands Migration Guide for information about the legacy custom modes setup.
This is version v0.8 of the Memory Bank system. It introduces significant token optimization improvements over v0.7-beta while maintaining all functionality. See the Release Notes for detailed information about the changes.
The Memory Bank system is actively being developed and improved. Key points to understand:
As mentioned in the personal note above, Memory Bank is a personal project. However, if you find it useful and want to adapt it for your own needs, you can:
Note: This README is for v0.8 and subject to change as the system evolves.
392 followers · starred Jun 2025
1,244 followers · starred Dec 2025
251 followers · starred Jun 2025
163 followers · starred Apr 2025
A modular, documentation-driven framework using Cursor custom modes (VAN, PLAN, CREATIVE, IMPLEMENT) to provide persistent memory and guide AI through a structured development workflow with visual process maps.
3,058
83 commits
updated May 26, 2026
A token-optimized, hierarchical task management system that uses Cursor 2.0 commands for efficient development workflows.
graph TD
Main["Memory Bank System"] --> Commands["Cursor 2.0 Commands"]
Main --> Rules["Hierarchical Rule Loading"]
Main --> Visual["Visual Process Maps"]
Main --> Token["Token Optimization"]
Main --> Memory["Memory Bank Files"]
Commands --> VAN["/van: Initialization"]
Commands --> PLAN["/plan: Task Planning"]
Commands --> CREATIVE["/creative: Design"]
Commands --> BUILD["/build: Implementation"]
Commands --> REFLECT["/reflect: Review"]
Commands --> ARCHIVE["/archive: Documentation"]
Memory --> Tasks["tasks.md"]
Memory --> Active["activeContext.md"]
Memory --> Progress["progress.md"]
Memory --> Creative["creative/"]
Memory --> Archive["archive/"]
style Main fill:#4da6ff,stroke:#0066cc,color:white
style Commands fill:#f8d486,stroke:#e8b84d,color:black
style Rules fill:#80ffaa,stroke:#4dbb5f,color:black
style Visual fill:#d9b3ff,stroke:#b366ff,color:black
style Token fill:#ff9980,stroke:#ff5533,color:black
style Memory fill:#f9d77e,stroke:#d9b95c,color:black
Personal Note: Memory Bank is my personal hobby project that I develop for my own use in coding projects. As this is a personal project, I don't maintain an issues tracker or actively collect feedback. However, if you're using these rules and encounter issues, one of the great advantages is that you can ask the Cursor AI directly to modify or update the rules to better suit your specific workflow. The system is designed to be adaptable by the AI, allowing you to customize it for your own needs without requiring external support.
Memory Bank is a structured development workflow system that uses Cursor 2.0 commands to guide you through different phases of the development process. It uses a hierarchical rule loading architecture that loads only the rules needed for each phase, optimizing token usage and providing tailored guidance.
Version 0.8 moves from cursor custom modes to cursor commands. Memory Bank operates through six specialized commands that work together as an integrated workflow:
/van - Initializes projects, detects platform, determines task complexity/plan - Creates detailed implementation plans based on complexity level/creative - Explores design options for components requiring design decisions/build - Systematically implements planned changes/reflect - Reviews completed work and documents lessons learned/archive - Creates comprehensive documentation and updates Memory BankEach command reads from and updates a shared Memory Bank directory (memory-bank/), maintaining persistent context across the entire workflow.
Version 0.7 introduced significant token optimization improvements:
See the Memory Bank Optimizations document for detailed information about all optimization approaches.
Memory Bank transforms development into a structured, phase-based process:
/van → /plan → /creative → /build → /reflect → /archive)This approach transforms development from ad-hoc coding into a coordinated system with specialized phases working together.
The /creative command is conceptually based on Anthropic's Claude "Think" tool methodology, as described in their engineering blog. Version 0.8 implements an optimized version with:
For a detailed explanation of how Memory Bank implements these principles, see the CREATIVE Mode and Claude's "Think" Tool document.
/creative command's "Think" tool methodologySimply clone this repository into your project directory:
git clone https://github.com/vanzan01/cursor-memory-bank.git
After extracting it from the ZIP file:
.cursor folder to your project directory (contains both rules and commands)custom_modes folder is kept for reference but not requiredNote: Other documents are not necessary for Memory Bank operation - they are explanatory documents. You can copy them to a folder like memory_bank_documents if desired.
Commands are ready to use immediately! No additional setup required.
Type / in the Cursor chat to see available commands:
/van - Initialization & entry point/plan - Task planning/creative - Design decisions/build - Code implementation/reflect - Task reflection/archive - Task archivingStart with /van to initialize your project:
/van Initialize project for adding user authentication feature
Follow the workflow - each command will guide you to the next step
See .cursor/commands/README.md for detailed command documentation.
Initialize with /van:
/van Add user authentication to the application
Follow the Workflow Based on Complexity:
Level 1 (Quick Bug Fix):
/van → /build → /reflect → /archive
Level 2 (Simple Enhancement):
/van → /plan → /build → /reflect → /archive
Level 3-4 (Feature/System):
/van → /plan → /creative → /build → /reflect → /archive
/van - Initialization & Entry PointPurpose: Initialize Memory Bank, detect platform, determine task complexity, route to workflows.
Usage:
/van [task description]
What it does:
memory-bank/tasks.md with initial task informationNext steps:
/build/plan/plan - Task PlanningPurpose: Create detailed implementation plans based on complexity level.
Usage:
/plan
What it does:
memory-bank/tasks.mdmemory-bank/tasks.md with complete planNext steps:
/creative/build/creative - Design DecisionsPurpose: Perform structured design exploration for flagged components.
Usage:
/creative
What it does:
memory-bank/tasks.mdmemory-bank/creative/creative-[feature_name].md documentsmemory-bank/tasks.md with design decisionsNext steps:
/build/build - Code ImplementationPurpose: Implement planned changes following the plan and creative decisions.
Usage:
/build
What it does:
memory-bank/tasks.mdmemory-bank/tasks.md and memory-bank/progress.mdNext steps:
/reflect/reflect - Task ReflectionPurpose: Facilitate structured reflection on completed implementation.
Usage:
/reflect
What it does:
memory-bank/reflection/reflection-[task_id].mdmemory-bank/tasks.md with reflection statusNext steps:
/archive/archive - Task ArchivingPurpose: Create comprehensive archive documentation and update Memory Bank.
Usage:
/archive
What it does:
memory-bank/tasks.md marking task COMPLETEmemory-bank/progress.md with archive referencememory-bank/activeContext.md for next taskmemory-bank/archive/archive-[task_id].mdNext steps:
/van (for next task)Here's a complete example workflow for a Level 3 feature:
# Step 1: Initialize
/van Add user authentication with OAuth2 support
# Step 2: Plan (VAN routes to PLAN for Level 3)
/plan
# Step 3: Explore design options for OAuth integration
/creative
# Step 4: Implement the feature
/build
# Step 5: Reflect on the implementation
/reflect
# Step 6: Archive the completed task
/archive
All Memory Bank files are stored in the memory-bank/ directory:
graph LR
subgraph "Memory Bank Directory"
Tasks["tasks.md<br>Source of Truth"]
Active["activeContext.md<br>Current Focus"]
Progress["progress.md<br>Implementation Status"]
Brief["projectbrief.md<br>Project Foundation"]
Creative["creative/<br>Design Decisions"]
Reflect["reflection/<br>Review Documents"]
Archive["archive/<br>Completed Tasks"]
end
style Tasks fill:#f9d77e,stroke:#d9b95c,stroke-width:3px,color:black
style Active fill:#a8d5ff,stroke:#88b5e0,color:black
style Progress fill:#c5e8b7,stroke:#a5c897,color:black
style Brief fill:#d9b3ff,stroke:#b366ff,color:black
style Creative fill:#f4b8c4,stroke:#d498a4,color:black
style Reflect fill:#b3e6cc,stroke:#66c999,color:black
style Archive fill:#ffd9b3,stroke:#ffb366,color:black
tasks.md: Central source of truth for task tracking, checklists, and component listsactiveContext.md: Maintains focus of current development phaseprogress.md: Tracks implementation status and observationsprojectbrief.md: Project foundation and contextproductContext.md: Product-specific context and requirementssystemPatterns.md: System patterns and architectural decisionstechContext.md: Technical context and technology stackcreative/creative-[feature_name].md: Design decision documents (Level 3-4)reflection/reflection-[task_id].md: Reflection documentsarchive/archive-[task_id].md: Archive documents for completed tasksEach command implements progressive rule loading to optimize context usage:
Core Rules - Always loaded first
main.mdc - System foundationmemory-bank-paths.mdc - File path definitionsCommand-Specific Rules - Loaded based on command
van-mode-map.mdc)Complexity-Specific Rules - Loaded based on task complexity
workflow-level1.mdcworkflow-level2.mdc, task-tracking-basic.mdcworkflow-level3.mdc, planning-comprehensive.mdcworkflow-level4.mdc, architectural-planning.mdcSpecialized Rules - Lazy loaded only when needed
This approach reduces initial token usage by ~70% compared to loading all rules at once.
Memory Bank adapts its workflow based on task complexity:
/van → /build → /reflect → /archive/van → /plan → /build → /reflect → /archive/van → /plan → /creative → /build → /reflect → /archive/van → /plan → /creative → /build → /reflect → /archive.cursor/commands/ directory exists in project rootmemory-bank/ directory existsmemory-bank/tasks.md for current task state.cursor/rules/isolation_rules/ directory exists.cursor/rules/isolation_rules//van to initialize Memory Bank structurememory-bank/tasks.md for task statusNote: Custom modes are deprecated in favor of Cursor 2.0 commands. If you're using Cursor 2.0+, please use commands instead. Custom modes setup instructions are available in the
custom_modes/directory for reference only.
If you're using an older version of Cursor that doesn't support commands, see the Commands Migration Guide for information about the legacy custom modes setup.
This is version v0.8 of the Memory Bank system. It introduces significant token optimization improvements over v0.7-beta while maintaining all functionality. See the Release Notes for detailed information about the changes.
The Memory Bank system is actively being developed and improved. Key points to understand:
As mentioned in the personal note above, Memory Bank is a personal project. However, if you find it useful and want to adapt it for your own needs, you can:
Note: This README is for v0.8 and subject to change as the system evolves.
392 followers · starred Jun 2025
1,244 followers · starred Dec 2025
251 followers · starred Jun 2025
163 followers · starred Apr 2025