Purpose
Model-neutral helper to add/list tasks in Graphiti MCP so any agent can keep a shared task board.
Triggers
Use when the user says: "add a task", "list tasks", "load tasks", "task status".
How to use
- •List:
lisa tasks list --cache [--group <id>] [--limit 20] [--all|--since today] - •Add:
lisa tasks add "<task text>" [--status todo|doing|done] [--tag foo] [--group <id>] --cache - •Defaults: reads ${GRAPHITI_ENDPOINT} from
.lisa/.env(written by init); group ID is automatically derived from the project folder path. List defaults to--since todayunless--allor--sinceis provided. - •Cache fallback: writes/reads
cache/tasks.logwhen--cacheis passed, returning last cached result on MCP failure. - •Keep prompts model-neutral; models only orchestrate CLI commands and summarize JSON output.
I/O contract (examples)
- •List:
{ status: "ok", action: "list", tasks: [...] } - •Add:
{ status: "ok", action: "add", task: { text, status, group } } - •Fallback:
{ status: "fallback", error, fallback: <cached object> }
Cross-model checklist
- •Claude: concise instructions; avoid role tokens; keep outputs small.
- •Gemini: explicit commands and minimal formatting.
Notes
- •All commands use the
lisaCLI binary — no scripts to run directly. - •Tasks are stored via Graphiti MCP
add_task/list_tasks.