van

A command that gives a project-status briefing and recommends the next strategic tasks from a shared task file.

In plain words
What is it for?
Use it to review pending work, check task dependencies, and identify the next actionable item. If the task file is missing, it recommends running the project-initialization command first.
Why use it?
It filters project notes into a focused view so you can decide what to work on next without editing the task list.

Command for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/zenobia0000/cursor-agentic-coding-template/van
Clone the repo
git clone --depth 1 https://github.com/Zenobia0000/cursor-agentic-coding-template

Made for: Cursor.

Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,083 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00017 $0.01083
Opus 5 $0.00009 $0.00541
Sonnet 5 $0.00003 $0.00217
Haiku 4.5 $0.00002 $0.00108

Measured 2d ago against content hash 415e3d06f410, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

van scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to van — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/commands/van.md · 63 lines

What it actually says

🚀 VAN MODE (v3)

冒險啟航!初始化專案,建立共享記憶庫 (memory-bank),為所有 AI 協作奠定堅實的基礎。

1. PLAN 🎯 (規劃)

Objective

檢查 memory-bank 的拓撲完整性,如果 memory-bank/current 工作區不存在或不完整,則創建修復核心的共享記憶體文件 (tasks.md, activeContext.md, projectbrief.md)。這是確保所有 AI Agent 能在同一狀態下協作的關鍵第一步。

Guiding Rules

在執行此指令時,AI Agent 必須遵循以下規則:

  • 主要規則: .cursor/rules/principles/global.mdc
  • 核心隔離: .cursor/rules/isolation_rules/main.mdc
  • 檔案操作: 嚴格遵循檔案操作的最佳實踐,避免意外覆蓋。

Prerequisites Check

VAN MODE 是所有流程的起點。

  • 無前置條件: 隨時可以執行此指令來初始化或驗證專案環境。

2. DO 実行 (執行)

Core Process

遵循一個具備安全檢查的冪等 (idempotent) 初始化流程:

Step 0: 健康檢查 (State Check)

  • 檢查 memory-bank/current 目錄: 檢測 memory-bank/current/ 目錄是否存在。
  • 檢查核心文件: 檢測 current/ 目錄下的 tasks.md, activeContext.md, projectbrief.md 是否存在。
  • 批判性思考: 這是狀態診斷。AI 的任務是找出缺失的部分,並準備修復它們。

Step 1: 記憶體互動 - 讀取與分析 (Memory Interaction - Read & Analyze)

  • 讀取文件系統: 獲取 memory-bank/current/ 目錄的當前狀態。
  • 生成執行計畫: 根據診斷結果,生成一個創建或修復檔案的計畫。

Step 2: 記憶體互動 - 確認與寫入 (Memory Interaction - Confirm & Write)

  • 向用戶確認 (Confirm): 在執行任何寫入操作之前,AI 必須向用戶清晰地報告它將要執行的操作,並請求批准。
    • 如果 current 目錄不存在:memory-bank/current 工作區不存在。我將為您創建該工作區以及所有核心文件。是否繼續?」
    • 如果文件已存在: 「警告:memory-bank/current 中的 tasks.md 文件已存在且包含內容。重新初始化將會覆蓋它,可能導致數據丟失。您確定要繼續嗎?」
  • 執行寫入 (Write): 在得到用戶肯定的答覆後,執行文件和目錄的創建/覆蓋操作。

3. CHECK ✓ (檢查)

Verification Checklist

在完成初始化後,進行最終的完整性檢查:

  • 工作區目錄存在: memory-bank/current/ 目錄是否已成功創建或確認存在?
  • 核心文件存在: current/ 下的核心文件是否都已存在?
  • 權限正常: AI Agent 是否有權限讀寫 memory-bank/current/ 目錄?

4. ACT 改善 (行動)

Finalization

  • 報告完成: 在所有文件操作完成後,向用戶報告:「專案初始化完成。共享記憶體 memory-bank/current 工作區已準備就緒。」

Next Steps

專案的基礎設施已準備就緒,下一步是定義目標並進行規劃。

  • 👉 Primary Next Step: 執行 /task-init,讓用戶提出第一個高層次目標。
  • 💡 Alternative: 如果是恢復一個現有項目,可以執行 /task-next,讓 PM 小助理分析 tasks.md 並建議下一步的工作。

VAN MODE (v3) 已啟動。正在診斷 memory-bank/current 工作區狀態,準備進行初始化...

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 63 lines · 17 tokens per session scan A 415e3d06f410

Subscribe to this mod's changes

van is a command published in the GitHub repository Zenobia0000/cursor-agentic-coding-template (5 stars, last pushed 4mo ago), licensed MIT. It adds 17 tokens to every session and 1,083 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to van, differing in 0 lines, and is treated as a copy.