Skip to content

Instantly share code, notes, and snippets.

@EconoBen
Created January 12, 2026 08:17
Show Gist options
  • Select an option

  • Save EconoBen/25219aebb1f70382af2fc5d6fcc0b7e7 to your computer and use it in GitHub Desktop.

Select an option

Save EconoBen/25219aebb1f70382af2fc5d6fcc0b7e7 to your computer and use it in GitHub Desktop.
[workshop] category:tools tags:beads,agents,claude,cursor,ai,workflow,context - Beads + AI Agents: Session Continuity
# End of session
bd sync -m "End of session: T3 in progress, T4-T6 ready"
# Start of next session
bd ready
bd show <current-task-id>
bd dep tree <id>
# CLAUDE.md instructions (add to your project)
## Task Tracking with Beads
Before starting work:
bd ready
bd show <id>
While working:
bd update <id> --status in_progress
After completing:
bd close <id> --reason implemented
bd sync -m "Completed: <task summary>"
If you discover new work:
bd create "New task" -t task -p 2 --json
bd dep add <new-id> <parent-id> --type discovered-from
# Session handoff
bd sync -m "Session end: $(date +%Y-%m-%d)"
git add -A && git commit -m "docs: update session log"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment