---
name: ctxbaton
description: >
  Loads persistent project context at session start. Tracks todos, decisions,
  handoffs, and git state automatically. Use this to resume work across agents
  and sessions without losing context.
argument-hint: "[query]"
allowed-tools: Bash(ctxbaton *)
---

## Project context
!`ctxbaton resume`

## Instructions

You now have full project context loaded above. Use it to resume work immediately.

When starting work on a task:
`ctxbaton todo start <id>`

When finishing a task:
`ctxbaton todo done <id>`

When making an architecture or design decision:
`ctxbaton memory save --type decision "<what was decided and why>"`

When adding a new todo:
`ctxbaton memory save --type todo "<task>"`

When ending a session or switching agents:
`ctxbaton handoff "<what you did, what's next, any blockers>"`

To search past decisions and context:
`ctxbaton search "<query>"`
