/bugbook:catchupfrom bugbook
Start-of-session orientation and review. Gets you up to speed on the project — reviews /go run results if there are any, shows what's in flight, what's blocked, and what happened since you last looked. Surfaces overnight discoveries from the knowledge loop. Writes a visual Session Brief page to Bugbook so you can review in the app. Use when the user says "catchup", "catch up", "what happened", "where are we", "what's the status", "bring me up to speed", "what did I miss", "morning review", "show me what you did", "what happened overnight", or starts a new session and wants to get oriented. Works with or without a prior /go run — it's the universal "start of session" skill.
Ships in bugbook. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Start-of-session orientation. Bring the user up to speed by writing a Session Brief page in Bugbook. The user reads the brief in the app — visual, structured, with embedded database views they can click into.
The terminal gets a short summary. Bugbook gets the real content.
Before querying tickets, detect the current project from the working directory:
/Code/bugbook → add --filter "Project!=Canopy" to all ticket queries/Code/canopy-menu or /canopy → add --filter "Project=Canopy" to all ticket queriesApply this to every bugbook query command below.
Every /catchup creates or updates a page called "Session Brief" in the Bugbook workspace. Use section-level updates so each run refreshes the content without losing structure.
# Create the page if it doesn't exist, or update if it does
bugbook page create "Session Brief" --title "Session Brief" --content-file - <<< ""
# (If it already exists, this is a no-op — just proceed to section updates)
The page has these sections, each updated independently:
<!-- icon:sf:sunrise -->
# Session Brief
## Local Changes
<uncommitted files, staged changes, stashes>
## Overnight Results
<only if /go ran — summary + link to worktree branches>
## Discoveries
<knowledge loop — what agents learned overnight>
## Project Snapshot
<ticket counts by status, recent commits, active projects>
## Tickets in Review
<embedded database view — Agent Tickets filtered to Review>
## What Needs Attention
<stale tickets, blockers, thin backlog>
## Suggested Next Steps
<what to focus on — links to /flow, /ticket, /go>
Collect everything in parallel before writing:
git status --short
git diff --stat
git stash list
cat .go/progress.md 2>/dev/null
git worktree list
If /go ran, review git diffs for each completed ticket branch against main. Look for:
# For each worktree branch:
git diff --stat main...<branch-name>
# Compare against the ticket's Files field — flag mismatches
bugbook query "Agent Tickets" --filter "Status=Review"
bugbook query "Agent Tickets" --filter "Status=In Progress"
bugbook query "Agent Tickets" --filter "Status=To Do"
bugbook query "Agent Tickets" --filter "Status=Done"
git log --oneline -10
bugbook query "Agent Projects" --filter "Status=Active"
# Check each active project's context page for recent discoveries
# Read the Discoveries section of each project context page
For each active project, read its Bugbook context page and look for discoveries dated since the last session:
bugbook context "<ProjectPage>" --depth 2
Extract any entries in the Discoveries section that are new since the last /catchup run. These are things agents learned during overnight execution that the user hasn't seen yet.
Build the page content and write it to Bugbook. Use --section with --create-section to update each section independently.
cat <<'CONTENT' | bugbook page update "Session Brief" --section "Local Changes" --create-section --content-file -
<based on git status output>
If uncommitted changes exist:
**3 files modified** (uncommitted):
- `Sources/Bugbook/Views/Editor/BlockTextView.swift` (+42, -8)
- `Sources/Bugbook/Lib/AttributedStringConverter.swift` (+31, -2)
- `Sources/Bugbook/Views/Editor/FlashcardReviewView.swift` (+18, -3)
Looks like flashcard arrow + reverse card work from last session.
If clean:
Working tree is clean. No uncommitted changes.
CONTENT
cat <<'CONTENT' | bugbook page update "Session Brief" --section "Overnight Results" --create-section --content-file -
/go completed — **9/12 tickets done**, 2 blocked, 1 skipped.
Each completed ticket is on its own worktree branch:
| Ticket | Branch | Risk | Status |
|--------|--------|------|--------|
| Fix loading spinner | `worktree/fix-spinner` | Low | Ready for review |
| Inline flashcard polish | `worktree/flashcard-polish` | Medium | Ready for review |
| Heading toggles | `worktree/heading-toggles` | High (full review) | Ready for review |
| ... | ... | ... | ... |
**Blocked:**
- Google Calendar sync — needs OAuth2 credentials
- Sidebar drag — layout regression after 3 attempts
Review each ticket below, or walk through them in the terminal with accept/iterate/reject.
CONTENT
If no /go ran, write:
No /go run to review. Starting fresh.
This is what agents learned overnight. Surface it prominently — these insights affect today's work.
cat <<'CONTENT' | bugbook page update "Session Brief" --section "Discoveries" --create-section --content-file -
**3 discoveries** from overnight execution:
- **Heading toggles:** onDrop delegate fires twice on macOS 15 — guard needed in all drag handlers. *Implication: any ticket touching drag behavior needs this guard.*
- **Calendar sync:** NSCalendar API requires explicit permission prompt on first access. *Implication: need to add permission request flow before Calendar features work.*
- **Flashcard polish:** existing animation springs use 0.35s response — new animations should match. *Implication: use 0.35s as the standard spring response time across the app.*
These have been written to each project's context page in Bugbook. Future agents will see them automatically.
CONTENT
If no discoveries, write:
No new discoveries from overnight execution.
If no /go ran:
No overnight run — no new discoveries. Check project context pages for historical discoveries.
cat <<'CONTENT' | bugbook page update "Session Brief" --section "Project Snapshot" --create-section --content-file -
| Status | Count |
|--------|-------|
| Done (this week) | 8 |
| In Review | 6 |
| In Progress | 1 |
| To Do | 2 |
| Blocked | 1 |
**Active projects:** UI Polish, Integrations, Editor
**Last commit:** `<short hash>` — "<message>" (<time ago>)
**Momentum:** Editor work moving fast (8 tickets this week). Integrations stalled (Calendar blocked 3 days).
CONTENT
This is the most important section — it's the user's review checklist. They need to know what to test, how to test it, and whether the code is already on dev or still on branches.
First, check if branches have been merged to dev (Phase 4.5 of /go does this):
git worktree list | grep "\.claude/worktrees" | wc -l
git log --oneline -20 # look for merge commits from worktree branches
Then query each Review ticket with --body to extract the smoke test steps from Agent Notes.
Write the section as an actionable numbered checklist with inline smoke tests:
cat <<'CONTENT' | bugbook page update "Session Brief" --section "Tickets in Review" --create-section --content-file -
**8 tickets** ready for smoke testing.
**Status:** All branches merged to dev (or: "Branches NOT merged — run /catchup merge to consolidate")
**To test:** `git checkout dev` → Open Xcode → `macos/Bugbook.xcodeproj` → Cmd+R to build and run.
Then work through this checklist:
### 1. [High] Fix resize line stuck after column resize
**Test:** Open a database table → resize a column by dragging the border → release → the accent line should disappear immediately. Try multiple resizes.
### 2. [High] Multi-node canvas drag
**Test:** Open a canvas → shift-click 3 shapes to select them → drag one → all 3 should move together maintaining relative positions. Single drag should still work normally.
### 3. [Medium] Kanban sub-grouping
**Test:** Open Agent Tickets in Kanban → look for "Sub-group by" dropdown next to "Group by" → select Project → cards should cluster under collapsible project headers with count badges → collapse/expand → drag between sub-groups.
...etc for each ticket, pulling smoke test steps from the ticket body's Agent Notes.
Mark each ticket Done in Bugbook after testing, or write feedback and set back to To Do.
CONTENT
If branches are NOT on the dev branch yet, offer to consolidate:
Branches aren't consolidated yet — you need them on the `dev` branch to test from Xcode.
Want me to merge all Review branches to `dev` so you can build and test?
If the user says yes, merge worktree branches into dev:
git checkout dev
git merge main --no-edit # pick up any new main commits
for branch in $(git worktree list | grep "\.claude/worktrees" | awk '{print $3}' | tr -d '[]'); do
git merge "$branch" --no-edit
done
swift build 2>&1 | tail -5
swift test 2>&1 | tail -20
git checkout main
Embed the Agent Tickets database so the user can also browse in Bugbook:
bugbook page embed-database "Session Brief" "Agent Tickets"
Note: Only embed once — if the database is already embedded, skip this step.
Check for and flag these issues:
# Check for tickets incorrectly set to Done
bugbook query "Agent Tickets" --filter "Status=Done"
# Cross-reference with user's last accepted set — flag any new Done tickets
# Check for stale worktrees
git worktree list | grep "\.claude/worktrees"
# Flag worktrees whose tickets are already Done or rejected
cat <<'CONTENT' | bugbook page update "Session Brief" --section "What Needs Attention" --create-section --content-file -
- **6 tickets in Review** — need acceptance or feedback
- **Google Calendar** has been blocked for 3 days — unblock or deprioritize?
- **To Do queue is thin** (2 tickets) — might need to plan next work
- **1 stale In Progress ticket** — flashcard block, leftover from 2 sessions ago
- **Discovery action needed** — onDrop double-fire guard should be applied to all drag handlers (see Discoveries above)
- **Stale worktrees:** <list any that need cleanup>
- **Unauthorized Done tickets:** <list any moved to Done without approval>
- **Scope drift:** <list any tickets where diffs touched files outside the ticket's Files field>
CONTENT
cat <<'CONTENT' | bugbook page update "Session Brief" --section "Suggested Next Steps" --create-section --content-file -
Based on current state:
- **Review overnight work** — 6 tickets in Review need acceptance or feedback
- **Act on discoveries** — check if onDrop guard needs to be applied to other views
- **Start /flow** — pick up iteration tickets or work on new features
- **Create tickets with /ticket** — backlog is thin, add work for the next /go run
- **Run /go tonight** — once tickets are queued and specs are solid
CONTENT
After writing the page, print a brief summary to the terminal. This should be actionable — tell the user exactly what to do next:
Session Brief updated in Bugbook.
Quick status:
Overnight: 8/10 tickets done, 2 skipped
Discoveries: 3 new (written to project context pages)
Review queue: 8 tickets ready to smoke test
Merged to dev: ✓ (all branches consolidated)
To Do: 3 tickets remaining
To test: git checkout dev → Open Xcode → Cmd+R
Smoke test checklist is in the Session Brief page in Bugbook.
Walk through reviews here, or test from Xcode and mark tickets Done in Bugbook?
If branches are NOT on the dev branch yet:
Worktree branches aren't consolidated yet.
Want me to merge them to the `dev` branch so you can build from Xcode?
git checkout dev → open Xcode → Cmd+R
If the user says yes, merge into dev, run tests, and verify the build.
After the user finishes testing and accepts:
To land accepted work on main:
git checkout main && git merge dev
If the user wants to review branches in the terminal (rather than just in Bugbook), walk through each one:
1. Show context:
[1/9] Fix loading spinner
Priority: High | Risk: Low | Branch: worktree/fix-spinner
2. Show the diff:
git diff --stat main...<branch-name>
3. Show the smoke test from the ticket body.
4. Wait for decision:
Accept — Merge to dev, clean up worktree, set Done
git checkout dev && git merge <branch-name> --no-edit && git checkout main
git worktree remove <worktree-path>
bugbook update "Agent Tickets" <row_id> --set "Status=Done"
Iterate — Keep branch, formalize feedback as structured failure context
bugbook get "Agent Tickets" <row_id> --body | jq -r '.body // ""' > /tmp/ticket_body.md
cat >> /tmp/ticket_body.md << EOF
### Iteration Context
**Attempt:** N
**What was tried:** <extracted from Agent Notes>
**Why it failed:** <user's feedback>
**Constraints for next attempt:** <specific, actionable>
EOF
cat /tmp/ticket_body.md | bugbook update "Agent Tickets" <row_id> --body-file -
bugbook update "Agent Tickets" <row_id> --set "Status=To Do"
Reject — Discard branch, set ticket back to To Do
git worktree remove --force <worktree-path>
git branch -D <branch-name>
bugbook update "Agent Tickets" <row_id> --set "Status=To Do"
After each decision, update the Session Brief's "Overnight Results" section with the outcome.
5. Next ticket. Repeat until done.
After merging accepted tickets to dev:
git checkout dev
swift build 2>&1 | tail -20
git checkout main
At the end of the catchup session, scan the conversation for any decisions, corrections, or new context that should be persisted:
This ensures that what the user communicated during review is available to the next agent session, not trapped in this conversation's context.
bugbook page update "<ProjectPage>" --section "Discoveries" --create-section --content-file - << EOF
**$(date "+%Y-%m-%d") — catchup review:** <what was learned during review>
EOF
During terminal walkthrough:
All bugbook commands need the workspace flag for the canonical iCloud workspace, Bugbook:
WS="$HOME/Library/Mobile Documents/iCloud~com~bugbook~app/Documents/Bugbook"
bugbook --workspace "$WS" <command>
# Bugbook pages
bugbook page create "Session Brief" --content-file -
bugbook page update "Session Brief" --section "<heading>" --create-section --content-file -
bugbook page get "Session Brief" --raw
bugbook page embed-database "Session Brief" "Agent Tickets"
bugbook context "<page>" --depth 2
# Git
git status --short
git diff --stat
git worktree list
git log --oneline -10
# Ticket operations
bugbook query "Agent Tickets" --filter "Status=Review"
bugbook update "Agent Tickets" <row_id> --set "Status=Done"
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub max4c/bugbook --plugin bugbook10 skills in this plugin
/bbAccess your bugbook workspace — local-first notes, databases, and personal context. Use when the user wants to see their notes, tickets, databases, or personal knowledge./compileCompile a Bugbook workspace into an agent-navigable wiki. Reads all pages, groups them by topic, generates a root Index.md that serves as the agent's entry point, and optionally creates summary articles for each category. Reusable — run once after a bulk import, then periodically as the workspace grows. Use when the user says "compile", "build my wiki", "generate index", "organize my notes", "compile my workspace", or after running /import-obsidian./dispatchSmart parallel ticket dispatcher — analyzes file overlap across tickets, builds a dependency graph, groups tickets into conflict-free parallel lanes, and executes each lane in its own git worktree. The analysis and routing layer on top of /go. Use when the user says "dispatch tickets", "smart parallel", "parallelize these tickets", "run tickets without conflicts", "dispatch", "parallel dispatch", "multi-lane", or wants to execute multiple tickets simultaneously without merge conflicts./flowStructured agent workflow that takes a Granola transcript or written description, creates tracked projects and tickets in Bugbook, executes them sequentially with status updates, and loops on human review until clean. Use this skill whenever the user wants to start a development workflow, process a meeting transcript into tasks, break work into tickets, or says "flow", "start a flow", "process this transcript", "break this into tickets", "here's what we discussed", or pastes meeting notes. Also use when the user pastes a Granola transcript, describes a batch of work to be done, or wants to turn a planning conversation into tracked action items./goAutonomous long-running execution — works through open tickets while the user is away. Claude orchestrates, writes evals, manages queue/status, and verifies every change. Codex CLI is the default implementation worker; Claude worktree agents are the fallback for complex multi-file work. Runs sequentially by default, with safe two-ticket parallelism only when tickets touch completely different files. Use when the user says "go", "let's go", "night", "goodnight", "do everything", "work on this while I sleep", "run overnight", "keep working", "don't stop", or signals they want autonomous unattended execution./import-obsidianOne-shot migration from an Obsidian vault into the canonical Bugbook workspace. Preserves folder hierarchy, wikilinks, and images, transforming Obsidian-specific syntax into Bugbook equivalents. Use when the user says "import obsidian", "migrate my vault", "import my notes from obsidian", or pastes an Obsidian vault path. Runs phases: pre-flight → inventory → transform plan (approval gate) → write → verify → report.